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 URL: https://api.medianfi.com/api/v1
- URL: https://api.medianfi.com/api/v1/companies/{companyId}/reports/pl/comparison
- Auth: HTTP bearer
Query parameters
entityIdstring 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.
reportingScopeIdstring uuid
Immutable within-company consolidated reporting-scope identity. Must be supplied with scopeAsOf and cannot be combined with entityId.
scopeAsOfstring date
ISO date used to pin the effective sealed reporting-scope hierarchy version. Must be supplied with reportingScopeId.
month1string required
YYYY-MM
month2string required
YYYY-MM
Response
Two P&L snapshots and a comparison block.
Changes
No recorded changes to this operation across all 1 revision of this API.