Update journal entry
documentedUpdate a journal entry.
POST /v3/company/{realmId}/journalentry?operation=updateJournalEntriesno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://quickbooks.api.intuit.com/v3/company/{{$realmId}}/journalentry?operation=update&minorversion={{minorversion}}" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"Id": "{{$journalEntryId}}", "SyncToken": "{{$syncToken}}", "TxnDate": "{{$txnDate}}", "Line": [{"Id": "{{$lineDebitId}}", "DetailType": "JournalEntryLineDetail", "JournalEntryLineDetail": {"PostingType": "Debit", "AccountRef": {"value": "{{$debitAccountId}}", "name": "{{$debitAccountName}}" }}, "Amount": {{$debitAmount}}}, {"Id": "{{$lineCreditId}}", "DetailType": "JournalEntryLineDetail", "JournalEntryLineDetail": {"PostingType": "Credit", "AccountRef": {"value": "{{$creditAccountId}}", "name": "{{$creditAccountName}}" }}, "Amount": {{$creditAmount}}}], "TxnTaxDetail": {}}'