OpenMeter Billing Settings
Snapshot quantities for usage based line items
Snapshot quantities for usage-based line items.
This call will snapshot the quantities for all usage based line items in the invoice.
This call is only valid in draft.waiting_for_collection status, where the collection period can be skipped using this action.
post/openmeter/billing/invoices/{invoiceId}/snapshot-quantities
Path parameters
invoiceIdstring required
ULID (Universally Unique Lexicographically Sortable Identifier).
Example:01G65Z755AFWAKHE12NY0CQ9FH
Response
The updated invoice with the snapshot quantities for usage based line items.