Reports

Issue an immutable standalone adjusted pre-closing trial balance

Demo-parity and admin-only for an explicitly allowlisted active or test company. Uses all posted non-closing journal lines through the exact closed-period cutoff for one concrete same-company legal entity. Assets and liabilities use closing rates, equity uses historical rates, nominal accounts use exact closed-period averages, and CTA remains a separate non-ledger control-schedule line. Missing or stale authority fails closed; runtime fixtures and inferred cross-entity fallbacks are never accepted.

post/companies/{companyId}/reporting-trial-balances

Request

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

Path parameters

companyId, string uuid required

Headers

X-Median-App-Surface, 'qa'

Optional customer-app bundle marker for production-promoted demo-parity routes. Production customer calls omit this header. When present, qa selects the QA bundle and the server additionally requires an allowlisted test company with persisted client_status=test.

Request body

CreateReportingTrialBalanceInput required
glPeriodId, string uuid required
entityId, string uuid

Concrete same-company legal entity; defaults only to the primary entity.

supersedesSnapshotId, string uuid
restatementReason, string

Response

Immutable reporting trial balance issued

ReportingTrialBalanceResponse required
success, boolean required
data, ReportingTrialBalanceSnapshot required

Changes

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