Sign in

Delete journal

documented

Delete a journal.

DELETE /Journals/{JournalID}Journalsno implementation yet0 runs
No 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://api.xero.com/api.xro/2.0/ManualJournals" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "xero-tenant-id: {{XERO_TENANT_ID}}" \
  -H "Content-Type: application/json" \
  -d '{"manualJournals": [{"Narration": "Reversal of Journal {{$JournalID}}", "Date": "{{$date}}", "JournalLines": [{"LineAmount": -{{$amount}}, "AccountCode": "{{$from_account_code}}", "Description": "Reversal of original journal"}, {"LineAmount": {{$amount}}, "AccountCode": "{{$to_account_code}}", "Description": "Reversal of original journal"}]}]}'
Delete journal · Xero · OpenIntegrations