A draft invoice is an editable invoice by several ways.
Total amount
or Total unit
;Total amount
overwrites the original fee;Total unit
, Lago recalculates the fee automatically.three-dot
icon next to the fee;Total amount
or Total unit
;draft
status, the timestamp
of the events must be
within the billing period. Consider the following example:
Billing period: January 1 – January 31 Grace period: 3 days Today: February 2 A draft invoice was generated on February 1. To send additional usage for this invoice, the event timestamps must fall between January 1st and 31st. ✅ Usage event on January 11 (timestamp:After sending new events, refresh the relevant draft invoice to see the events taken into account. When the grace period ends, invoices in draft status are automatically finalized. Alternatively, you can finalize them manually via the UI or API. Once1673457300
) → included ❌ Usage event on February 2 (timestamp:1675354500
) → excluded (will be part of next invoice)
finalized
, invoices are locked and trigger the invoice.created
webhook.
Draft invoice in the Lago app
draft
invoices, but they will be automatically applied to the next finalized
invoice.