Create journal entry
documentedCreate a journal entry.
POST /v3/company/{realmId}/journalentryJournalEntriesno 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" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"TxnDate": "{{$txnDate}}", "PrivateNote": "{{$privateNote}}", "Line": [ {"DetailType": "JournalEntryLineDetail", "JournalEntryLineDetail": { "PostingType": "Debit", "AccountRef": {"value": "{{$debitAccountId}}", "name": "{{$debitAccountName}}" }}, "Amount": {{$debitAmount}} }, {"DetailType": "JournalEntryLineDetail", "JournalEntryLineDetail": { "PostingType": "Credit", "AccountRef": {"value": "{{$creditAccountId}}", "name": "{{$creditAccountName}}" }}, "Amount": {{$creditAmount}} } ] }'