In Mexico, VAT becomes due and creditable when the amount is actually collected or paid, not when the invoice is issued. SAP handles this with deferred taxes: VAT is first posted as pending and transferred to output or input VAT when the invoice is cleared by the receipt or the payment.
How it works in SAP
- Invoice: the tax code posts VAT to a pending VAT account (receivable or payable side).
- Receipt or payment: the document clears the invoice, fully or partially.
- Transfer: the standard deferred tax transfer program moves VAT from the pending account to output or input VAT, in proportion to the amount paid.
- Reporting: the DIOT and the monthly VAT return are fed from transferred VAT.
What needs to be configured
- Mexican tax codes by rate (16%, 8% in the northern border zone, 0% and exempt) flagged as deferred.
- Pending VAT accounts and effective output/input VAT accounts that reconcile every month.
- VAT withholdings on individuals and services, with their own treatment at payment.
- Rules for partial payments, down payments and credit memos.
- Handling of exchange differences on VAT for USD or EUR invoices.
- Running the transfer within month-end close, before generating the DIOT.
The typical case: SAP inherited from headquarters
When the Mexican subsidiary runs the group's SAP from Europe or the U.S., it often shares tax codes designed for accrual-basis VAT. The symptom is clear: the month's input VAT does not match what was paid and the DIOT is built by hand. The fix is to create tax codes and accounts specific to the Mexican company code, without touching the rest of the group, and agree testing and transports with the corporate team.
Switching a live system
Moving to cash basis mid-year is possible, but it needs a careful cutover:
- Go live at the start of a period so two schemes are not mixed in the same month.
- Reclassify open invoices posted with the old tax codes so their VAT is also transferred when paid.
- Reconcile the VAT accounts at the first month-end and compare against the DIOT.
If your SAP is not calculating VAT correctly, start with our online assessment or read our guide to the 54-field DIOT in SAP.
Frequently asked questions
Does SAP S/4HANA support cash-basis VAT for Mexico?
Yes, with deferred tax codes and the standard transfer program at clearing. What is usually missing is Mexico-specific configuration, especially when the system comes from a foreign corporate template.
What happens with partial payments?
The transfer is proportional to the amount cleared. That is why partial payments must clear the invoice and not be posted as standalone down payments.
Can we switch to cash basis mid-year?
Yes. It is best done at the start of a month, reclassifying open invoices with the old tax codes during cutover.