2012 Mexico CFDI – eInvoicing Basics of the Mexico SAT

Scott Lewin
July 1, 2012

As discussed in the past, we highly recommend your organization look at packaged solutions to solve compliance for Mexico CFDI. However, if you are looking to understand the process flow for an outbound Invoice in Mexico and the complexities — below is what you will have to build. Remember, sending/receiving from the government is just part of the whole process. The most overlooked effort in any Mexico e-Invoicing project is the ERP configuration work.  Below is a sample of the inbound processes in Mexico for CFDI creation for an ERP system:

  • Process begins with the Customer creating an ERP invoice via its standard ERPprocess, (like the SAP VF01 transaction). This triggers the creation of a billing document as per normal ERP processing during which your end solution should create a file format and transmit to your middleware solution. This is traditionally done via your standard ERP direct integration protocols. Note – the ERP configuration to create this message and manage the process internally is the most over looked portion of any project. Don’t under estimate this work load and the constant changes to these configurations that will be necessary over the years as legislation changes.
  • Your CFDI compliance solution should receive the outbound file format, extract and package the data into SAT compliant XML and forwards it onto for fiscal validation, signature and approval.
  • Your Compliance Server will log the inbound message, validate it for compliance to mandatory attributes and sign it using your government assigned digital seal certificate.  The message is transmitted in real time to the SAT servers, which then validates and approves as two asynchronous messages.
  • Your solution should poll in real-time to obtain the approved SAT messages (including the SAT assigned timbre string), logging them into a long term archive repository, and then routing them back into your technical landscape for printing and updating in your ERP.
  • Status messages should be conveyed back to the ERP for monitoring at all times.  Your end users need this to monitor the flow as well as have audit ready data in case of government requests. Aside from status messages, you should also build into the ERP system the ability to view/print the invoice, along with functions such as contingency mode, invoice cancellation, receiving and reject/retry.  These must be configured in the back-end system.
  • After approval comes back from the government, the file format plus the SAT assigned protocol number is converted into a human readable invoice format and printed as additional shipment documentation accompanying the delivery.  Printing and the complexity with ‘extended attributes’ is often overlooked.
  • Also, the Invoice output format is expected to remain consistent across all ERP billing types and output conditions.
  • The SAT, typically when requested by the customer, requires the electronic facture be transmitted to the receiver in parallel to the delivery of the goods. This is typically accomplished via email in Latin America, so you will need to build this into your process flow. This way, when the truck arrives, the recipient will already have an electronic copy of the invoice to compare the printed output to whenever the goods physically arrive.
  • The printed invoice may accompany the truck throughout for potential review by police or customs officials at any point along its journey.  The official can scan the bar-code printed on the PDF and can validate it in real-time with the SAT servers to establish the validity of the goods movement.  Finally, as the goods arrive at their ultimate destination, the receiver can validate the printed invoice through this same channel.

Sign up for Email Updates

Stay up to date with the latest tax and compliance updates that may impact your business.


Scott Lewin

Gain timely insight and important up to the minute information about the current legislative changes in Latin America, including Brazil Nota Fiscal, Mexico CFDI, Argentina AFIP and Chile DTE. Learn how these changes affect your operations, your finances and also your Information Technology teams.
Share This Post

United States
June 14, 2019
Sovos Again Named a Top Workplace Based on Employee Satisfaction

Earlier this week, the Star Tribune (Minneapolis, MN) released its annual list of Top Workplaces. The newspaper compiles this list based on employee satisfaction scores for companies across Minnesota. Sovos has once again been named to this list as a national standard setter of leading workplaces because of the actions we take to put employees […]

E-Invoicing Compliance EMEA
June 13, 2019
French VAT Fraud Prevention Package to Include a New Attempt to Mandate B2B E-invoicing

The French Minister of Public Accounts and Action, which has authority over all tax matters, has taken advantage of the process that is required to transpose the EU E-Commerce Directive to launch a number of initiatives to curb VAT fraud, including a renewed attempt to create a system of mandatory e-invoicing. Going from B2G to […]

June 13, 2019
Knowing When and How to Reclaim IPT

An insurer may need to reclaim insurance premium tax (IPT) from a tax authority for many reasons. These include a policy cancellation or mid-term adjustment, an administrative error or issuing a no claims bonus. In each case, it’s important to be aware of the issues involved ahead of any reclaim to ensure taxes are recovered […]

Sales & Use Tax United States
June 7, 2019
Marketplace Sales Tax Collection Rules and Current State of Affairs

Marketplace sales tax laws are being used by states as an additional means to collect more sales tax revenue from remote sellers on marketplaces like Amazon, eBay, Etsy, and WalMart. These online marketplaces and the rules being introduced to compel marketplace tax compliance have introduced new sales tax collection and remittance questions and complexity. According […]

Tax Information Reporting United States
June 5, 2019
IRS Promises Clarity on Crypto Tax Regulations This Month

For the second time in the last month, the IRS has alluded to forthcoming guidance related to cryptocurrency and digital asset transactions.  IRS Commissioner Charles Rettig said in late May that clarification on crypto tax regulations might arrive by the end of June and gave further hints as to what might be included in the […]