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"}
)
Documentation Index
Fetch the complete documentation index at: https://docs.mixpeek.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
REQUIRED: Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings.
"Bearer YOUR_API_KEY"
"Bearer YOUR_STRIPE_API_KEY"
Successful Response
The response is of type Response Generate Invoice Now V1 Organizations Billing Generate Invoice Post · object.