Mexico's generic RFC for foreign customers: why a vendor asks for your tax ID
When a Mexican vendor invoices a company abroad, the CFDI 4.0 uses the generic RFC XEXX010101000 for the customer, plus the customer's country and tax ID; the 0% VAT rate on exported services does not follow from that alone.
A company in the United States hires a Mexican software studio and receives its first invoice. The customer name is correct, but the tax ID field shows a string of Xs and zeros, and a message asks for the company's tax ID and country. Nobody on the finance team knows whether the request is routine, whether the invoice is valid, or why it mentions VAT at 0%.
At Soulbit Academy we explain this because foreign buyers meet it before the vendor's own team does. This guide covers what the generic foreign RFC is, how it differs from the domestic one, which receiver fields a CFDI 4.0 carries, why the 0% VAT rate is not automatic, and what the vendor's invoice cannot do. The payment complement has its own article, linked below.
The generic foreign RFC: what XEXX010101000 is and when it is used
The generic foreign RFC is the key XEXX010101000, and a Mexican vendor uses it on a CFDI when the buyer is tax resident outside Mexico and not registered in the RFC, Mexico's taxpayer registry. The SAT's filling guide for Annex 20 states that, for foreign residents, this generic key goes in the receiver's RFC field.
It is the right key when a foreign company buys services or goods from a Mexican vendor and has no Mexican registration. It stops being right when the buyer does have an RFC, for example because it operates through a permanent establishment in Mexico. Then the invoice goes to its real RFC, with its registered name and postal code.
Can a Mexican vendor invoice a foreign customer with the domestic generic RFC?
It is not the correct key, because the domestic generic RFC is meant for domestic buyers without an RFC. With a foreign customer, the key XAXX010101000 makes the invoice look like a sale to the general public inside Mexico. That contradicts the export and weakens support for any special tax treatment.
Domestic generic RFC versus foreign generic RFC
The difference between the two generic keys is who the receiver is: XAXX010101000 serves a domestic taxpayer who does not provide an RFC, and XEXX010101000 serves a foreign resident. The SAT guide names them separately, and each leads to different consequences in the rest of the invoice.
| Aspect | Domestic generic RFC | Foreign generic RFC |
|---|---|---|
| Key | XAXX010101000 | XEXX010101000 |
| Receiver it applies to | A domestic taxpayer that does not provide an RFC, typically the general public | A tax resident abroad that is not registered in the RFC |
| Receiver name | "PUBLICO EN GENERAL" in the SAT guide's examples | The foreign customer's legal name, as is usual practice; the guide does not fix a string |
| Receiver tax regime | 616, No tax obligations | 616, No tax obligations |
| CFDI use | S01, Without tax effects, in the guide's examples | S01, Without tax effects, which the guide sets for this case |
| Foreign tax data | Not applicable | Tax residence country and foreign tax ID |
| What it documents | A domestic sale with an unidentified buyer | A transaction with a foreign resident |
Both keys share regime and use, and they differ in the foreign data and in what the invoice proves. That last row is what matters in a review: an invoice with XEXX010101000 and the customer's country supports that the counterparty was a foreign resident.
Receiver fields on a CFDI 4.0 issued to a customer abroad
A CFDI 4.0 issued to a customer abroad carries seven receiver data points: the generic RFC, the name, the tax address, the regime, the use, the tax residence and the foreign tax identification number. The December 2025 version of the Annex 20 guide defines each one, and several have specific rules for foreign residents.
The RFC is XEXX010101000. The receiver tax regime is 616, No tax obligations, which the guide requires when the RFC is that generic key. The CFDI use is S01, Without tax effects, which the guide sets for an invoice to a foreign resident with the generic RFC.
The tax residence field holds the customer's country code, such as USA. The guide requires it when the RFC is the generic foreign one and the foreign trade complement is included or the foreign tax ID is recorded. The foreign tax ID field, called NumRegIdTrib, holds the identification number the customer's country issued, from 1 to 40 characters.
The receiver tax address requires a postal code, and for generic keys the guide does not tie it to an SAT record. In invoicing practice it is the issuer's place-of-issue postal code, and the guide's example with the domestic generic key shows that approach. For the foreign receiver's name, the guide fixes no string and the usual choice is the customer's legal name.
| CFDI 4.0 field | What is recorded for a customer abroad | Source of the rule |
|---|---|---|
| Rfc (receiver) | XEXX010101000 | Annex 20 filling guide, Receiver node |
| Name | The foreign customer's legal name | Usual practice; the guide fixes no string for this key |
| Receiver tax address | Postal code of the issuer's place of issue | Operating criterion for generic keys; confirm with the invoicing provider |
| Receiver tax regime | 616, No tax obligations | Annex 20 guide: required with XEXX010101000 |
| CFDI use | S01, Without tax effects | Annex 20 guide: required with XEXX010101000 |
| Tax residence | Country code, for example USA | Annex 20 guide: required with the foreign generic RFC if the foreign trade complement or the tax ID is included |
| Foreign tax ID | The customer's tax ID in its country | Annex 20 guide: optional, and required with the foreign trade complement |
What a foreign company should send the vendor
A foreign company should send its Mexican vendor four items before the first invoice: its exact legal name, its country of tax residence, its tax ID and the email for the PDF. With those four items the receiver node is complete without guessed data, and the invoice stamps without rejections.
Consider a hypothetical case. A US company buys development work from a Mexican studio and receives a monthly invoice of 8,000 dollars, an amount assumed for this example. The receiver node reads: RFC XEXX010101000, name equal to the company's legal name, regime 616, use S01, residence USA and the company's tax ID.
Why does the vendor insist on the tax ID if the RFC is generic?
The vendor insists because the tax ID is the invoice's link to the foreign resident who contracted and paid. For services eligible for 0% VAT, the law requires the invoice to record that number. Without it, the vendor risks losing the rate and billing VAT it cannot recover from you.
The payment method depends on the collection schedule. If the customer pays the same day, the vendor uses PUE and the invoice is enough. If payment comes later, it uses PPD and issues a payment complement for each collection. That procedure is in Mexican CFDI invoice explained for foreign companies and is not repeated here.
The 0% VAT rate on exported services is not automatic
The 0% VAT rate on exported services does not turn on because the invoice carries the generic foreign RFC: it depends on the service meeting the conditions of Article 29 of Mexico's VAT law. The RFC identifies the receiver, while the law decides the tax treatment, and the CFDI must reflect both consistently.
Section IV of Article 29 of the VAT law treats as exports the use abroad of services provided by Mexican residents. For information technology services, the text requires four conditions at once.
The first is that technology infrastructure, human resources and materials located in Mexican territory are used. The second is that the provider's IP addresses are in Mexico and those of the recipient and its internet provider are abroad. The third is that the invoice records the tax registration number of the foreign resident who hired and paid for the service. The fourth is that payment comes from accounts at foreign financial institutions and is deposited in the provider's account at a Mexican bank.
Those are the conditions of the information technology paragraph. Other services in the same section have their own requirements, and the text excludes services provided over virtual private networks or applied to goods located in Mexico. A miscellaneous tax resolution may refine how use abroad is proven; as of December 2026 we did not confirm its current number, and the vendor should check the Resolución Miscelánea Fiscal for the current year.
What if the foreign customer pays from an account that is not at a foreign financial institution?
If payment does not come from an account at a foreign financial institution, the payment condition in the information technology paragraph may not be met, and the 0% rate with it. Only the vendor's accountant can assess this with the full facts, so it should be settled before choosing how to collect.
Common mistakes and what the generic RFC does not solve
There are five common mistakes when invoicing a customer abroad, and most come from mixing up the RFC with the tax treatment. The first is using XAXX010101000 with a foreign customer. The second is omitting the country and tax ID, which leaves the export unsupported. The third is applying 0% VAT by default without checking Article 29.
The fourth is believing the foreign trade complement is mandatory for invoicing a foreigner. That complement is designed to document exports of goods, not services, and for a professional service the income CFDI with the receiver data is usually the working instrument; the accountant must confirm it per transaction. The fifth is forgetting that collection can require a separate payment complement.
Another confusion is thinking the generic RFC removes withholding. That topic belongs to the opposite direction, when a Mexican company pays a foreign resident, and it is covered in Mexican withholding tax on payments to foreign residents. For companies also weighing their regime, and for the flow of collections, suppliers and payroll across the border, see the Mexico-United States corridor and RESICO for companies in 2027.
What Soulbit provides, and what it does not
Soulbit does not issue CFDIs, does not stamp them and is not an invoicing provider: the Mexican company issues the CFDI with its own authorized invoicing provider. What Soulbit gives a company is a way to collect from a foreign customer in stablecoin and the account's collection history.
SoulBit Business, the mode for companies, requires KYB verification and allows payment links that collect in stablecoin. A customer abroad pays that link from its side, and the company has the account's collection history to support its accountant. Receiving funds this way is described in receiving international payments in USDC in Mexico.
It is also fair to say what is not there. Soulbit's local banking rails are Colombian only, so there is no exit to Mexican pesos inside the platform. Soulbit also does not determine the VAT treatment. For information technology services, the law requires payment to come from accounts at foreign financial institutions and to be deposited in the provider's account at a Mexican bank, so the accountant should assess whether a stablecoin collection meets that condition before the vendor chooses how to collect.
Frequently asked questions
Which RFC does a Mexican vendor use to invoice a foreign customer?
A Mexican vendor invoicing a customer that is tax resident abroad and not registered in Mexico's RFC uses the generic key XEXX010101000. The invoice also carries tax regime 616 and CFDI use S01, and should record the customer's country and tax ID.
Why does a Mexican vendor ask a foreign company for its tax ID?
A Mexican vendor asks for the tax ID because the invoice must show that the buyer is a foreign resident. For a 0% VAT export of services, the law requires the invoice to record the foreign resident's tax registration number, so the vendor cannot leave it blank safely.
What is the difference between XAXX010101000 and XEXX010101000?
XAXX010101000 is the generic key for domestic buyers without an RFC, such as the general public, and XEXX010101000 is for foreign residents. They are not interchangeable: using the domestic key for a foreign customer hides that the transaction is an export.
Does the generic foreign RFC mean the VAT rate is 0%?
The generic foreign RFC does not mean the VAT rate is 0%. Article 29 of Mexico's VAT law sets conditions for exported services, and an invoice addressed to XEXX010101000 can still carry the general VAT rate if those conditions are not met.
Does paying a Mexican vendor in stablecoin change the invoice?
Paying in stablecoin does not change the generic RFC or the receiver fields, because those depend on who the customer is, not on the payment method. It can affect proof that payment comes from abroad, a point the vendor's accountant should assess for the 0% rate.
Want your company to add stablecoins to its operations?
Join the Soulbit waitlist and start paying payroll, collecting and managing treasury without SWIFT.
Join the waitlist