Reports

General ledger (recent posted journal entries)

get/companies/{companyId}/reports/general-ledger

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.

startDate, string date

Inclusive period start (YYYY-MM-DD). Must be supplied together with endDate.

endDate, string date

Inclusive period end (YYYY-MM-DD). Must be supplied together with startDate.

allTime, 'true'

true reports from the first through the last posted month on the P&L and cash flow, where omitting startDate/endDate still returns only the latest posted month, so "all time" must be requested by name. The general ledger reads an omitted range as the whole ledger either way. Cannot be combined with startDate/endDate, month or a comparePeriod other than none (400).

classId, string

Optional class filter for class-aware report endpoints. Pass a company-scoped accounting class UUID, or unassigned for journal lines with no class. Customer-facing use returns data only for active approved company classes.

limit, integer

Maximum journal entries per page. Defaults to 200 and is clamped to 1000.

cursor, string

Response

General ledger payload

object required
success, boolean
data, object

Changes

No recorded changes to this operation across all 110 revisions of this API.