Invoicing in your online store: automatic CFDI for your customers
How to let customers self-invoice: what data to ask for, common CFDI mistakes, and what to check with your accountant before you start.
Published 2 min readAdbify
A customer buys from your store and messages you on WhatsApp asking for an invoice. They send their tax ID, you copy it into a system, and sometimes the SAT rejects the invoice because one field does not match. That back-and-forth takes your team’s time and makes the customer wait. Well-set self-invoicing avoids it.
What self-invoicing is
It is a form where the customer enters their tax details after buying. The system uses those details and the order to issue the CFDI (Mexico’s electronic tax invoice). You are still the one who issues the invoice and answers for it. What changes is who types the data: the customer, who knows it best.
What a CFDI needs
Under CFDI 4.0, the data must match the customer’s tax status certificate (Constancia de Situación Fiscal). The fields that are almost always requested are:
- RFC (Mexican tax ID), with every character.
- Name or company name, exactly as it appears on the certificate.
- Tax postal code.
- Tax regime, which must match the RFC.
- CFDI use, for example general expenses or computer equipment.
If one field does not match, the invoice is rejected. That is why it helps to ask for the certificate as a PDF instead of relying on what the customer remembers.
Common mistakes
- Confusing the letter O with the number zero in the RFC.
- Writing the name without accents or in a different form of the company name, for example leaving out “S.A. de C.V.”
- Choosing a tax regime that does not match the RFC.
- Requesting an invoice for an order that was already invoiced. Know how your system prevents duplicates.
How to automate it in your store
- Use an invoicing tool that connects to your store and has a self-invoicing form.
- Put the link on the order confirmation page and in the purchase email.
- Ask for the order number and total to validate the purchase. You do not need any payment data.
- With the customer’s permission, save their tax details for future orders.
- Test the whole flow with a test purchase before you publish the link.
What to check with your accountant
This is a general overview. Tax rules change, so confirm them with your accountant and in the SAT guidance.
- Whether your tax regime allows you to issue CFDI with the tool you chose.
- How an invoice is cancelled and what happens when a purchase is refunded.
- What to do when the customer pays in a different way than the one shown on the invoice.
- How to record your invoices in your accounting.
How to start
Write your questions for the accountant this week. Then choose the tool, set up the form, and run a test purchase. If your store does not have a clear buying and payment flow yet, review the online payments guide first so the invoice stays connected to the payment from the start.
Want help with this?
See how we handle it in our service: E-commerce.