update-manual-journal
Update a draft manual journal in Xero by changing only the specified fields and lines while leaving all unspecified journal data untouched.
Instructions
Update a manual journal in Xero. Only works on draft manual journals. Do not modify line items or parameters that have not been specified by the user.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"narration": "<narration>",
"manualJournalID": "<manualJournalID>",
"manualJournalLines": "<manualJournalLines>"
},
"name": "update-manual-journal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Optional URL link to a source document | |
| date | No | Optional date in YYYY-MM-DD format | |
| status | No | Optional status of the manual journal (DRAFT, POSTED, DELETED, VOIDED, ARCHIVED), DRAFT by default | |
| narration | Yes | Description of manual journal being posted | |
| lineAmountTypes | No | Optional line amount types (EXCLUSIVE, INCLUSIVE, NO_TAX), NO_TAX by default | |
| manualJournalID | Yes | ID of the manual journal to update | |
| manualJournalLines | Yes | The manualJournalLines element must contain at least two individual manualJournalLine sub-elements | |
| showOnCashBasisReports | No | Optional boolean to show on cash basis reports, default is true |