Posted revenue grouped by invoiced customer
Returns the Home "Revenue by client" card: POSTED revenue journal lines (closing entries excluded) grouped by the customer their invoice provenance actually names, resolved through the AR subledger. Revenue with no invoice-to-customer linkage (processor payouts, name-only invoices, unwired subledger) is summed into otherCents — never invented per client. Window is the last months complete months plus the current month-to-date; entity-scoped when entityId is given. available is false when the window holds no posted revenue lines.
Request
- Base URL: https://api.medianfi.com/api/v1
- URL: https://api.medianfi.com/api/v1/companies/{companyId}/metrics/revenue-by-client
- Auth: HTTP bearer
Query parameters
Optional concrete legal-entity scope for entity-scopable Home reads. Omitted means company-wide; when present it must be a legal entity the actor is authorized to read (the raw value is never trusted).
Complete months in the window (the current month-to-date is always included). Clamped 1-12; invalid values fall back to the default.
Response
Revenue-by-client payload
Changes
No recorded changes to this operation across all 1 revision of this API.