Ahsome

Ahsome Books

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)

3. Path

  1. POST /api/v1/invoices → draft
  2. POST /api/v1/invoices/{id}/send → posted AR
  3. POST /api/v1/payments → UF
  4. GET /api/v1/deposits/undeposited?undeposited_account_id=
  5. POST /api/v1/deposits → bank
  6. POST /api/v1/bank/csv-import
  7. POST /api/v1/reconcile → clear → /finish only when difference_cents == 0

Parent to-spec #6 stays open until Charles confirms.