qb_journal_entry
Create balanced general journal entries with debit and credit lines, optional foreign currency, then preview and confirm before posting.
Instructions
General journal entry. lines: [{"kind": "debit"|"credit", "account", "amount", "memo", "entity"}]; debits must equal credits. With multicurrency, an entry may use one foreign currency (currency + exchange_rate = home-currency units per 1 unit) next to home-currency accounts; amounts are then in that foreign currency. ref_number max 11 characters. Two steps (preview + confirm_code).
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": {
"txn_date": "<txn_date>",
"lines": "<lines>"
},
"name": "qb_journal_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | Yes | ||
| run_id | No | ||
| currency | No | ||
| txn_date | Yes | ||
| ref_number | No | ||
| confirm_code | No | ||
| exchange_rate | No | ||
| expected_company_file | No |