Ahsome Books
B0 live-confirm — thin BFF at /api/v1/*. See docs/agents/live-confirm-b0.md.
1. Bootstrap company
curl -sS -X POST http://localhost:3000/api/v1/company/bootstrap \
-H 'content-type: application/json' \
-d '{"legal_name":"Charles Live Confirm Co","books_start_date":"2026-01-01"}'Or: npm run live-confirm:seed then export printed headers.
2. Tenant headers (required)
x-company-idx-actor-user-idIdempotency-Keyon send / payment / deposit
3. Path
- POST
/api/v1/invoices→ draft - POST
/api/v1/invoices/{id}/send→ posted AR - POST
/api/v1/payments→ UF - GET
/api/v1/deposits/undeposited?undeposited_account_id= - POST
/api/v1/deposits→ bank - POST
/api/v1/bank/csv-import - POST
/api/v1/reconcile→ clear →/finishonly whendifference_cents == 0
Parent to-spec #6 stays open until Charles confirms.