Import trial balance
import_trial_balancePost a trial balance from another package (Xero, Sage, QuickBooks) as the business's opening balances: lines named by account id or name, zero lines dropped, and it becomes the take-on that bank lines before it are cut off at. Refused when the business already has opening balances or a line names no account. Prefer this to save_journal_entry for opening balances.
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": {
"date": "<date>",
"lines": "<lines>"
},
"name": "import_trial_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | The trial balance's date, YYYY-MM-DD: the day before the business starts its books on stub. | |
| name | No | The journal's name; "Opening Balance" when omitted. | |
| lines | Yes | One row per account with a balance, as the old package's trial balance lists it. |