Mexico (CFDI): Line-Level Tax Type Code

You must classify line-level taxes as rate, fixed fee, or exempt in your 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/InvoiceLine/TaxTotal/TaxSubtotal/TaxCategory/TaxScheme/TaxTypeCode)1..1The code of the tax type.

Restrictions

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

Example

<Invoice>
	<!-- Code omitted for clarity -->
	<cac:InvoiceLine>
		<!-- 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 -->
	</cac:InvoiceLine>
</Invoice>