Changelog

New updates and improvements to Lago.

Recurring and prorated charges

When a billable metric is defined as recurring, the number of billing units at the end of the billing period is carried over to the next period. It is not reset to zero, as with metered metrics.

Users can create recurring metrics based on <text-code>sum_agg<text-code> and <text-code>count_unique_agg<text-code>. They can also define whether the corresponding charges should be prorated (this option is only available for the standard and volume pricing models).

ℹ️ Metrics based on <text-code>recurring_count_agg<text-code> have been automatically converted into <text-code>count_unique_agg<text-code> metrics with the attribute <text-code>"recurring": true<text-code>.

Example of prorated recurring charge