Customer revenue-by-client card (accountant mirror)
Accountant-scoped mirror of GET /companies/{companyId}/metrics/revenue-by-client. Same payload for the same company and window; non-attributable revenue stays in otherCents, never invented per client. Entity scope is resolved from the customer's own entity roster (accountants hold no per-user entity grants): an explicit entityId must be one of the customer's concrete (non-group) entities; absent, the customer's single concrete entity is used; a multi-entity customer without entityId gets 422 ENTITY_SELECTION_REQUIRED and a customer with no entity gets 422 ENTITY_SCOPE_UNAVAILABLE.
Request
- Base URL: https://api.medianfi.com/api/v1
- URL: https://api.medianfi.com/api/v1/accountant/companies/{customerId}/metrics/revenue-by-client
- Auth: one of:
- HTTP bearer
- API key in header X-API-Key
Query parameters
Concrete legal entity to read on Home. Omission is accepted only when the actor is authorized to exactly one concrete entity. Consolidated or group scope is not silently collapsed to an arbitrary entity.
Response
Revenue-by-client payload (same shape as the customer mount)
Changes
No recorded changes to this operation across all 1 revision of this API.