get_revenue_report
The revenue report: paid invoices by plan, by month and plan, and the top 20 organizations, with totals per currency (amounts in minor units, never summed across currencies), invoice counts by status and subscription counts by status. Optional from/to (YYYY-MM-DD, UTC) filter on the invoice date; without them, all time. Plans are attributed through each subscription’s current price, as in the panel.
- Server: Platform server
- Scope:
platform.revenue:read - Read-only: yes
Input
{
"properties": {
"from": {
"description": "YYYY-MM-DD (UTC)",
"type": "string"
},
"to": {
"description": "YYYY-MM-DD (UTC), inclusive",
"type": "string"
}
},
"type": "object"
}Output (structuredContent)
{
"properties": {
"as_of": {
"type": "string"
}
},
"type": "object",
"required": [
"as_of"
]
}