[MX] Bulk Upload Manual

This manual explains how to issue CFDIs in Mexico by uploading a file with the Brinta bulk template. It covers the steps in the dashboard, the general rules that apply to every row, and links to one guide per document type.

Supported document types

DocumentInvoice Document TypeInvoice TypeTemplate tabGuide
Invoice (CFDI Ingreso)invoicedebitInvoicesInvoice
Credit note (CFDI Egreso)credit notecreditInvoicesCredit and debit notes
Debit notedebit notedebitInvoicesCredit and debit notes
Payment complement (Complemento de Pago)Not neededNot neededComplemento de PagoPayment complement
📘

Payment complements go in their own file

Invoices and notes are uploaded from the Invoices tab. Payment complements are uploaded from the Complemento de Pago tab, in a separate file and with the payment complement adapter.

1. Steps to upload a file

  1. Go to Invoicing → Outgoing → Bulk Uploads. In the left menu, expand Invoicing, then Outgoing, and click Bulk Uploads.
  2. Click "Create Invoice". A window opens to choose the creation method.
  3. Select "Bulk Upload". Choose the option on the left (cloud icon with an arrow).
  4. Select the adapter. In Select adapter, choose the adapter of the company that issues the documents in the file and click Next. The value in the Issuer column must match that company.
  5. Upload the file. Upload the completed template as .xlsx or .csv.
  6. Check the result. Every row should end in Issued. Fix the failed rows and upload only those rows again in a new file.

2. Template

Request the Mexico template from your Account Executive (AE) and fill it in following the format of each column.

The template has these tabs:

TabUse
InvoicesInvoices, credit notes and debit notes. Red headers are mandatory.
Complemento de PagoPayment complements. Dark blue headers are mandatory, gray headers are optional or conditional.
Tax Registration StatusAccepted values for Buyer Tax Registration Status (column BRINTA).
Payment MethodSAT payment method codes and the matching Brinta values.
Export ReasonSAT export codes for Export Reason.
Reference / Reference Complemento de PagoA short description of each column.
❗️

Clean the template before uploading

The data tabs come with example rows, sample values and a color legend. Delete all of it before you add your own rows, so the file only contains your documents.

3. Rules for every row

TopicRuleExample
Header namesKeep the column headers exactly as in the template. Do not rename, translate or merge them.Buyer Legal Name
Fixed valuesLowercase, exactly as listed in each guide.invoice, credit note, business
Catalog valuesCopy them exactly from the reference tabs, with the same accents, capital letters and spaces.Régimen general
Datesyyyy-mm-dd. Format the cell as text so Excel does not change it.2026-06-30
AmountsNumeric cells, dot as decimal separator, no thousands separator.1000.75
RatesDecimal, not a percentage.0.16 for 16%
RFCNo dashes, spaces or special characters. 12 characters for companies, 13 for individuals.TRA150604TW1
Leading zerosPostal codes, Export Reason and payment method codes keep their leading zero. Format those columns as text.06600, 01, 03
Postal code5 digits.06600
StateISO 3166-2:MX code. See the table below.MX-CMX
CountryISO 3166-1 alpha-2 code.MX
CurrencyISO 4217 code.MXN, USD
IssuerThe issuer value given to you during onboarding. It must match the adapter you select.

Mexican state codes

StateCodeStateCode
AguascalientesMX-AGUMorelosMX-MOR
Baja CaliforniaMX-BCNNayaritMX-NAY
Baja California SurMX-BCSNuevo LeónMX-NLE
CampecheMX-CAMOaxacaMX-OAX
ChiapasMX-CHPPueblaMX-PUE
ChihuahuaMX-CHHQuerétaroMX-QUE
Ciudad de MéxicoMX-CMXQuintana RooMX-ROO
CoahuilaMX-COASan Luis PotosíMX-SLP
ColimaMX-COLSinaloaMX-SIN
DurangoMX-DURSonoraMX-SON
Estado de MéxicoMX-MEXTabascoMX-TAB
GuanajuatoMX-GUATamaulipasMX-TAM
GuerreroMX-GROTlaxcalaMX-TLA
HidalgoMX-HIDVeracruzMX-VER
JaliscoMX-JALYucatánMX-YUC
MichoacánMX-MICZacatecasMX-ZAC

4. Common errors

ErrorCauseHow to fix it
Postal code with 4 digits (6600)Excel removed the leading zero.Format the column as text and type the value again: 06600.
Export Reason 1 or payment method code 3Excel removed the leading zero.Format the column as text and use 01, 03.
Invalid RFCThe RFC has dashes or spaces, or the wrong length.Remove them and check the length: 12 for companies, 13 for individuals.
Tax registration status not recognizedThe value differs from the catalog in accents, capital letters or spaces.Copy the value from the Tax Registration Status tab without changes.
Wrong adapterThe adapter does not match the Issuer in the file.Select the adapter of the issuing company.
Generic RFC rejectedXAXX010101000 or XEXX010101000 sent with the buyer's postal code.With a generic RFC, use the issuer's postal code.
Wrong stateState name instead of its code.Use the ISO code, for example MX-CMX.
VAT rate not recognizedThe cell is text or has a dropdown, or the rate is 16.Numeric cell with the decimal rate: 0.16.
Value not accepted for a fixed fieldInvoice, Credit Note, Business written with capital letters.Use lowercase.

5. Checking the result

  1. Go to Invoicing → Outgoing → Bulk Uploads and open the upload with the eye icon.
  2. Download the report. The last columns show the error message for each failed row.
  3. Fix only the failed rows and upload them again in a new file.

For questions about this process, contact the Brinta team.


Did this page help you?