OpenMeter Customers
Invoice a customer's charges
Changed onInvoice a customer's charges outside the normal billing cycle. Collection alignment is bypassed. The customer's progressive billing setting applies unless explicitly overridden. All eligible pending lines are considered.
Returns the created standard invoices, one per collected currency. Lines blocked by their owning engine remain pending. If all eligible lines are blocked or no lines are eligible, returns a validation error.
post/openmeter/customers/{customerId}/charges/invoice
Request
- Base URLhttp://localhost:8888/api/v3
- Authnone declared
Path parameters
customerIdstring required
ULID (Universally Unique Lexicographically Sortable Identifier).
Example:01G65Z755AFWAKHE12NY0CQ9FH
Request body
Example request
{
"as_of": "2023-01-01T01:01:01.001Z"
}Response
The request has succeeded and a new resource has been created as a result.
Changes
- info
endpoint added
- info