Download a wholesale billing CSV for a given month. Every subscription that
was active at any point in the month is included, with prorated quantities so a
mid-month start/stop is billed for the days it was live. The provider is taken
from your API key — there is no service_provider_id parameter.
Endpoint
Authentication
X-API-Key: krnl_... — auto-scoped to the authenticated provider. Rate-limited
to 30 requests / minute per key.
Query parameters
Invalid values return 400 (month must be between 1 and 12, year must be 2000 or later).
Response
200 OK with Content-Type: text/csv. Columns:
Example
Quantities are prorated by day: a subscription active for 10 days of a 31-day
month bills at 10/31. Cancelled-mid-month subscriptions still appear for the
days they were active.