Reports
Explicit two-month P&L comparison (legacy)
Returns two P&L snapshots side by side. New clients should prefer GET /reports/pl?comparePeriod=... which supports arbitrary date ranges. This endpoint is retained for backward compatibility.
get/companies/{companyId}/reports/pl/comparison
Request
- Base URLhttps://api.medianfi.com/api/v1
- AuthHTTP 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.
month1, string required
YYYY-MM
month2, string required
YYYY-MM
Response
Two P&L snapshots and a comparison block.
object required
success, boolean
data, object
Changes
No recorded changes to this operation across all 110 revisions of this API.