Replace the e-invoice being cancelled with a new debit memo
Learn how to replace a canceled e-invoice with a new debit memo, ensuring compliance with tax authority requirements.
Create a business region for Mexico.
Note:Mexico supports invoices, credit memos, and debit memos. However, if you're using a credit memo to reverse an invoice, it should not be submitted to the tax authorities.
Set E-Invoice Process Clearance with Cancellation
Billing Document Types selecting Invoice, Credit Memo, Debit Memo.
Disable Use Default Rule to Match the Business Region for Credit Memo. Configure the filter to not send credit memos that are generated due to invoice reverse.
Example Rule:
Account.SoldTo.Country = 'Mexico' AND CreditMemo.ReasonCode != 'Reversal Invoice'.
Define a custom field named DocumentReferenceID__c on the Debit Memo object..
The invoice INV1 has been posted and submitted to Tax Authorities via Sovos. Its e-invoice status is Success.
At times, customers who don't use invoice reversal operations because the invoice is not the latest invoice. Instead, they create a credit memo to offset the invoice and create a new debit memo to replace the previous invoice.