Suger

aggregate revenue records

POST https://api.suger.cloud/org/{orgId}/revenueRecord/aggregate

Return per-currency totals (invoice/collectable/disburse/tax + count) and the daily chart series over the filtered set, in a single request. Lets a console view render its chart and summary without loading individual rows. Invoice amounts are net of refund_invoice_amount (a fully refunded record contributes 0); collectable, disburse, and tax amounts are gross sums of their respective columns.

Parameters

NameInTypeRequiredDescription
orgId path string yes Organization ID

Request Body

Required. Content-Type: application/json · Schema: RevenueRecordAggregateRequest

Responses

200 — OK

Content-Type: application/json · Schema: RevenueRecordAggregateResponse

400 — Bad request error

Content-Type: application/json

500 — Internal server error

Content-Type: application/json


View as Markdown · Interactive API reference