Mexico (CFDI): Rules
Read about rules used by Mexico.
| Description | Topic |
|---|---|
| [VRBL-INV-MX-1p0-1]-The value of the Invoice Type Code must be contained in MX Invoice Type Code or be contained in Mx UNCL 1001. Allowed values: VRBL:MX:E, VRBL:MX:I or 380, 381, 383. | Mexico (CFDI): Invoice Type Code |
| [VRBL-INV-MX-1p0-2]-The value of the Seller Tax Scheme ID must be contained in the MX Party tax scheme ID. | Mexico (CFDI): Seller Tax Registration |
| [VRBL-INV-MX-1p0-3]-The value of the Buyer Tax Scheme ID must be contained in the MX Party tax scheme ID. | Mexico (CFDI): Buyer Tax Registration |
| [VRBL-INV-MX-1p0-4]-The value of the Payment Means Payment Means Code must be contained in MX Payment Means Code or be contained in MX UNCL 4461 [VRBL-CL-MX-UNCL-4461]. Allowed values: VRBL:MX:01, VRBL:MX:02, VRBL:MX:03, VRBL:MX:04, VRBL:MX:05, VRBL:MX:06, VRBL:MX:08, VRBL:MX:12, VRBL:MX:13, VRBL:MX:14, VRBL:MX:15, VRBL:MX:17, VRBL:MX:23, VRBL:MX:24, VRBL:MX:25, VRBL:MX:26, VRBL:MX:27, VRBL:MX:28, VRBL:MX:29, VRBL:MX:30, VRBL:MX:31, VRBL:MX:99 or 10, 30, 54, 55. | Mexico (CFDI): Payment Means Type Code |
| [VRBL-INV-MX-1p0-5]-The value of the Invoice Line Commodity Classification Code List ID must be contained in UNCL7143 item type identification or be contained in MX Item Number Type Code. For more information, see Item Type Identification Code. | Mexico (CFDI): Line-Level Commodity Classification |
| [VRBL-INV-MX-1p0-6]-The value of the Invoice Line Tax Scheme ID must be contained in MX Tax scheme ID. | Mexico (CFDI): Line-Level Tax Scheme Code |
| [VRBL-INV-MX-1p0-7]-The value of the Tax Subtotal Tax Scheme ID must be contained in MX Tax scheme ID. | Mexico (CFDI): Tax Scheme Code |
| [VRBL-INV-MX-1p0-8]-The value of the Withholding Tax Subtotal Category Scheme ID must be contained in MX Tax scheme ID. | Mexico (CFDI): Withholding Tax Scheme Code |
| [VRBL-INV-MX-1p0-9]-The value of the Invoice Line Tax Subtotal Category Scheme ID must be contained in MX Tax scheme ID. | Mexico (CFDI): Line-Level Tax Scheme Code |
| [VRBL-INV-MX-1p0-10]-The value of the Invoice Line Withholding Tax Subtotal Category Scheme ID must be contained in MX Tax scheme ID. | Mexico (CFDI): Line-Level Withholding Tax Category Code |
| [VRBL-INV-MX-1p0-11]-The value of the Payment Terms Payment Terms Extension Payment Terms Code must be contained in MX Payment terms code. Allowed values: VRBL:MX:PPD, VRBL:MX:PUE. | Mexico (CFDI): Payment Terms |
| [VRBL-INV-MX-1p0-12]-The Payment Means Payment Means Code should be "VRBL:MX:99" when Payment Terms Payment Terms Extension Payment Terms Code is "VRBL:MX:PPD". | Mexico (CFDI): Payment Means Type Code |
| [VRBL-INV-MX-1p0-13]-The Payment Means Payment Means Code must exist within Payment Means Group. | Mexico (CFDI): Payment Means Type Code |
| [VRBL-INV-MX-1p0-14]-The Legal Monetary Total Line Extension Amount must be equal to the Invoice Line Extension Amount. | VRBL: Legal Monetary Total |
| [VRBL-INV-MX-1p0-15]-The Legal Monetary Total Allowance Total Amount must be equal or less than the Legal Monetary Total Line Extension Amount. | VRBL: Legal Monetary Total |
| [VRBL-INV-MX-1p0-16]-The Legal Monetary Total Allowance Total Amount must be equal to the sum of Invoice Line Allowance Amount. | VRBL: Allowances |
| [VRBL-INV-MX-1p0-17]-The Payment Means Group must exist within Invoice. | Mexico (CFDI): Payment Means Type Code |
| [VRBL-INV-MX-1p0-18]-The Tax Exchange Rate Calculation Rate must exist within Tax Exchange Rate. | VRBL: Tax Exchange Rates |
| [VRBL-INV-MX-1p0-19]-When the Document Currency Code is different from MXN or XXX, the Tax Exchange Rate Calculation Rate must exist and be greater than 0. | VRBL: Invoice Currency |
| [VRBL-INV-MX-1p0-20]-When the Document Currency Code is XXX, the Tax Exchange Rate must not exist. | VRBL: Invoice Currency |
| [VRBL-INV-MX-1p0-21]-When the Document Currency Code is MXN, the Tax Exchange Rate must not exist or be equal to 1. | VRBL: Invoice Currency |
| [VRBL-INV-MX-1p0-22]-The value of the %{probe} must be contained in MX Export type code. Allowed values: VRBL:MX:01, VRBL:MX:02, VRBL:MX:03, VRBL:MX:04. | |
| [VRBL-INV-MX-1p0-24]-The Seller Postal Zone must contain a valid postal code. | Mexico (CFDI): Buyer Tax Registration |
| [VRBL-INV-MX-1p0-25]-When the Buyer Party Name Group is PUBLICO EN GENERAL and the Buyer Tax Company ID (RFC) is XAXX010101000, the Invoice Period Group must exist. | Mexico (CFDI): Buyer Tax Registration |
| [VRBL-INV-MX-1p0-26]-When the Invoice Period is Bimonthly, the Seller Tax Scheme ID must be 'VRBL:MX:621'. | Mexico (CFDI): Tax Scheme Code |
| [VRBL-INV-MX-1p0-27]-The value of the %{probe} must be contained in MX Allowed month range [VRBL-CL-MX-AllowedMonthRange]. | VRBL: InvoicePeriod |
| [VRBL-INV-MX-1p0-28]-The years in Invoice Start Date and Invoice End Date must be the same, and the invoice must belong to the current year or the immediate previous year. | VRBL: InvoicePeriod |
| [VRBL-INV-MX-1p0-29]-If the Buyer Party Name Group is 'PUBLICO EN GENERAL' the Buyer Tax Company ID must be 'XAXX010101000'. | VRBL: Buyers |
| [VRBL-INV-MX-1p0-30]-If the Buyer Tax Company ID is 'XAXX010101000' or 'XEXX010101000' the Buyer Postal Zone must be equal to the Seller Postal Zone. | VRBL: Buyers |
| [VRBL-INV-MX-1p0-31]-If the Buyer Tax Company ID is 'XAXX010101000' the Buyer Country Group must not exist. | Mexico (CFDI): Buyer Tax Registration |
| [VRBL-INV-MX-1p0-32]-The %{.} is not a valid code for SAT Product/Service Code. The code must be numeric and exactly 8 digits. | Mexico (CFDI): Line-Level Commodity Classification |
| [VRBL-INV-MX-1p0-33]-The value of the Invoice Subtype Code must be contained in MX Invoice subtype code. Allowed values: VRBL:MX:CN01, VRBL:MX:CP01, VRBL:MX:D01, VRBL:MX:D02, VRBL:MX:D03, VRBL:MX:D04, VRBL:MX:D05, VRBL:MX:D06, VRBL:MX:D07, VRBL:MX:D08, VRBL:MX:D09, VRBL:MX:D10, VRBL:MX:G01, VRBL:MX:G02, VRBL:MX:G03, VRBL:MX:I01, VRBL:MX:I02, VRBL:MX:I03, VRBL:MX:I04, VRBL:MX:I05, VRBL:MX:I06, VRBL:MX:I07, VRBL:MX:I08, VRBL:MX:P01, VRBL:MX:S01. | Mexico (CFDI): Invoice Subtype Code |
Updated about 19 hours ago
