Make a QBO file from transactions
generate_qbo_fileUse this when the user wants to convert bank statement rows to a QBO, OFX or QIF file from rows they pasted, typed or showed in a statement photo or table: "convert csv to qbo", "bank statement to qbo converter". First convert what the user gave into transaction objects (date, description, signed amount or withdrawal/deposit, optional balance and check number); pass raw text in text only if you cannot. Returns QBO, OFX 1.0.2, OFX 2, QIF, QuickBooks CSV and an Excel review sheet with unique FITIDs and the ending balance. Do not use when a statement file is attached (use convert_statement_to_qbo); does not connect to banks or QuickBooks.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "generate_qbo_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Fallback only: pasted statement text or CSV when you cannot build the objects. | |
| bank_id | No | Optional BANKID for the OFX files: the bank's 9-digit ABA number printed on checks, e.g. 121000248. Default 000000000. | |
| currency | No | ISO currency code, e.g. USD (default), CAD, GBP. | |
| intu_bid | No | QuickBooks Web Connect bank id (INTU.BID) for the .qbo file. Default 3000. Use the id of your own bank if QuickBooks Desktop asks for a supported bank. | |
| date_order | No | Order of numeric dates: MDY (default, US) or DMY. Detected from the file when a day is above 12. | |
| account_type | No | checking (default), savings, money_market, credit_card or line_of_credit. auto reads it from a PDF statement. Example: credit_card. | |
| transactions | No | Rows as objects in statement order, e.g. [{"date":"09/02/2026","description":"PAYROLL ACME INC","amount":2450},{"date":"09/03/2026","description":"GREENLEAF MARKET","amount":-82.17}]. Pasted CSV text is also accepted. | |
| account_last4 | No | Last 4 digits of the account (or any short label) used as the account id QuickBooks links to, e.g. 4821. Default 0000. Never send the full account number. | |
| statement_year | No | Year for dates printed without one, e.g. 2026. | |
| closing_balance | No | Ending balance for LEDGERBAL, e.g. "$5,034.47". If unknown, the files say so (see result). | |
| opening_balance | No | Opening balance if the file has none, e.g. 4123.55. With closing_balance it proves no row is missing. | |
| qif_date_format | No | Date order inside the QIF file: MDY (default, Quicken US) or DMY (Quicken UK, MoneyDance in Europe). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | Yes | ||
| source | Yes | ||
| totals | Yes | ||
| account | Yes | ||
| preview | Yes | ||
| warnings | Yes | ||
| downloads | Yes | ||
| file_check | Yes | ||
| import_steps | Yes | ||
| transactions | Yes | ||
| unread_lines | Yes | ||
| not_converted | Yes | ||
| preview_count | No | ||
| ending_balance | Yes | ||
| reconciliation | Yes | ||
| not_converted_count | Yes |