Mexico
Invoice
Changes to generic fields
recipient.address.line1is required.recipient.address.line2is required.recipient.address.postalCodeis required. It must be a valid postal code.lines[].unitis required- The sending organization address requires a valid Mexican postal code.
type Invoice {
// ...all generic invoice fieldse
lines: [
// ...everything from invoice.lines
itemCode: string;
unit: UnitsOfMeasure;
vat: {
// ...everything from invoice.lines.vat
category: string;
typeCode: string;
factorCode: string;
}
],
customInfo: {
mex: {
typeCode: string;
recipientTaxIdType: string;
recipientIndustryClassificationCode: string;
paymentMeansCode: string;
paymentChannelCode: string;
}
}
}Field information
| Name | Type | Required | Description |
|---|---|---|---|
recipient.name | string | Yes | Company name or name and surname.
|
recipient.taxId | string | Yes | B2B: Provide Registro Federal de Contribuyentes (RFC)
|
recipient.address.postalCode | string | Yes | For B2C clients, the postal code must be the same as the seller postal code. |
lines[].itemCode | string | Yes | Line item code as specified on CFDI
|
lines[].unit | string | Yes | A value from an enumerated list as outlined on Units of Measure |
lines[].vat.category | string | Yes | Line item tax category can be one of
|
lines[].vat.typeCode | string | Yes | Line item Tax type code can be one of
|
lines[].vat.factorCode | string | Yes | Line item Tax factor code can be one of
|
customInfo.mex.typeCode | string | Yes | In Mexico, the invoice type codes (Tipo de Comprobante) used in electronic invoicing (CFDI - Comprobante Fiscal Digital por Internet) are standardized by the Mexican tax authority, SAT (Servicio de Administración Tributaria). Here is a list of common Mexico invoice type codes:
|
customInfo.mex.recipientTaxIdType | string | Yes | Tax ID type. The value that is registered in this attribute must apply to the type of person of the receiver. Tax ID type can be one of:
recipient.taxId )XAXX010101000 and XEXX010101000 customInfo.mex.recipientTaxIdType must be 616 |
customInfo.mex.recipientIndustryClassificationCode | string | Yes | A value from an enumerated list as outlined on Mexico industry classification For generic Tax ID's ( recipient.taxId) XAXX010101000 and XEXX010101000 customInfo.mex.recipientIndustryClassificationCode must be S01 |
Example CSV file
Updated 19 days ago