Docs

Log in to read the version of docs relevant to your site, or use the dropdown versions

Delete Invoices in Chargebee Using Bulk Operations

Summary

Deleting Chargebee-generated invoices through bulk operations is restricted primarily to invoices, often linked to offline payments. This article explains why this restriction exists and provides a clear, step-by-step guide on how to safely delete invoices through the Chargebee UI.

Description

In Chargebee, bulk deletion of invoices is intended specifically for removing invoices with offline payments, as online payments are tightly linked to Chargebee-generated invoices. This restriction ensures the integrity of online transaction records. To perform deletion of invoices linked with online payment safely through the UI, you must first remove any payments attached to the invoices using the Remove Payments bulk operation. Once payments are cleared and invoices are in a Payment Due state, you can delete them either directly from the Invoices page via bulk action or through another bulk operation.

Solution

Since deleting invoices is a critical operation, it's essential to follow the multi-step UI process carefully to maintain data integrity and avoid unintended data loss.

Step 1: Bulk operation to remove payments from invoice:

Step 2: Bulk action to delete invoice from invoices page:

Was this article helpful?