Dequeue invoice from consolidation
Dequeue a queued invoice from consolidated billing so it returns to draft, or to due if draft invoices are not enabled.
When an account has consolidate billing enabled, invoices that are generated in the middle of the billing cycle from upsells or new subscriptions, for example, will enter into a queued state. When the next bill run executes for the account, all queued invoices will be combined into a new invoice and the queued invoices will transition to consolidated state.
Dequeuing an invoice will return it to draft state if draft invoices is enabled, otherwise it goes to due and may be emailed to the customer.