Learn how voiding an invoice cancels its associated taxes and affects the status of related credit memos.
Required Editions
| Available in: Lightning Experience |
| Available in: Enterprise, Unlimited, and Developer Editions with the Revenue Cloud Advanced license or the Revenue Cloud Billing license |
When you void a posted invoice, the Tax Calculation API calls out a tax engine to void or adjust the tax. The status of the related credit memo depends on the tax engine’s response, which varies based on the invoice’s line types. This table shows invoice line types along with tax engine responses and corresponding credit memo statuses.
| Invoice Line Type | Tax Engine Response | Credit Memo Status |
|---|---|---|
| All positive invoice lines | Void | Voided |
| All positive invoice lines | Credit | Posted |
| All negative invoice lines | Void | Voided |
| All negative invoice lines | Debit | Posted |
When you void an invoice that contains both positive and negative invoice lines, Tax Calculation API makes two tax call-outs to the tax engine. This table shows the tax engine response for positive and negative invoice lines and the corresponding credit memo status.
| Tax Engine Response for Positive Invoice Lines | Tax Engine Response for Negative Invoice Lines | Credit Memo Status |
|---|---|---|
| Void | Void | Voided |
| Credit | Void | Voided |
| Void | Debit | Voided |
| Credit | Debit | Posted |