...
Create reversed transactions for items on the invoice
Detach all disbursements applied to the invoice
Rollback account-package next bill dates and last billed dates
Mark any billed usage as unbilled.
All bucketing and aggregation remains as it was before the Invoice was created
Create a new invoice with reversed charges on it
Update the account balance
...
If the Invoice has not been delivered to the Account, it can be voided to unwind the billing process that generated the invoice. This can be used to correct for subscription or cancellation charges not processing as expected, usage not processed successfully, or credits missing from the invoice.
Once those changes are made, the Account can be billed again to recreate the invoice with the corrected charges. If this involves correcting usage related items, like buckets or share plans, a rerate will automatically trigger before the Account is billed, to ensure all usage data is corrected before it is billed.
In general, Invoices should not be voided unless the Invoice’s charges require significant corrections or additions.
...