Actions35
- Account Actions
- Attachment Actions
- Bank Transaction Actions
- Bank Transfer Actions
- Contact Actions
- History and Note Actions
- Invoice Actions
- Manual Journal Actions
- Organisation Actions
- Report Actions
Manual Journal → Create
AI-generatedSummary
Create a manual journal entry in a specified Xero organization by providing a narration and at least two journal lines, either through the UI or as a JSON array.
Inputs
- Organization Name or ID (required) — Select the target Xero organization by name or ID to create the manual journal in.
- Narration (required) — Provide a description for the manual journal being posted.
- Journal Lines Input Method (required) — Choose how to supply the journal lines: either enter them one by one via UI or provide a JSON array.
- Journal Lines (UI) (required) — If using the UI method, add two or more journal lines specifying Account Code, Line Amount (positive for debits, negative for credits), optional Description, optional Tax Type override, and up to two optional Tracking Categories per line.
- Journal Lines JSON (required) — If using JSON input, provide at least two journal line objects with lineAmount and accountCode as minimum fields; optional description and taxType can be included.
- Additional Fields — Optionally specify posting date (defaults to current date), line amount types (Exclusive, Inclusive, or No Tax), whether to show on cash basis reports (default true), status of the journal (Draft or Posted), and a URL to a source document.
Output shape
a single record representing the created manual journal
The output includes details of the manual journal as created in Xero, confirming the posted data. The operation requires at least two journal lines. Defaults apply for date, tax treatment, and display on reports if not specified.