Reports

Balance sheet (assets, liabilities, equity)

Changed on

Snapshot as-of a single date. asOfDate (or endDate) selects the point in time; the latest posted month is used when omitted. comparePeriod=prior-year compares to the same date 12 months earlier; prior-period compares to the previous month-end.

get/companies/{companyId}/reports/balance-sheet

Request

  • Base URL
    https://api.medianfi.com/api/v1
  • Auth
    HTTP bearer

Path parameters

companyId, string uuid required

Query parameters

entityId, string uuid

Concrete legal entity to read. Mutually exclusive with reportingScopeId/scopeAsOf. Omission is accepted only when the actor is authorized to exactly one concrete entity.

reportingScopeId, string uuid

Immutable within-company consolidated reporting-scope identity. Must be supplied with scopeAsOf and cannot be combined with entityId.

scopeAsOf, string date

ISO date used to pin the effective sealed reporting-scope hierarchy version. Must be supplied with reportingScopeId.

asOfDate, string date

As-of date (YYYY-MM-DD). Falls back to endDate, then month, then latest posted balance.

endDate, string date

Alias for asOfDate when the client already models a date range.

comparePeriod, 'none' | 'prior-period' | 'prior-year'

Comparison mode. prior-period shifts back by the range length (snapped to full calendar months when the range is month-aligned). prior-year shifts both dates back 12 months. none (default) returns no comparison.

basis, 'accrual' | 'cash'

#4962 / #4981: the basis a customer statement (P&L, account drilldown, balance sheet, cash flow, trial balance, and the P&L and balance sheet exports) is calculated on. Omitted: the company's configured statement basis (configuredBasis, the source the accountant app reads) on the range's end date; cash only when it is cash, accrual otherwise. An explicit value wins. When cash is only the default and the cash view refuses (for example policy_unreviewed), the answer is the accrual calculation, labelled reportBasis: accrual; an explicitly asked cash is refused instead. Display only: nothing is written to the ledger. Any other value is a 400.

month, string

Legacy month param (YYYY-MM). Prefer asOfDate.

Response

Balance sheet payload. Includes additive self-check totals (totalAssets, totalLiabilities, totalEquity, totalLiabilitiesAndEquity, differenceCents, isBalanced). When a comparison is requested, an optional comparison object with the same shape plus mode, asOfDate and hasData is included on the payload.

object required
success, boolean
data, intersection

Changes

    • info

      added the new optional query request parameter basis

    • warning

      added the new cash-basis-v2 enum value to the data/allOf[#/components/schemas/StatementBasisMetadata]/cashBasis/policyId response property for the response status

    • info

      removed the cash-basis-v1 enum value from the data/allOf[#/components/schemas/StatementBasisMetadata]/cashBasis/policyId response property for the response status