New updates and improvements to Lago.

Grace period ✨

<alert-premium>✨ This feature is only available to users with a premium license. Please contact to get access to Lago Cloud and Lago Self-Hosted Premium.<alert-premium>

If at the end of the billing period, you want to review the invoices before sending them to customers for payment, you can define a grace period.

During the grace period, invoices are in <text-code>draft<text-code> status and can be modified. Available actions include:

  • Adding usage records by sending events with a <text-code>timestamp<text-code> within the relevant billing period;
  • Applying coupons to the customer's account; and
  • Adding credits to the customer's wallet and credit note wallet.

When the grace period expires, invoices are automatically <text-code>finalized<text-code> (they can no longer be edited), which triggers the <text-code>invoice.created<text-code> webhook. You can also finalize invoices manually.

The organization's grace period applies to all customers by default, but it can be overwritten by the customer's grace period.