Undoing an invoice returns the invoice back into the subscription, and the status of the invoice inside the subscription will change from "Generated" back to "Queued".

Undo a single invoice

Bulk undo for multiple invoices