Upload the old books
switch_inBring the old books in (round 334): upload the export of the old accounting system as it gave it, one file per request or several in files ([{filename, content_base64}], each at most 5 MB): DATEV (Buchungsstapel with Debitoren/Kreditoren and Kontenbeschriftungen, and the ZIP of document images whose document.xml the bookings' Beleglink names), Xero, QuickBooks, sevDesk, Lexware Office, FreeAgent, Sage. The files wait beside the books; the answer says which system they are from and what was found (accounts, contacts, trial balances, bookings, open items, notes), or what is missing. what=status shows the same without a new file; what=clear starts over. what=documents takes the old receipts and invoices (PDF, XML, pictures, or a ZIP of them, as the old system or a folder holds them) and puts each on its posted booking where exactly one fits by number, or by amount and date; the rest are listed with the reason. documents_came_across says, per way in (the switch, Xero, QuickBooks), how many documents sit on their bookings and which wait, with the reason. Nothing goes into the books with add: Bring it in does that, and Octobooks then compares its trial balance with the files'. Round 891: what=bring_in with kind (the mode, one of can_bring_in) and ref (the cutover day, cutover_proposed) proposes Bring it in under the owner's switch ai_pairs_old_payees (on until the owner switches it off): an ask on Home naming the files and the count of each kind of write (journals, suppliers changed and new, accounts, registrations, tax codes, the year end); a person confirms it with one tap and the import runs in that person's session on the files the ask named, then stands on Home with Undo. Round 947: kind=master_data with only new suppliers, customers and accounts on a company with no posted journal runs at once (state brought in), with Undo on Home. After the switch (round 615): what=old_books lists the periods done in the old books (months, VAT returns, years up to the cutover: no job asks for them), the bank accounts that may move onto the old books' bank ledger account, the payees paired and the lines Octobooks found under another spelling (by amount, date and rhythm). what=reopen (kind month_close, vat_return or year_end, ref as listed) brings a period's job back; what=done_in_old_books undoes it. what=link_bank (bank_account, account) moves a bank account onto the old ledger account while nothing is booked on its own. what=pair (bank_line_id) confirms the payee found for the line; what=refuse_pair says not this; what=unpair (bank_text) takes a pair back. A confirmed pair carries the receipt source over; Octobooks posts on the old books' precedent only where a person confirmed it. After a switch from Xero (round 674): what=xero_new brings in what is new from Xero (a parallel run, late items): Octobooks reads only what Xero created or changed since the last read, holds it against the books by Xero's ids and puts only new and changed entries forward (a change as a correcting entry naming the entry it corrects), released as the owner's switches allow; what=xero_status says what the last read proposed and the trial balance against Xero month by month. Read only towards Xero. Mirror Xero (xero_status says mirror_xero): on, set by the owner on the Xero card, books every new or changed Xero booking on each sync (a changed or voided one reversed and booked again); what=xero_mirror ref=off ends the sync and the company moves to Octobooks. Migration (round 1246): what=move says where the migration stands, as the Migration page: stages, counts, every month of Identical history Xero beside Octobooks, the entries with documents and the days they take, the held entries 50 at a time (held_total; ref=<held_next> for the next 50); while a migration is open, what=xero_mirror answers with that state and the cut over stays on the Migration page. what=move_propose (kind: the held entry's ref from what=move, ref: one of the company's tax codes per held rate, "TAX008=DE_IN_7,TAX013=DE_IN_19", or one code where the entry holds one rate; each of the document's direction and valid on its day) proposes the codes of an entry held for a Xero tax rate or for a code not valid on its day (EC goods before 2021: the nearest code valid then); a reverse charge code books its VAT pair; a person accepts it on the page. what=move_draft_list (files: [{item, in_xero: a count or "Not read"}]) keeps the list of what to set up again (bank rules, repeating invoices, the asset register, budgets, payroll). BuchhaltungsButler the same way: what=bb_status says the postings held against the books (already in the books, new, differing, only in Octobooks) and the last sync; what=bb_mirror ref=off ends Mirror BuchhaltungsButler. Replay proof before the switch (round 694): what=replay rebooks the months the owner picks (months, e.g. '2026-03,2026-07'; default the last 6 the old books hold) from the complete Xero read or the export files handed in, with Octobooks' own rules (recognise transfers and payments of invoices, the company's rules, the precedent of each payee, VAT worked out again at the old system's own rates) and lists line by line where Octobooks would book otherwise (agrees, differs, asks, kept); kind xero or files picks the old books where both wait. Writes nothing. Parallel run (round 1083): what=parallel_run sets Xero's month end figures beside the books' (revenue, cost of sales, stock, debtors, creditors, VAT, bank, other accounts), with the accounts and entries that explain a difference. Coming from Unleashed (round 1107): what=unleashed_stock brings in products, warehouses, suppliers, customers, bills of materials, opening stock per warehouse and batch at average land cost and the open purchase and sales orders, through the Unleashed connection (GET only) or from files, Unleashed's export files (ref: the stock day, YYYY-MM-DD), as a stock approval request released as the owner's switches say; what=unleashed_tie: stock against Unleashed to the penny, per warehouse, with every product that differs. Move my books for me (round 744): what=move_for_me (kind: the old system's name, ref: a note) records a request that Octobooks runs the switch, in Octobooks' own queue; what=move_status: asked, running or done with the replay proof; what=move_withdraw takes it back while it is only asked. what=xero_disconnect or qbo_disconnect (round 909) disconnects Xero or QuickBooks as Disconnect on Settings, Apps: under the owner's setting for settings changes by the AI, set to apply at once it ends now, Ask me (default) it waits for the owner's one tap; what was brought in stays; a Xero disconnect also revokes Octobooks' access at Xero (needs the right propose). rounding_account (with add or status): a journal of the old books out by up to 0.05 is balanced on this account of the chart when brought in ('' takes it back). Sales invoices from a file (round 1193): what=sales_invoices with files (one CSV or Excel file, one row per invoice line, as Unleashed, Xero or a sheet export it) reads the columns from the headings and checks each invoice: the customer (on file by code or full name, else new), the VAT rate and account of each line, the totals against the file's; nothing is written and the answer carries confirm. rates lists each VAT text of the file once with the home sales tax code it maps to; a text that is no code or full name of one is mapped with rates ({text: code}, '' for rows without a rate), as Xero's import maps tax rates. The same request with ref= issues the ready invoices with their own numbers and dates in number order, posted to the ledger, debtors and the VAT return, as the owner's switch for the issue of invoices allows; a Type column saying Credit, or minus amounts, makes a credit note; a number in the books already is skipped. Needs the right upload.
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": "switch_in"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| kind | No | ||
| what | No | add | |
| files | No | ||
| rates | No | ||
| months | No | ||
| account | No | ||
| company | No | ||
| bank_text | No | ||
| bank_account | No | ||
| bank_line_id | No | ||
| rounding_account | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||