Generate a closing invoice at subscription termination
By default, Lago automatically generates a closing invoice for any outstanding usage-based charges or pay-in-arrears subscription fees that haven’t yet been invoiced.
If you don’t want to generate an invoice at termination:
In the Termination dialog, simply switch off the Generate final invoice option.
To terminate a pending subscription through the user interface:
Access the “Customers” section via the side menu;
Select a customer from the list;
In the “Overview” tab, select a pending subscription (subscription set in the future or pending downgrade); and
Click “Terminate subscription”; and to cancel a pending subscription subscription.
To ensure the termination of a pending subscription, it is crucial to include the ?status=pending filter in your endpoint.
Neglecting to do so will render any termination attempts ineffective.