English English

MENU

14 minute read

A definitive guide to China’s e‑fapiao system

TL;DR

  • China operates a nationwide, clearance‑based e‑invoicing system for VAT invoices, with the State Taxation Administration (STA) validating e‑fapiao before they become legally valid
  • Invoices are issued as structured XML and rendered primarily in OFD, with PDF sometimes provided in parallel for convenience
  • The regime covers B2B, B2G and B2C transactions. Paper and legacy formats are being progressively phased out, making e‑fapiao the default for VAT invoicing
  • Businesses must archive cleared XML plus key artefacts (such as QR code, invoice code/number and digital signature) for at least 10 years, with some voucher categories requiring retention of up to 30 years

E‑invoicing in China: an overview

China is moving decisively towards a fully digital VAT invoice landscape. Electronic VAT invoices, known as e‑fapiao, are now at the centre of this transformation.

Under the current model, invoices are created in structured XML and submitted electronically to the State Taxation Administration (STA). An invoice becomes legally valid only after successful STA clearance. The buyer typically receives an OFD rendering and, in many cases, a PDF copy, but the XML itself is the legal source of truth.

In this article we explore:

  • How China’s clearance‑based e‑fapiao system works in practice
  • The key milestones in China’s e‑invoicing journey
  • What the regulations mean for AP and AR processes
  • How to achieve and maintain compliance
  • How ecosio can simplify operations for businesses active in China.

Today, businesses operating in China should assume that e‑fapiao is the default for VAT invoicing and plan accordingly.

Looking to stay up-to-date with Chinese regulations?

Our e-invoicing in China country page is constantly updated to reflect the latest requirements

What is e‑fapiao?

E‑fapiao (electronic fapiao) is China’s official electronic VAT invoice. Each e‑fapiao is created in structured XML, cleared in real time by the State Taxation Administration (STA) and returned with a unique invoice code and number, digital signature and QR code. The XML is the legal source of truth, while OFD/PDF renderings are primarily for human‑readable display.

China’s e‑invoicing journey: a timeline

China’s move to fully digital e‑fapiao has unfolded over several phases. The timeline below summarises the key milestones.

  • 2016–2019: Initial e‑invoice pilots: Early pilots for electronic VAT invoices in selected regions and sectors laid the groundwork for a nationwide model.
  • 2020–2022: Expansion of Special VAT e‑fapiao pilots: Special VAT e‑fapiao pilots extended to major cities and industries.Real‑time STA validation became standard in pilot areas, embedding the clearance concept.
  • 2023–mid‑2024: Broader taxpayer coverage: Coverage widened to more categories of taxpayers. Newly registered taxpayers increasingly defaulted to issuing e‑fapiao, accelerating adoption.
  • 1 December 2024: Full digitalisation permission: All taxpayers are permitted to issue fully digitalised e‑fapiao, marking a major inflection point.
  • From 2025: Phasing out legacy formats: Paper and earlier electronic formats are progressively phased out, and e‑fapiao becomes the nationwide norm for VAT invoicing.

For organisations already active in China or entering the market, planning around legacy models is no longer sufficient. Systems, processes and controls now need to be designed with clearance‑based e‑fapiao as the baseline.

How China’s e‑invoicing rules may affect your business

China’s e‑invoicing framework affects far more than invoice formats. It changes when and how tax authorities see transaction data, and what businesses must do to keep invoices valid and deductible.

Key implications include:

  • Stronger alignment between tax, finance and IT: Invoice data must be structured according to STA specifications. Tax, finance and IT teams need to coordinate to ensure that master data, tax codes and product classifications map correctly into STA‑compliant XML.
  • Tighter timing and control around invoicing: Because invoices must pass through the STA before they are valid, any issues with XML structure or content can delay clearance and therefore revenue recognition and payment cycles.
  • Higher expectations on data quality and auditability: With the STA receiving data in real time, errors and inconsistencies are easier to detect. Businesses need robust processes to maintain data quality, handle corrections and retain evidence that invoices were properly cleared.
  • Investment in connectivity and archiving: You will need a reliable way to submit XML to the STA (directly or via a provider) and archive cleared XML plus artefacts in line with statutory retention periods.

In short, the Chinese VAT environment now rewards businesses that invest in automation, data integrity and resilient connectivity, and penalises those that rely on manual workarounds.

What are the penalties for non‑compliance in China?

While exact penalties depend on the specific circumstances and STA findings, non‑compliance with China’s e‑invoicing and VAT rules can have serious consequences:

  • Financial penalties and surcharges: Incorrect, incomplete or non‑cleared invoices can trigger fines and surcharges. Repeated issues may increase scrutiny and penalty levels.
  • Impact on VAT deduction and corporate tax: If an invoice has not been properly cleared or does not meet XML and content requirements, the buyer may lose the right to deduct input VAT. This can significantly increase effective tax costs.
  • Heightened audit risk: Missing, incorrect or inconsistent e‑fapiao data can lead to more frequent and intensive audits. These consume time and resources and can delay other business activities.
  • Business disruption and reputational damage: Non‑compliance issues may affect relationships with customers and suppliers, particularly where invoices are rejected, payments are delayed or corrective cycles drag on.

Given these risks, treating e‑fapiao as a formal compliance requirement is essential.

What documents are supported under China’s e‑invoicing framework?

China’s e‑invoicing regime covers several electronic document types, all in structured XML and subject to STA clearance:

Document type Main use case
Special VAT e‑fapiao B2B transactions that allow input VAT deduction
General VAT e‑fapiao B2C transactions or non‑deductible expenses
Red‑letter invoice Negative invoice used to cancel or adjust an original e‑fapiao, always referencing the original
Industry‑specific e‑invoice Sector‑specific variants with additional validation and content rules

Across all types:

  • The XML is the legal source of truth
  • The buyer‑facing rendering is typically OFD, with PDF sometimes provided for convenience, but not as the primary legal artefact

How China’s clearance‑based system works

At the centre of China’s e‑fapiao model is the State Taxation Administration (STA). Every e‑fapiao must pass through the STA before it is considered valid.

A typical process looks like this:

1) Invoice creation
The supplier generates an invoice in their ERP or billing system. Data is mapped to STA‑compliant XML, including all required header and line‑level details (supplier and buyer information, tax codes, product classifications, amounts, etc.).

2) Submission for clearance
The XML is submitted to the STA via either:

  • Direct STA connectivity managed in‑house
  • An accredited provider, which handles technical connectivity, authentication, encryption and evolving interface changes

3) Validation and response from STA
The STA validates the invoice. If accepted, it returns:

  • A unique invoice code and number
  • A dynamic QR code
  • A digital signature
  • A clearance timestamp

4) Delivery and archiving
The cleared XML and associated artefacts are delivered to the buyer. Both parties must archive the cleared data and renderings in accordance with statutory retention rules, typically:

  • At least 10 years for most e‑invoices and associated artefacts
  • Up to 30 years for some voucher categories

Only after a successful STA response is the e‑fapiao legally valid.

Impact on AR and AP processes

China’s clearance‑based model has significant implications across both accounts receivable (AR) and accounts payable (AP).

Accounts receivable (AR)

  • Customer master data, tax codes and product information must produce valid, STA‑compliant XML every time
  • Any rejection from the STA must be detected, analysed and resolved promptly to avoid delays in revenue recognition and customer payment
  • The returned STA artefacts (invoice code/number, QR code, digital signature, timestamp) should be stored and linked to the underlying transaction in the ERP or billing system
  • Cancellations and adjustments should be managed via red‑letter invoices that always reference the original invoice, ensuring a transparent audit trail

Accounts payable (AP)

  • Systems should be able to receive and process XML alongside OFD/PDF representations
  • Incoming invoices should be checked to ensure they have been properly cleared by the STA, for example through QR code validation, digital signature checks or other provided artefacts
  • Structured XML data should be used to reconcile invoices with purchase orders, contracts and goods receipts, enabling higher automation and fewer manual errors
  • Corrections and cancellations should be handled exclusively through the red‑letter mechanism, maintaining a full history of changes and supporting tax audits.

By designing AR and AP processes around the clearance requirement, businesses can leverage China’s model to improve automation and data quality rather than simply treating it as an additional burden.

Practical steps to achieve e‑fapiao compliance in China

Whether you already operate in China or are planning market entry, following these steps should help you to reduce risk and complexity.

Step 1: Assess your scope

Identify which entities, business units and transaction types fall under the e‑fapiao regime. Map customer and supplier relationships, as well as channels (B2B, B2G, B2C) where VAT invoices are issued or received.

Step 2: Choose a connectivity model

Decide whether to build and maintain direct connectivity to the STA, or work with an accredited provider. Key considerations include internal IT capacity, required uptime and monitoring capabilities, and integration with global e‑invoicing and EDI strategies.

Step 3: Map data to STA‑compliant XML

Align ERP and billing data structures with Chinese invoice requirements. Ensure that mandatory fields (e.g. tax registration numbers, product and service descriptions, tax codes, industry‑specific details) are present and correctly mapped. Establish a process for maintaining up‑to‑date tax and master data as rules and product portfolios evolve.

Step 4: Test clearance flows and error handling

Run end‑to‑end tests, from invoice creation through STA clearance and back into your systems. Validate how rejections are surfaced, logged and addressed. Ensure that the process for issuing red‑letter invoices is well understood and correctly implemented.

Step 5: Implement robust archiving

Put policies and systems in place to retain cleared XMLs, renderings and STA artefacts for the full statutory retention period (at least 10 years, up to 30 years for some voucher types). Ensure that archives are secure, searchable and auditable, and that retrieval processes are in place for inspections and internal reviews.

How ecosio can help with e‑fapiao in China

China’s e‑invoicing framework combines strict technical requirements with continuous change. ecosio supports businesses in navigating this environment through:

  • Compliance by design: The end-to-end process, mapping invoice data to STA‑compliant XML and orchestrating submission and return flows, is managed by ecosio.
  • Operational visibility: Providing real‑time feedback on clearance status, errors and retries via ecosio Monitor, so finance and IT teams can proactively resolve issues.
  • Scalability and resilience: Offering a connectivity layer that can evolve with changes to STA interfaces, without requiring a complete re‑architecture of your ERP landscape.
  • Global experience: Enabling a unified approach across multiple e‑invoicing regimes, helping central teams manage China alongside other key markets within a single, future‑proof framework.

Ready to dive deeper?

If you’re planning or expanding your operations in China and want to understand how e‑fapiao fits into your broader e‑invoicing strategy, reach out to our experts. They can help you:

  • Assess your current and future scope in China
  • Design a scalable connectivity and compliance architecture
  • Integrate China into a global e‑invoicing and EDI roadmap

If you simply want to stay up to date with current regulations in China, be sure to check out our China country page.

Stay informed on e-invoicing developments

Keep track of the latest changes in e-invoicing regulations and best practices. ecosio offers several resources to help you stay informed:

FAQ

Is e‑invoicing mandatory in China?

In practice, yes. China is moving to universal use of e‑fapiao for VAT invoicing. Paper and legacy formats are being phased out, and invoices must be cleared by the STA to be legally valid.

Do invoices have to be in Chinese?

Certain XML fields must be in simplified Chinese, and the OFD rendering must display mandatory information in Chinese. Additional languages may be included in some fields, but they do not replace the Chinese content requirements.

Legal validity is supported by the artefacts returned after STA clearance, including the STA invoice code and number, the digital signature, the dynamic QR code and the clearance timestamp. These should be stored and linked to the underlying transaction.

How are corrections handled?

Corrections are processed via red‑letter invoices, which:

  • Reference a single original e‑fapiao, and
  • Provide a clear audit trail of cancellations and adjustments.

Direct modifications of the original cleared invoice are not permitted.

How long do we need to archive invoices?

You should plan to archive cleared XML, renderings and STA artefacts for at least 10 years, and up to 30 years for certain voucher categories. Retention policies should reflect both statutory requirements and internal risk appetite.

Is facial recognition always required?

China’s e-invoicing regime includes tax-authority-controlled authentication mechanisms that must be satisfied before invoices can be issued. Depending on the issuance channel, taxpayer profile, and local tax authority configuration, this may involve human authentication (such as facial recognition via the Electronic Tax Bureau app) or enterprise-level automated authorisation mechanisms. These controls are enforced by the State Taxation Administration as part of the Golden Tax System and operate independently of invoice content validation. An invoice can only be issued once the applicable authentication requirements have been met.

Subjects

most read

Keep on reading

7 minute read

Greece e-invoicing requirements explained

Greece e-invoicing requirements: key deadlines, myDATA rules, and practical steps to stay compliant with B2B and B2G mandates in 2026

7 minute read

ANAF RO e-Factura and e-invoicing in Romania

Explore RO e-factura in Romania and how best to stay compliant with ANAF while simplifying your e-invoicing workflows

17 minute read

A decisive guide to e-invoicing and e-reporting in France

France is moving to mandatory e-invoicing and e-reporting in 2026. Discover the key dates and formats, plus what steps you should be taking.

12 minute read

E-invoicing in Poland: 7 topics you need to know in 2026

E-invoicing in Poland is moving to mandatory KSeF clearance in 2026. Key dates, formats, and steps to prepare for compliance.

10 minute read

Taiwan e‑invoicing (eGUI) explained: what businesses need to know

Taiwan e‑invoicing (eGUI) is mandatory for B2B and B2C. This Taiwan e‑invoicing guide explains key rules, deadlines and integration options for businesses.

1 minute read

Singapore e-invoicing: a complete guide for businesses

Discover how Singapore’s GST InvoiceNow requirement works, who’s in scope, which documents are affected and how to comply via InvoiceNow, PINT SG and IMDA‑accredited Access Points.

1 minute read

Everything you need to know about e‑invoicing in New Zealand

If you invoice New Zealand government agencies, you need to be ready for Peppol e‑invoicing. New Zealand is steadily building a digital economy where invoices move as structured data, not...

8 minute read

E-invoicing (and e-reporting) in Croatia: A Guide to Fiscalisation 2.0

From January 2026, Croatia mandates domestic B2B e-invoicing under Fiscalisation 2.0, alongside new fiscalisation and e-reporting obligations. This guide explains how the system works in practice, what businesses must prepare...

9 minute read

Serbia’s E-invoicing and E-transport Requirements Explained

In this article we explore Serbia e-invoicing and e-transport requirements, including who’s affected, key deadlines, and how to stay compliant.

7 minute read

Australia E‑invoicing: Rules, Formats and Timelines

Learn how Australia e‑invoicing works via Peppol, who must comply, required IDs, formats (PINT A‑NZ) and how to connect through accredited access points.

8 minute read

Peru E-invoicing Explained: What Businesses Need to Know

Your guide to e-invoicing in Peru. Learn how the system works, key SUNAT requirements, and what enterprises need to stay compliant.

6 minute read

Peppol Corner Models Explained

Learn how and why Peppol’s network architecture has evolved to the current five-corner model.

1

Looking for something? 👀

✨E-invoicing
Compliance Summit✨

Are you ready for 2026 and 2027? 🚨
Compliance updates for Germany, France, Spain and more.
Live with experts from ecosio and Vertex.

Days
Hours
Minutes

🇫🇷 Prêt pour la facturation électronique en France ?

Accédez à notre kit de préparation et obtenez :

  • – Une vision claire des obligations à venir
  • – Les clés pour choisir la bonne solution
  • – Des outils pour évaluer votre conformité
  • – Des conseils d’experts concrets