Reference
Books
222 published documents
-
Erase organization data
Erase Books-held organization data after literal ERASE confirmation. Posted ledger events and audit rows are retained as redacted integrity records; everything else is deleted and re-counted, failing closed on any survivor.
-
Exclude a bank line
Leave a statement line out of the books (a duplicate, the bank's own noise). Nothing posts; the line is marked excluded and can be unmatched later.
-
Export a bank dataset
Rows of bank_accounts, bank_lines or bank_summary (from/to): the bank, card and cash records, movement and reconciliation state.
-
Export a bill dataset
Rows of bills, bill_lines, bill_payments, aged_payables (asOf) or purchases_by_supplier (from/to), with stable documented columns.
-
Export a ledger dataset
Rows of one ledger dataset: chart_of_accounts, tax_rates, periods, journals (from/to), trial_balance (asOf), profit_and_loss, cash_flow (from/to) or balance_sheet (asOf). Flat rows with account codes and names, decimal amounts in the base currency, the columns exports.datasets.list documents. The whole set, never paged.
-
Export an invoice dataset
Rows of invoices, invoice_lines, invoice_payments, aged_receivables (asOf) or sales_by_customer (from/to), with stable documented columns.
-
Export contacts
Rows of the contacts dataset: every customer and supplier with details, defaults and status.
-
Export organization data
Export every Books row the organization authored, grouped by concern database (core, ledger, documents, banking, audit).
-
Generate invoice PDF
Render one saved invoice as a complete multi-page PDF using the published Brand kit bound to its Books workspace. Once online payment has been enabled, its QR opens the stable hosted invoice page, which offers checkout only while money remains due.
-
Get a bill
Read one bill with its lines and the payments against it.
-
Get a contact
Read one contact with its billing details and the accounts it defaults to on an invoice or bill.
-
Get account
Read one account with its type, code and current balance, so a journal line can name it correctly.
-
Get account ledger lines
General ledger detail for one account: lines in posting order, paged with limit and offset. openingBalanceMinor is the balance immediately before the returned page, including both activity before the requested range and earlier lines in that range.
-
Get aged payables
What is still owed to suppliers at a date, by supplier and currency, in buckets of how overdue it is (default 30,60,90 days past the due date; basis issue ages from the issue date instead). Outstanding is worked out at the date. Includes every open bill with its bucket for drill-down.
-
Get aged receivables
What customers still owe at a date, by customer and currency, in buckets of how overdue it is (default 30,60,90 days past the due date; basis issue ages from the issue date instead). Outstanding is worked out at the date, so payments after it do not count. Includes every open document with its bucket for drill-down.
-
Get an invoice
Read one invoice with its lines and the payments against it.
-
Get balance sheet
Balance sheet at a date (default today): current and non-current assets and liabilities, equity with current-year and prior-years earnings computed from the ledger, and a balanced flag. compare adds the previous month or the previous year beside every figure. Amounts are natural-sign base-currency minor units. compare adds earlier columns, each stepping back again: previous_month by a month, previous_year by twelve. comparePeriods says how many, 1 to 11, and needs compare set. Read `columns` for the date each column is drawn at and `amountsMinor` for the figures in that order
-
Get bank connection
Read one bank connection with its accounts and sync state.
-
Get bank summary
Every bank, card and cash account with what moved through it in the range (money in, money out, net), how many statement lines are still unmatched and their value, the ledger account it maps to, and the latest balance the bank reported.
-
Get contact statement
Read one customer or supplier statement: issued invoices and bills, their payments, per-currency receivable and payable balances, and a paginated transaction history. Draft and void documents are excluded.
-
Get invoice Brand connection
List invoice-compatible Brand kits in this organization and the kit connected to this exact Books workspace.
-
Get invoice email settings
Read the effective invoice From and Reply-To, the workspace sender and organization sending domains.
-
Get journal
Read one journal event with every line, its account and its debit or credit, which is what reconciles against the ledger.
-
Get journal draft
Read one editable journal draft with its ordered lines.
-
Get month-end close health
What still stands between a month and a clean close: ledger chain verified, unmatched bank lines, draft journals, reversals and recurring journals due, draft invoices and bills, unsent invoices, overdue receivables, the period lock and (in the last month of the year) whether the year end is closed. Each signal carries a count, the money it holds and the screen that clears it, plus the period's sign-off checklist and an overall readiness of ready, attention or blocked.
-
Get onboarding status
How far the workspace is from being a working set of books, read from what is in it: settings, chart, invoice details, tax rates, opening balances, bank accounts and their ledger links, contacts, the first invoice and bill, statement lines, reconciled lines and a locked month. Each step says whether it is done, what was counted and the Books screen where it is done. nextStep names the first required step still open.
-
Get opening balances
The conversion date and the opening-balance journal the books start from: each account with its opening debit or credit, the amount that went to the opening-balances account to make it balance, and the totals.
-
Get profit and loss
Profit and loss statement for a date range (default: the current financial year to today), with accrual or cash recognition. compare can add earlier periods or the account budget; a reporting dimension can filter the statement or split its columns by value. Read `columns` for the exact period, budget or dimension represented and `amountsMinor` for each figure in that order. `amountMinor` and `comparativeMinor` remain the first two figures for simpler callers. Amounts are natural-sign base-currency minor units.
-
Get public invoice page
Read the active customer-facing invoice page link and its timestamped page-view history without exposing the invoice publicly when no link exists.
-
Get purchases by supplier
Bills issued in the range (default the financial year to today) grouped by supplier and currency: count, subtotal, tax, total, paid and outstanding, largest first. Drafts and voids are excluded.
-
Get recurring invoice
Read one recurring invoice schedule, its template id, cadence, end conditions, automation, run history and last failure.
-
Get recurring journal
Read one recurring journal schedule and all of its template lines.
-
Get sales by customer
Invoices issued in the range (default the financial year to today) grouped by customer and currency: count, subtotal, tax, total, paid and outstanding, largest first. Drafts and voids are excluded.
-
Get the bank reconciliation report
At a date (default today): the statement balance (every line the bank sent up to the date, duplicates left out), the bank's own reported balance when a feed supplies one, the balance of the linked ledger account, the unmatched lines with their total, the excluded and matched totals, and the difference (statement minus ledger, unmatched and excluded) that names what is in the ledger but not on the statement. reconciled is true when nothing is unmatched and the difference is zero. Includes the latest sign-off.
-
Get the cash flow statement
Where the cash went over a range (default the financial year to today), grouped into operating, investing and financing, with opening and closing cash. Double entry does the work: every posting nets to zero, so the change in the bank is exactly the opposite of everything that moved outside it, and each non-cash account contributes the negative of its own movement. The statement therefore ties to the bank by construction; reconciles going false means the balance projection is stale, not that the statement disagrees. Year-end closes are left out, as on the profit and loss. compare and comparePeriods add earlier columns exactly as they do there.
-
Get the continuous-close dashboard
Summarise the current close and up to twelve recent accounting periods: readiness, outstanding signals, checklist progress, and the three highest-priority actions for this week. This is the same live close overview shown on the Books Periods page.
-
Get the current UK VAT position
Read the current VAT reporting period, the amount estimated in box 5 so far, whether it is payable, reclaimable or nil, and the statutory filing and payment deadline. The reporting cadence is anchored to the active effective-dated VAT scheme.
-
Get the month-by-month shape of the year
Every month in the range (default the financial year to today) with profit-and-loss income and expenses, actual money posted into and out of bank and cash accounts, the profit that leaves, and the cash and bank position at month end carried from before the range. Money in and out are cash movements, so owner funding and other balance-sheet transfers remain visible without being misreported as revenue. Year-end close postings are left out.
-
Get trial balance
Every account holding a balance at the date, each on one side only: debitMinor carries a debit balance, creditMinor a credit balance, and the other is zero. Accounts that net to nothing are left out. totalDebitMinor and totalCreditMinor are the sums of those balances and must agree, which is what balanced reports. These are balances, not turnover: they do not add up everything ever posted to an account, which would count both sides of every entry and count an expense again when a year-end close reverses it.
-
Get UK VAT return preview
Compute the nine UK VAT return boxes from posted invoices and bills for a date range, applying effective-dated standard, cash accounting, flat-rate or annual-accounting schemes and returning source-line drill-down.