Create journal entry
documentedCreate a journal entry.
POST /v3/company/{realmId}/journalentryJournal Entriesno 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?minorversion={{MINORVERSION}}" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{ "Line": [ { "Id": "0", "Description": "{{$line0_description}}", "Amount": {{$amount}}, "DetailType": "JournalEntryLineDetail", "JournalEntryLineDetail": { "PostingType": "Debit", "AccountRef": { "value": "{{$debit_account_id}}", "name": "{{$debit_account_name}}" } } }, { "Id": "1", "Description": "{{$line1_description}}", "Amount": {{$amount}}, "DetailType": "JournalEntryLineDetail", "JournalEntryLineDetail": { "PostingType": "Credit", "AccountRef": { "value": "{{$credit_account_id}}", "name": "{{$credit_account_name}}" } } } ], "TxnDate": "{{$txnDate}}", "DocNumber": "{{$doc_number}}", "PrivateNote": "{{$private_note}}", "CurrencyRef": { "value": "USD" } }'