create-manual-journal
Create manual journal entries in Xero by specifying narration and balanced debit/credit lines with account codes, ensuring proper accounting records.
Instructions
Create a manual journal in Xero. Retrieve a list of account codes in Xero to use for the journal lines. Journal lines must contain at least two individual journal lines with account codes, use basic accounting account types pairing when not specified, and make sure journal line pairs have credit and debit balanced.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| narration | Yes | Description of manual journal being posted | |
| manualJournalLines | Yes | The manualJournalLines element must contain at least two individual manualJournalLine sub-elements | |
| date | No | Optional date in YYYY-MM-DD format | |
| lineAmountTypes | No | Optional line amount types (EXCLUSIVE, INCLUSIVE, NO_TAX), NO_TAX by default | |
| status | No | Optional status of the manual journal (DRAFT, POSTED, DELETED, VOID, ARCHIVED), DRAFT by default | |
| url | No | Optional URL link to a source document | |
| showOnCashBasisReports | No | Optional boolean to show on cash basis reports, default is true |