Reference🧭 Global overviewsAdvanced⏱ 20 min read

🧾 Mandatory e-invoicing around the world

Brazil's NF-e, Mexico's CFDI, Italy's Sistema di Interscambio, Saudi Arabia's Fatoora, Poland's KSeF, India's IRN, and the ViDA directive: where tax authorities have inserted themselves into the sales process, what that means for the checkout flow, and what breaks when the tax check fails.

The invoice is now a rail

Under a mandatory e-invoicing regime, the tax authority authorizes an invoice before it takes legal effect. A growing number of markets use one. The business prepares a structured file in a prescribed schema, submits it through a designated channel, and then waits for an acknowledgment that everything else depends on. Until that acknowledgment comes back, the document is not an invoice, whether for the buyer, the tax authority, or a court.

The link to payment collection runs through the receivable: the invoice creates it, and settlement extinguishes it. When no valid invoice exists, the money received is a movement of funds with no legal basis, tied to no obligation of the customer. Four consequences follow. The accounting entry matches no receivable, payment reminders have nothing to point to, the buyer loses its right to deduct the tax, and any commercial dispute is argued without an enforceable document.

The model originated in Latin America, where tax authorities grew used to authorizing a transaction before it happens. Italy brought it to Europe on January 1, 2019, becoming the first EU country to mandate e-invoicing between taxable persons established on its territory (Legislative Decree 127/2015). The list has grown every year since. Saudi Arabia, Poland, and India each chose a different control architecture. No single invoicing tool covers all three markets.

  • Numbering no longer belongs to the seller. An identifier issued by the authority, or by a third party it accredits, becomes the invoice's legally binding reference, and often the key for matching the payment.
  • The data collected at the point of sale changes: the buyer's tax ID, tax address, the exact nature of the transaction, and the tax treatment. A checkout flow designed for another market does not ask for it.
  • Invoice status becomes something to monitor, just like payment status, with its own rejections, resubmissions, and processing times.
  • The timeline is set by regulation. It cannot be negotiated or pushed back. A missed deadline is not a project delay: it means the business cannot invoice, and so cannot lawfully collect payment.
🔑
A tax rejection is a payment collection incident
An invoice rejected by the government platform is deemed never to have been issued. The sale has happened and the payment may already have been collected, yet the corresponding receivable does not legally exist. The symptom mirrors a card clearing reject: a credit on the account that no document ties to a customer obligation. Tax rejections therefore need the same setup as payment rejects: daily monitoring, a dashboard, and an on-call rotation.

Clearance, post-audit, and network: three ways to check an invoice

A control architecture defines when an invoice is checked for tax purposes, who performs the check, and what the check produces. Practitioners distinguish two main families. In the post-audit model, invoices flow freely between the parties, and the tax authority checks them later, during an audit. This was historically the regime in Europe, the US, and much of Africa and Asia. The burden falls on archiving. Years later, the taxable person must still be able to prove the authenticity of the document's origin, the integrity of its content, and its legibility.

In the clearance model, the tax authority steps in at or before issuance, and approves or rejects the document. The tax check stops being a deferred risk and becomes a real-time dependency of the sales process. A third model has gained ground more recently: the interoperable network, in which the invoice travels from one accredited provider to another and the authority receives a report rather than the document itself. Peppol works this way. Launched as an EU pilot project in 2008, the network has been governed since 2012 by OpenPeppol AISBL, a nonprofit association based in Brussels. Its topology borrows the four-corner model already used by card networks. The sender hands its invoice to its access point, which routes it to the recipient's access point. Each party contracts only with its own provider.

MarketRegime and operatorControl architectureWhat happens if the check fails
BrazilNota Fiscal Eletrônica (NF-e), established by Ajuste SINIEF 07/05; authorization issued by the state SEFAZPrior authorization, one transaction at a time, before the taxable transaction takes placeThe taxable transaction cannot legally take place; the goods cannot move
MexicoCFDI, stamped by the SAT (Mexico's tax authority) or a Proveedor Autorizado de Certificación (PAC)Certification by an accredited third party at issuanceThe invoice does not exist for tax purposes; the buyer cannot deduct the tax
ItalySistema di Interscambio (SdI), Agenzia delle EntrateMandatory routing through a government channel, with format and consistency checksThe invoice is deemed never issued, whatever copies the parties exchanged
Saudi ArabiaFatoora program, Zakat, Tax and Customs Authority (ZATCA)Compliant generation, then integration of the invoicing system with the authority'sThe document is not an e-invoice under the regime
PolandKrajowy System e-Faktur (KSeF), Ministerstwo Finansów (Ministry of Finance)Government platform for issuing, transmitting, receiving, and storing invoicesNo KSeF number is assigned: submission, and therefore issuance, cannot be proven
IndiaInvoice Registration Portal (IRP), GST regimeRegistration: the IRP returns an Invoice Reference Number (IRN) and a QR code to print on the invoiceThe document is not a valid GST invoice; the buyer's input tax credit is at risk
Six mandatory regimes, six ways to check the same invoice

From a distance, these six regimes look alike, but they impose different architectural constraints. Three criteria set them apart, and they are enough for scoping. The first is the timing of the check, before or after the taxable transaction. The second is the authority that performs it: the tax administration itself or an accredited private operator. The third is the output it produces: an acknowledgment, an identifier, a signature, or the full document.

ℹ️
“Clearance” is not a legal term
No tax law uses the term; it belongs to practitioners' jargon. It is a handy way to group regimes that share no common lineage, but it carries no normative weight. Two regimes labeled clearance can differ more from each other than from a post-audit regime. Use it to frame a discussion, never to draft a requirement.

Latin America: the invoice comes before the sale

The Nota Fiscal Eletrônica is Brazil's electronic tax document for the movement of goods. Established by Ajuste SINIEF 07/05 of CONFAZ, the council of Brazil's state finance secretaries, it becomes valid only after two successive steps. The first is the issuer's digital signature. The second is an authorization for use granted by the state tax authority. This authorization must be obtained before the taxable transaction takes place. As soon as it arrives, the issuer sends the NF-e file and its authorization protocol to the recipient.

How a Brazilian NF-e flows, and where payment collection fits in
Sales system
Generates the structured NF-e file
The buyer's tax data, the nature of the transaction, and the applicable tax treatment must be known at this point, so they have to be collected before payment
Issuer
Digitally signs the document
The signature binds the issuer, and the authorization request is only admissible if it is signed
State SEFAZ (tax authority)
Checks the file and grants the authorization for use
Authorization comes from the tax authority of the state concerned, not from a single federal agency. A seller operating in several states deals with several authorities
Seller
Carries out the taxable transaction
Not before. This is the step that breaks most imported architectures: the sale waits for the invoice, not the other way around
Seller
Sends the NF-e and its protocol to the recipient
The authorization protocol is the evidence to keep and produce in an audit or a dispute
Collection
Payment settles a receivable that already exists
The natural reconciliation key becomes the ID of the authorized NF-e, not the internal order reference
⚠️
A PDF issued after capture does not work in Brazil
An invoicing module triggered after payment is collected produces a document with no authorization for use, and therefore no legal value, for a taxable transaction that has already happened. The Brazilian regime requires the reverse order: the invoice precedes the transaction. This mistake is both the most common and the most expensive. The flaw lies in the flow's architecture, not in the accounting setup, so it has to be caught during scoping, not testing. The same phase settles who carries the obligation when a merchant of record sells in its own name.

Mexico chose delegation over a single government channel. A Mexican invoice exists for tax purposes only once it has been stamped. The stamp, meaning the certification, is applied by the SAT itself or by a *Proveedor Autorizado de Certificación (PAC), an accredited private operator. The Comprobante Fiscal Digital por Internet moved to version 4.0 on January 1, 2022. It has been the only valid version since its coexistence with version 3.3 ended on March 31, 2023*. The regime also distinguishes payment in full from deferred or installment payment. In the latter case, collecting the payment triggers a payment receipt document, separate from the original invoice and also subject to certification.

🔑
Mexico's PAC, a model others have copied
The Proveedor Autorizado de Certificación is a private operator performing an act of public authority, since it stamps invoices on the SAT's behalf. This setup inspired much more recent regimes, including Europe's accredited platforms. It also places a critical link in the payment collection chain with a commercial vendor. If the provider goes down, the business cannot issue invoices, and therefore cannot sell. That is why a PAC's service levels are negotiated like an acquirer's, with the same availability and reversibility requirements.

Europe: Italy's SdI and Poland's KSeF

The Italian regime is built on the requirement to route every invoice through a government-operated channel. The obligation applies to the channel, not to an archiving format or an enhanced PDF. The invoice is an XML file in FatturaPA format, submitted to the Sistema di Interscambio run by the Agenzia delle Entrate, Italy's tax agency. The SdI checks that mandatory fields are present, that the VAT numbers exist in the anagrafe tributaria (the national tax register), that the recipient's electronic address is valid, and that the tax adds up. It then accepts or rejects the document.

An SdI rejection is called a ricevuta di scarto, and it has a specific legal consequence: the invoice is deemed never issued. To fix the error, the seller resubmits the invoice with its original date and number; only the file name changes. A fattura immediata (immediate invoice) must be transmitted within 12 days of the transaction, and a fattura differita (deferred invoice) by the 15th of the following month. Electronic storage with evidential value runs for 10 years. Since January 1, 2024, every taxable person established in Italy has been covered; the forfettari flat-rate micro-businesses were the last to join.

Poland chose a government platform with a broader scope than Italy's channel. The Krajowy System e-Faktur (National e-Invoicing System) centralizes issuance, transmission, receipt, and storage, so the recipient retrieves the invoice from the system instead of receiving it. The issuer uploads a structured invoice and gets back a KSeF number, which serves as proof of submission. The rollout comes in phases that cover different obligations. Receiving invoices through KSeF becomes mandatory for everyone on February 1, 2026. The obligation to issue applies first, on that same date, to businesses whose 2024 sales, including tax, exceeded PLN 200 million, then to all others on April 1, 2026. The smallest businesses, with invoiced sales of no more than PLN 10,000 a month, switch over on January 1, 2027.

Sistema di Interscambio (Italy)KSeF (Poland)
OperatorAgenzia delle EntrateMinisterstwo Finansów
Role of the channelChecks the invoice and routes it to the recipientCentralizes issuance, receipt, and storage
Proof of issuanceRicevuta di consegna (delivery receipt), showing the date of receiptKSeF number assigned on submission
If delivery failsRicevuta di impossibilità di recapito: the invoice is validly issued and placed in the recipient's reserved areaNot applicable: the recipient retrieves the invoice from the system
Entry into forceJanuary 1, 2019; extended to all established taxable persons on January 1, 2024Receipt from February 1, 2026; issuance phased in through January 1, 2027
Retention10 years with evidential value; free storage service for invoices routed through the SdIHandled by the platform itself
Two government platforms compared, from an operations standpoint

Spain and Portugal run on separate timelines, and a team covering the Iberian Peninsula has to track them separately. Spain is building its regime around *Verifactu and a B2B mandate whose deadlines will run from a ministerial order that has yet to be published. Portugal's timeline, by contrast, is set. Plain PDFs stop counting as electronic invoices after December 31, 2026. From January 1, 2027, a qualified electronic signature or seal and the structured CIUS-PT** format become the rule.

Gulf and Asia: integration in Saudi Arabia, registration in India

Saudi Arabia split its reform into two phases under the Fatoora brand, run by the Zakat, Tax and Customs Authority. The first phase, known as the generation phase, has applied since December 4, 2021. It requires invoices and notes to be generated and stored using a compliant electronic solution. It covers all taxable persons except nonresidents, as well as any third party issuing invoices on behalf of a VAT-registered supplier.

The second phase, known as the integration phase, began on January 1, 2023. It requires invoices, credit notes, and debit notes to be exchanged and processed in a structured electronic format, through a technical connection to the authority's systems that includes its security requirements. It is phased in. ZATCA rolls it out in waves, one group of taxpayers at a time, with at least six months' notice before each wave. That notice period is the time between a taxpayer group being notified and the date the obligation becomes binding on it. It therefore sets the real window for the integration project, and lost time cannot be made up.

India's regime is based on registering the invoice with a portal that does not deliver it to the buyer. Under the GST (goods and services tax) regime, businesses with aggregate annual turnover of ₹5 crore or more have had to register their B2B invoices on an Invoice Registration Portal since August 1, 2023 (GST Notification 10/2023). The IRP receives the invoice data, registers it, and returns an Invoice Reference Number with a QR code that must appear on the invoice. The parties still exchange the document directly.

⚠️
In India, a missing IRN costs the buyer
A supplier covered by the mandate that issues an invoice without registering it produces a document that is not an invoice under GST. The consequences also reach the buyer, whose input tax credit can be challenged. That is why large Indian buyers check their suppliers' IRNs, and withhold payment when one is missing. The main effect of an unregistered invoice therefore falls on the issuer's cash flow, well before any administrative penalty.
Jan. 1, 2019
Italy mandates e-invoicing between taxable persons established in the country, the first EU member state to do so
Legislative Decree 127/2015; Agenzia delle Entrate
₹5 crore
aggregate annual turnover at which IRP registration becomes mandatory in India
GST Notification 10/2023, effective August 1, 2023
PLN 200M
2024 sales, including tax, above which issuing through KSeF is mandatory from February 1, 2026
Polish Ministry of Finance, KSeF portal, 2026
July 1, 2030
date the EU e-invoicing and intra-EU digital reporting requirements take effect
Council Directive (EU) 2025/516 of March 11, 2025

ViDA: what the EU requires, and by when

Until 2025, a member state that wanted to mandate e-invoicing had to request a derogation from the Council under Article 395 of the VAT Directive. Italy had obtained one. Council Implementing Decision (EU) 2024/3150 of December 10, 2024 extended that authorization to December 31, 2027. The authorization includes an early-termination clause that applies if the EU adopts a general e-invoicing regime in the meantime. Council Directive (EU) 2025/516 of March 11, 2025, part of the VAT in the Digital Age package, removes the derogation step. Each member state can now mandate e-invoicing on its territory without prior authorization.

The directive's first effect was immediate: national announcements multiplied as soon as it was adopted. The second, more far-reaching effect is deferred to July 1, 2030, when e-invoicing becomes the default regime in the VAT Directive itself. Article 217 redefines the electronic invoice. Article 218 makes it the standard, and Article 232 removes the requirement for the recipient's prior consent where the invoice complies with the European standard set under Directive 2014/55/EU. Some national leeway remains: member states are still free to allow other standards for purely domestic transactions.

The third effect concerns reporting, and it matters most for groups operating in several member states. Article 262 is replaced, and recapitulative statements (EC Sales Lists) give way to transaction-by-transaction digital reporting of intra-EU transactions. Existing national systems will have to converge on this common framework, with alignment due by January 1, 2035. The Italian, Polish, and Spanish regimes are therefore steps toward that common framework, not its end state.

2005
Brazil introduces the NF-e
CONFAZ's Ajuste SINIEF 07/05 requires prior authorization for use from the state SEFAZ, the template for the clearance model.
Jan. 1, 2019
Italy makes the SdI mandatory across the board
The first EU member state to mandate e-invoicing between taxable persons established in the country, under Legislative Decree 127/2015.
Dec. 4, 2021
Saudi Arabia, generation phase
ZATCA's Fatoora program requires invoices and notes to be generated and stored electronically.
Jan. 1, 2022
Mexico, CFDI 4.0 takes effect
The only valid version since coexistence with version 3.3 ended on March 31, 2023.
Jan. 1, 2023
Saudi Arabia, integration phase
Rollout in taxpayer waves, with at least six months' notice before each wave.
Aug. 1, 2023
India lowers the threshold to ₹5 crore
GST Notification 10/2023 extends IRP registration to a large share of B2B businesses.
Jan. 1, 2024
Italy, end of size-based exemptions
Forfettari flat-rate micro-businesses join the regime, so every taxable person established in Italy is now covered.
March 11, 2025
ViDA package adopted
Directive (EU) 2025/516 removes the Article 395 prior derogation for mandating domestic e-invoicing.
Feb. 1 and Apr. 1, 2026
Poland, KSeF go-live
Receipt mandatory for all on February 1; issuance mandatory on the same date above PLN 200 million in 2024 sales, then for everyone else on April 1.
July 1, 2030
E-invoicing becomes the EU default
Amended Articles 217, 218, 222, 232, and 262 take effect, along with digital reporting of intra-EU transactions.
Jan. 1, 2035
National systems converge
Deadline for aligning existing national systems with the EU digital reporting framework.
ℹ️
Two layers that should not be confused
The semantic standard describes what an invoice contains. In Europe, it derives from Directive 2014/55/EU and comes in two syntaxes, UBL and CII. The network describes how the invoice travels: Peppol, a government platform, or a bilateral channel. The two are chosen separately. An invoice that fully complies with the semantic standard still has no effect if it travels through a channel the destination country does not accept. Italy is the example: a valid FatturaPA file takes effect only once it has passed through the Sistema di Interscambio.

How mandatory e-invoicing affects payment collection

The first impact is on the checkout flow and the data it collects. A cleared invoice requires information that payment does not: the customer's tax ID, tax address, the classification of the transaction, and sometimes the tax treatment or a standardized product code. This data must be available at the time of sale, not at the accounting close. A flow designed for a post-audit market does not collect it. Adding it late in the checkout hurts conversion, and capturing it carelessly generates rejections at scale.

The second impact concerns reconciliation, and it comes down to an architecture decision that is cheap if made early. The legally binding reference for a sale becomes the identifier issued by the authority or its delegate, not the internal order number. The whole reconciliation chain, from the batch through payout and accounting entry to the payment reminder, benefits from being anchored on that key rather than on a reference the tax authority does not know. A third impact affects services, where tax becomes due on payment under several regimes. The reportable event is then the payment, not the issuance of the invoice.

Proof identifiers by regime, and the reconciliation key to keep
BR  chave de acesso NF-e + protocolo de autorizacao
      -> proof of the authorization for use issued by the state SEFAZ

MX  UUID (folio fiscal) of the stamped CFDI
      -> proof of certification by the SAT or an accredited PAC

IT  identificativo SdI + ricevuta di consegna
      -> proof of issuance; the ricevuta shows the date of receipt

PL  numer KSeF
      -> proof of submission, assigned by the platform on submission

IN  Invoice Reference Number (IRN) + QR code
      -> proof of registration on the Invoice Registration Portal

Operating rule: store this identifier alongside the order reference
and the payment reference, not instead of them. Each of the three
serves a different audience.
MarketWhen the tax check happensImpact on the checkout flowMost common failure point
BrazilBefore the taxable transaction takes placeThe invoice gates the sale: the order of steps is reversedInvoicing module triggered after payment capture
MexicoAt issuance, by the SAT or a PACAvailability depends on an accredited private providerPAC outage not treated as a payment incident
ItalyAt transmission, within 12 days of the transactionDocument status must be tracked, and rejected invoices resubmittedUnmonitored ricevute di scarto: invoices silently void
PolandOn submission to the government platformThe KSeF number becomes the proof of issuance to keepPhased timeline misread: issuance required a quarter sooner than planned
IndiaAt registration on the IRPThe IRN must appear on the document sent to the buyerInvoice without an IRN: the corporate buyer withholds payment
Saudi ArabiaCompliant generation, then integration by waveStart date depends on the taxpayer group notifiedWave notice ignored: no project window left
What each regime means for the payment flow
↩️
Credit notes and refunds
A card refund without a matching tax credit note creates a permanent gap between cash flows and the books. Clearance regimes treat the credit note as a document that needs authorization, with its own checks and its own rejections.
⏱️
Collections and dunning
An invoice that has not been validated is not an enforceable receivable. Chasing payment on a rejected invoice invites an immediate dispute and wastes time against the deadline. The dunning cycle must be triggered by tax status, not by the internal issue date.
🏦
Receivables financing
An invoice validated by the tax authority carries proof of existence that a lender can check without going through the seller. This is a real advantage: these regimes reduce the information asymmetry that makes factoring more expensive.
🧩
Sales through a third party
When a platform or a merchant of record collects payment in its own name, who carries the invoicing obligation is determined by contract and local law. It cannot be inferred from the diagram of funds flows.

Running a clearance regime day to day

Running a clearance regime means continuously processing the responses returned by the tax platform. That flow starts at go-live. Unlike the integration project that precedes it, it never stops. Monitoring it uses the same metrics as a clearing queue: expected volume, rejection rate, age of the oldest unresolved rejection, and average time to resubmit.

  • Monitor responses daily, with an on-call rotation. An unresolved rejection gets older, and some regimes cap the time allowed to resubmit.
  • Never renumber on resubmission where the regime forbids it: in Italy, the resubmitted invoice keeps its original date and number, and only the file name changes.
  • Treat the accredited provider's availability as an operational risk: a fallback plan, an alert threshold, and a contract clause on availability and reversibility.
  • Keep a register of proof identifiers (protocol, UUID, identificativo, number, IRN) that the collections and disputes teams can access, not just accounting.
  • Archive according to local rules, which set their own retention period and format: 10 years with evidential value in Italy, with free storage for invoices routed through the SdI.
  • Tie regulatory deadlines to the resource plan, checking them with the relevant authority rather than in a summary written for another market.
⚠️
The imported-model trap
The classic mistake is to generalize from a regime the team already knows. A team used to Italy's SdI assumes the platform delivers the invoice, which is wrong in India, where the IRP only registers it. A team used to Mexico looks for an accredited third party where the government runs the channel itself. Start dates, formats, and proof identifiers differ from one regime to the next. Each market must therefore be researched on its own terms, with its own authority, and any gaps missed during scoping surface at the first go-live.

Scope is the set of flows a regime makes mandatory, and it varies significantly from country to country. Italy includes sales to consumers and, since July 1, 2022, has folded cross-border transaction reporting into the SdI, with document types dedicated to self-billing and intra-EU acquisitions. India covers only B2B above a threshold. Poland phases in by company size and date. Mapping the scope therefore means looking at four flows, each of which can fall under a different obligation in the same country: domestic B2B, B2C, cross-border, and transactions with the public sector.

🔑
Four questions to settle before entering a market
1. Which authority validates the invoice, the tax administration or an accredited third party, and when: before or after the taxable transaction. 2. What additional data must be collected at the time of sale, and whether it is available at that point in the flow. 3. Which identifier serves as proof, and where it fits in the reconciliation chain. 4. Who holds the invoicing obligation when a third party collects payment in its own name. These four answers drive technical scoping. None of them can be fixed during testing.