Run Go-Live Readiness Checks
POST/api/ledger/go-live-readiness/run
Run the go-live readiness checks now, store the result and return it. Safe to repeat at any time.
accounting:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Authentication: Requires Bearer token + accounting.sync permission (403 without it).
Check keys: product_costs, payout_codes_mapped, inventory_gl_tie_out (blocking); cost_trust, count_trust, three_pl_audit_trail, provider_inventory_tracking, stale_open_purchase_orders, unfinished_receipts, foreign_currency_bills, accountant_review (warning). The three trust checks carry payload.group = "costs_and_counts": cost_trust warns when less than 60% of stock value has a documented cost or no confidence has been stated, count_trust when a stocked warehouse's current month rests on less than a Medium count basis, and three_pl_audit_trail when a 3PL warehouse's audit trail is not rated Complete. provider_inventory_tracking warns when QuickBooks Online or Xero still tracks inventory itself; its payload lists the items (items, count) and link.url points to the guide for switching tracking off. Running the checks also stores each month-end trust figure. Status is pass, fail (blocking), warn (warning) or skipped (not applicable).
Request
Responses
- 200
- 401
- 403
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Validation failed — the body is a field → messages map (Laravel shape) or the platform envelope with a stable machine-readable code. Fix the payload and resubmit.
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.