Select the accounting workspace#
Verify whoami and discover the exact granted canonical Books workspace. Bind resource context separately from action input. Bootstrap returns user and organization, not a workspace grant. Organization-wide privacy export and erasure are separate from ordinary workspace accounting.
Configure the chart and accounting identity#
Read workspace settings and chart templates, then apply a reviewed chart or create the required accounts. Preserve the returned account ids; chart codes are separate. Base currency is refused once posting exists. Preview CSV imports and inspect every row before applying. Invoice identity, Brand binding, sender DNS and Pay merchant eligibility are independently configured.
Draft and post balanced journals#
A mutable journal draft can contain incomplete lines. Read and update it until the posting date, accounts and signed minor-unit lines are complete and balanced, then separately authorize posting. Retain the posted journal id and immutable chain evidence. Corrections use explicit reversal/adjustment entries; never assume deletion rewrites the posted ledger.
Approve invoices and bills before payment recording#
Create and inspect the actual contact, account, pricing, currency and tax lines. Draft approval posts accounting evidence. Recording a payment against an approved document changes accounting records; it does not by itself move money at a bank or payment provider. Inspect document totals, settlement records and journals separately. Paid invoices cannot be voided; no published payment-removal action should be invented from a handler message.
Keep sharing, notification and recipient delivery distinct#
Invoice PDF rendering, a public share, Notify event acceptance, provider dispatch acceptance and recipient delivery are separate states. Preview does not authorize sending. A send can return queued HTTP 202 with document:null. Inspect actual dispatch status and invoice sent_at. Reuse one retained idempotency key for the same attempt; resend:true needs a deliberately new attemptId and recipient approval.
Import and reconcile bank lines#
Discover the local bank account and exact bank line ids. Preview statement rows before importing; provider accounts and local account ids are distinct. Inspect match/payment state before linking, transferring, splitting or reversing a match. Real Mercury credentials and access remain separate from simulated fixtures. A sync response is not proof of all scheduled sweeps or real financial settlement.
Compare Xero carefully#
Use the authorized connected Xero tenant, preview import behavior and inspect retained migration mappings. Reconciliation HTTP 200 means the comparison ran; agrees:false, nonempty differences or unmatched records still require review. post:true is a separate accounting mutation. A raw report is provider data, not a completed normalized reconciliation. Disconnect reports status and does not return a new connection id.
Inspect reports and accounting periods#
Read ledger reports for the explicit dates, basis, currency and dimensions. Keep minor units distinct from formatted decimal money. Use the configured fiscal-year start month when selecting period/fiscal-year labels. Review locks, close/reopen effects and adjustment journals before mutation. Local VAT/tax schemes and synthetic examples do not establish jurisdictional compliance.
Review recurring and approval automation#
Inspect recurring schedule dates, cadence, remaining occurrences and source templates. Enabling automatic approval, send or charge authorizes distinct later effects; inspect the configured recipient and Pay method first. A local scheduled-job fixture proves its code path, not that a production scheduler ran or a provider delivered/charged successfully.
Keep exports and erasure scoped correctly#
Books exports cover the specifically approved organization across concern databases and may contain sensitive accounting/contact records. Retain them securely. Literal ERASE is a permanent organization-wide operation and cannot be narrowed by a workspace header. Workspace archival instead requires the actual empty-workspace and upstream Auth acceptance checks.
Accounts#
Browse Accounts actions for worked requests, responses and recovery guidance.
Audit#
Browse Audit actions for worked requests, responses and recovery guidance.
Banking#
Browse Banking actions for worked requests, responses and recovery guidance.
Bills#
Browse Bills actions for worked requests, responses and recovery guidance.
Budgets#
Browse Budgets actions for worked requests, responses and recovery guidance.
Chart of accounts#
Browse Chart of accounts actions for worked requests, responses and recovery guidance.
Contacts#
Browse Contacts actions for worked requests, responses and recovery guidance.
Dimensions#
Browse Dimensions actions for worked requests, responses and recovery guidance.
Exports#
Browse Exports actions for worked requests, responses and recovery guidance.
Invoices#
Browse Invoices actions for worked requests, responses and recovery guidance.
Journals#
Browse Journals actions for worked requests, responses and recovery guidance.
Ledger#
Browse Ledger actions for worked requests, responses and recovery guidance.
Migrations#
Browse Migrations actions for worked requests, responses and recovery guidance.
Onboarding#
Browse Onboarding actions for worked requests, responses and recovery guidance.
Organization data#
Browse Organization data actions for worked requests, responses and recovery guidance.
Accounting periods#
Browse Accounting periods actions for worked requests, responses and recovery guidance.
Report views#
Browse Report views actions for worked requests, responses and recovery guidance.
Reports#
Browse Reports actions for worked requests, responses and recovery guidance.
Settings#
Browse Settings actions for worked requests, responses and recovery guidance.
Tax#
Browse Tax actions for worked requests, responses and recovery guidance.
VAT#
Browse VAT actions for worked requests, responses and recovery guidance.
Dashboard#
Browse Dashboard actions for worked requests, responses and recovery guidance.
Identity#
Browse Identity actions for worked requests, responses and recovery guidance.
Workspaces#
Browse Workspaces actions for worked requests, responses and recovery guidance.
Evidence#
Actual Books route handlers and the exported Worker were exercised against five local SQLite D1 concern databases with all committed migrations, the real posting Durable Object and local R2. Route captures use synthetic verified Auth; Worker captures use synthetic Auth transports. Nexus, Brand, Notify, Pay, Mercury and Xero responses are explicitly simulated at the provider transport boundary. Captures prove local request/response behavior and canonical SDK projection, not live bank access, payment movement, email delivery, provider eligibility, tax compliance, encrypted custody, scheduled execution, deployment or production completion. Fixture identities, credentials, addresses and records authorize no live operation.