Reports

Issue an immutable presentation P&L for one closed period

Demo-parity and admin-only. Requires an explicitly allowlisted active or test company and uses the exact closed-period general ledger, selected same-company legal-entity functional currency, configured presentation currency, and persisted period-average FX revision. An identical retry returns the incumbent snapshot; changed source or output authority can only create an immutable next revision through explicit supersession.

post/companies/{companyId}/presentation-report-snapshots

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

CreatePresentationReportSnapshotInput required
reportType, 'profit_and_loss' | 'balance_sheet' required
glPeriodId, string uuid required
entityId, string uuid

Required when the company has multiple concrete legal entities.

supersedesSnapshotId, string uuid
restatementReason, string

Response

Presentation report issued, or identical incumbent returned

PresentationReportSnapshotResponse required
success, boolean required
data, PresentationReportSnapshot required

Example response

{
  "data": {
    "rate": {
      "rate": "1.250000000000000"
    }
  }
}

Changes

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