Mexico (CFDI): Example
View an example of Mexico B2B documents.
Invoice (all elements)
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<ubl:Invoice xmlns:ubl="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:cec="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:vrbl="urn:vertexinc:vrbl:ExtensionComponent:1">
<!-- Required UBL extensions -->
<cec:UBLExtensions>
<cec:UBLExtension>
<cec:ExtensionContent>
<vrbl:InvoiceExtension>
<vrbl:InvoiceSeries>FE</vrbl:InvoiceSeries>
<vrbl:InvoiceSubtypeCode>VRBL:MX:G03</vrbl:InvoiceSubtypeCode>
<vrbl:RoutingDetails>
<vrbl:Sender>000000000</vrbl:Sender>
<vrbl:Receiver>GENERIC_JSON_MX_1p0</vrbl:Receiver>
</vrbl:RoutingDetails>
</vrbl:InvoiceExtension>
</cec:ExtensionContent>
</cec:UBLExtension>
</cec:UBLExtensions>
<cbc:CustomizationID>urn:vertexinc:vrbl:billing:1</cbc:CustomizationID>
<cbc:ProfileID>urn:vertexinc:vrbl:billing:1</cbc:ProfileID>
<cbc:ID>2345</cbc:ID>
<cbc:IssueDate>2025-09-03</cbc:IssueDate>
<cbc:IssueTime>15:30:00</cbc:IssueTime>
<cbc:DueDate>2025-10-03</cbc:DueDate>
<cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>
<cbc:Note>Note</cbc:Note>
<cbc:DocumentCurrencyCode>MXN</cbc:DocumentCurrencyCode>
<cac:AccountingSupplierParty>
<cac:Party>
<cac:PartyName>
<cbc:Name>ESCUELA KEMPER URGATE SA DE CV</cbc:Name>
</cac:PartyName>
<cac:PartyTaxScheme>
<cbc:CompanyID>EKU9003173C9</cbc:CompanyID>
<cac:TaxScheme>
<cbc:ID>VRBL:MX:601</cbc:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
<cac:PartyLegalEntity>
<cbc:RegistrationName>ESCUELA KEMPER URGATE SA DE CV</cbc:RegistrationName>
</cac:PartyLegalEntity>
</cac:Party>
</cac:AccountingSupplierParty>
<cac:AccountingCustomerParty>
<cac:Party>
<cac:PartyName>
<cbc:Name>JIMENEZ ESTRADA SALAS A A</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:StreetName>Insurgentes 1122</cbc:StreetName>
<cbc:CityName>Ciudad de Mexico</cbc:CityName>
<cbc:PostalZone>66196</cbc:PostalZone>
<cbc:CountrySubentity>MX-CMX</cbc:CountrySubentity>
<cac:Country>
<cbc:IdentificationCode>MX</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<cbc:CompanyID>JES900109Q90</cbc:CompanyID>
<cac:TaxScheme>
<cbc:ID>VRBL:MX:601</cbc:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
<cac:PartyLegalEntity>
<cbc:RegistrationName>JIMENEZ ESTRADA SALAS A A</cbc:RegistrationName>
</cac:PartyLegalEntity>
</cac:Party>
</cac:AccountingCustomerParty>
<cac:PaymentMeans>
<cbc:PaymentMeansCode>VRBL:MX:04</cbc:PaymentMeansCode>
</cac:PaymentMeans>
<cac:PaymentTerms>
<cbc:Note>Visa</cbc:Note>
</cac:PaymentTerms>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="MXN">3200</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="MXN">20000</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="MXN">3200</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>16.00</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VRBL:MX:002</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
<cac:WithholdingTaxTotal>
<cbc:TaxAmount currencyID="MXN">1600</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="MXN">20000</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="MXN">1600</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>8.00</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VRBL:MX:002</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:WithholdingTaxTotal>
<cac:LegalMonetaryTotal>
<cbc:LineExtensionAmount currencyID="MXN">20000</cbc:LineExtensionAmount>
<cbc:TaxExclusiveAmount currencyID="MXN">20000</cbc:TaxExclusiveAmount>
<cbc:TaxInclusiveAmount currencyID="MXN">23200</cbc:TaxInclusiveAmount>
<cbc:PayableAmount currencyID="MXN">23200</cbc:PayableAmount>
</cac:LegalMonetaryTotal>
<cac:InvoiceLine>
<cbc:ID>1</cbc:ID>
<cbc:InvoicedQuantity unitCode="E48">1</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="MXN">20000</cbc:LineExtensionAmount>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="MXN">3200</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="MXN">20000</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="MXN">3200</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>16.00</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VRBL:MX:002</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
<cac:WithholdingTaxTotal>
<cbc:TaxAmount currencyID="MXN">1600</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="MXN">20000</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="MXN">1600</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>8.00</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VRBL:MX:002</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:WithholdingTaxTotal>
<cac:Item>
<cbc:Name>Item Service 1</cbc:Name>
<cac:StandardItemIdentification>
<cbc:ID schemeID="0160">1234567890123</cbc:ID>
</cac:StandardItemIdentification>
<cac:CommodityClassification>
<cbc:ItemClassificationCode listID="VRBL:MX:ProductService">84141602</cbc:ItemClassificationCode>
</cac:CommodityClassification>
<cac:ClassifiedTaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>16.00</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VRBL:MX:001</cbc:ID>
</cac:TaxScheme>
</cac:ClassifiedTaxCategory>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="MXN">20000</cbc:PriceAmount>
<cbc:BaseQuantity unitCode="E48">1</cbc:BaseQuantity>
</cac:Price>
</cac:InvoiceLine>
</ubl:Invoice>
Updated about 3 hours ago
