AlphaAlpha Docs
API ReferenceBilling admin

Trigger billing run

Generate billing invoices for a specific tenant or all active tenants

POST
/billing/admin/generate
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "http://localhost:18080/api/v1/billing/admin/generate" \  -H "Content-Type: application/json" \  -d '{}'
{
  "errors": [
    "string"
  ],
  "invoicesCreated": 0,
  "period": "string",
  "processed": 0,
  "results": [
    "string"
  ]
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}