Read companies chart of accounts register
Changed onGenerated minimal contract (#1940): parameters, auth, and status codes are authoritative; see the route handler for the exact body/response shape. Enrichment tracked by the x-median-spec-stage marker.
Request
- Base URLhttps://api.medianfi.com/api/v1
- Auth
- HTTP bearer
- or API key in header X-API-Key
Path parameters
Query parameters
Basis the statements are calculated on (#2911). Omitted or accrual: the accrual calculation, unchanged. cash: a cash-basis view built at read time from the posted ledger under recognition policy cash-basis-v2; nothing is written to the ledger. The company's configured basis (configuredBasis) never selects this; only this parameter does. A cash statement is returned only when it can be proven: otherwise it is refused with CASH_BASIS_UNAVAILABLE and its reasons, and accrual figures are never returned in its place. Until the policy's review is recorded, every cash request is refused with reason policy_unreviewed. Accepted on the accountant reports bundle and the accountant general-ledger drill-downs; the customer P&L, account drilldown, balance sheet, cash flow and trial balance take CustomerBasisQueryParam instead (#4962, #4981). Any other value is a 422.
Response
Success envelope; see the route handler for the payload shape
Changes
- warning
added the new
cash-basis-v2enum value to theanyOf[#/components/schemas/CashBasisUnavailable]/error/extensions/cashBasis/policyIdresponse property for the response status - info
removed the
cash-basis-v1enum value from theanyOf[#/components/schemas/CashBasisUnavailable]/error/extensions/cashBasis/policyIdresponse property for the response status
- warning