Generate Invoice Now
Billing
Generate Invoice Now
Manually trigger invoice generation for this organization.
Useful for testing the billing flow or generating retroactive invoices. Requires ADMIN permission.
Example:
# Dry run
response = await client.post(
"/v1/organizations/billing/generate-invoice",
json={"dry_run": true}
)
# Actually generate
response = await client.post(
"/v1/organizations/billing/generate-invoice",
json={"billing_month": "2026-01"}
)
POST
Generate Invoice Now
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Response
Successful Response
The response is of type Response Generate Invoice Now V1 Organizations Billing Generate Invoice Post · object.

