Mexico (CFDI): Withholding Tax Type Code

You must define withholding tax type codes for document-level taxes.

For each tax, you must indicate whether it is a percentage, a fixed amount, or exempt.

NameCardinalityDescription
Tax Type Code (/Invoice/WithholdingTaxTotal/TaxSubtotal/TaxCategory/TaxScheme/TaxTypeCode1..1The code of the tax type.

Restrictions

CodeDescription
VRBL:MX:RateTax rate
VRBL:MX:FixedFeeFixed fee
VRBL:MX:ExemptTax exempt

Example

<ubl:Invoice>
	<!-- Code omitted for clarity -->
	<cac:WithholdingTaxTotal>
		<cbc:TaxAmount currencyID="MXN">480</cbc:TaxAmount>
		<cac:TaxSubtotal>
			<cbc:TaxableAmount currencyID="MXN">3000</cbc:TaxableAmount>
			<cbc:TaxAmount currencyID="MXN">480</cbc:TaxAmount>
			<cac:TaxCategory>
				<!-- Code omitted for clarity -->
				<cac:TaxScheme>
					<!-- Code omitted for clarity -->
					<cbc:TaxTypeCode>VRBL:MX:Rate</cbc:TaxTypeCode>
				</cac:TaxScheme>
			</cac:TaxCategory>
		</cac:TaxSubtotal>
	</cac:WithholdingTaxTotal>
	<!-- Code omitted for clarity -->
</ubl:Invoice>