Mexico (CFDI): Tax Type Code

You must classify document-level taxes as rate, fixed fee, or exempt in Mexico documents.

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

Elements

Name (Path)CardinalityDescription
Tax Type Code (/Invoice/TaxTotal/TaxSubtotal/TaxCategory/TaxScheme/TaxTypeCode)1..1The code of the tax type.

Restrictions

CodeDescription
MX:RateTax Rate
MX:FixedFeeFixed Fee
MX:ExemptTax Exempt

Example

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