Skip to main content
POST
Generate an advance invoice

Path Parameters

Request Body

Generates a single invoice that covers the specified number of upcoming billing periods. Each period appears as a separate line item on the invoice. The invoice is created with type: "advance" and is immediately finalized.

Example Request

Response

Authorizations

Authorization
string
header
required

Tenant API key obtained from POST /auth/register or POST /v1/developer/keys.

Path Parameters

id
string<uuid>
required

Body

application/json
periods
integer
required
Required range: x >= 1

Response

Advance invoice created.

data
object