FreeToolForge
Browse All 144 Tools

Categories

Home/Tools/Calculators/Peppol E-Invoice Generator
Zero-Data-Retention · 100% Client-Side

Peppol BIS Billing 3.0 E-Invoice Generator

Generate compliant UBL 2.1 XML electronic invoices for official Peppol B2G & B2B networks. Dynamic line items, automated VAT calculations, instant XML download.

Advertisement

🔒 100% Client-Side Processing

Your invoice data never leaves your browser. No server uploads. GDPR & ePrivacy compliant.

1Document Details

2Supplier (Seller)

3Customer (Buyer)

4Invoice Line Items

Item #1
850.00 EUR
Line Extension Total850.00 EUR
VAT Amount161.50 EUR
Payable Amount1011.50 EUR

5Compliant UBL 2.1 Peppol Output

Privacy First: 100% Client-Side Generation - Zero Data Sent to Servers

Click "Generate Peppol UBL XML" to preview your compliant invoice output.

Advertisement

1. The 2026–2030 European E-Invoicing Paradigm Shift & ViDA Initiative

The European Union is undergoing its most profound tax administration overhaul since the creation of the Single Market in 1993. Driven by the European Commission's VAT in the Digital Age (ViDA) legislative proposal, Member States are rapidly transitioning away from legacy, post-audit paper and PDF invoicing toward real-time Continuous Transaction Controls (CTC) and Decentralized CTC Models.

Historically, tax authorities relied on retrospective audits—reviewing accounting ledgers months or years after transactions occurred. This legacy model created a massive European "VAT Gap" (uncollected tax revenue due to fraud, insolvency, and administrative errors) exceeding €60 billion annually. ViDA addresses this systemic leak by mandating digital, structured electronic invoices submitted near real-time via standardized interoperability networks—primarily OpenPeppol.

The 4-Corner (and 5-Corner) Delivery Model Architecture

The technical engine powering European cross-border e-invoicing is the Peppol 4-Corner Delivery Model. Unlike centralized clearing systems, Peppol provides a federated, decentralized network where buyers and sellers can exchange structured documents using certified service providers:

  1. 1
    Corner 1 (Sender / Billing Party): The supplier originates the transaction within their ERP, accounting platform, or client-side generator (such as FreeToolForge).
  2. 2
    Corner 2 (Sender's Certified Access Point): The supplier's Peppol Access Point (AP) validates the XML payload against AS4 network protocols and routes it securely across the SML/SMP directory.
  3. 3
    Corner 3 (Recipient's Certified Access Point): The buyer's registered Access Point receives the encrypted AS4 payload and executes local syntax checks.
  4. 4
    Corner 4 (Recipient / Buyer): The structured XML document is delivered directly into the recipient's Accounts Payable (AP) software for automated entry.
  5. 5
    Corner 5 (National Tax Portal / Clearinghouse): In hybrid national architectures (such as France's PPF or Poland's KSeF), invoice data is simultaneously reported to government tax platforms for real-time VAT auditing.

Why PDF Invoices Fail 2026 Legal Compliance

A common misconception among business owners is that emailing an unstructured PDF file constitutes "electronic invoicing." Under European Norm EN 16931 and national 2026 mandates:

  • PDFs are unstructured visual images: They require Optical Character Recognition (OCR) software to scrape text, resulting in error rates between 3% and 12%.
  • No straight-through processing (STP): Automated enterprise ERPs cannot natively ingest PDF text without human validation or manual keying.
  • Peppol BIS Billing 3.0 is 100% structured XML: Machine-readable XML tags guarantee exact semantic interpretation of line items, VAT rates, currency codes, and buyer references across disparate accounting systems without manual intervention.

2. Technical Anatomy of Peppol BIS Billing 3.0 & UBL 2.1 Schemas

Peppol BIS Billing 3.0 is built upon the OASIS Universal Business Language (UBL 2.1) ISO/IEC 19845 specification. To comply with EN 16931, every generated XML file must contain precise business terms (BTs) bound to explicit XML element paths.

Essential Business Term (BT) XPath Mappings

Business TermTerm NameUBL 2.1 XPathStatusExample Value
BT-1Invoice Number/Invoice/cbc:IDMandatoryINV-2026-00891
BT-2Issue Date/Invoice/cbc:IssueDateMandatory2026-08-03
BT-5Invoice Currency/Invoice/cbc:DocumentCurrencyCodeMandatoryEUR
BT-10Buyer Reference/Invoice/cbc:BuyerReferenceMandatoryPO-991823
BT-23Profile ID/Invoice/cbc:ProfileIDMandatoryurn:fdc:peppol.eu:2017:poacc:billing:01:1.0
BT-24Customization ID/Invoice/cbc:CustomizationIDMandatoryurn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0
BT-34Supplier Endpoint ID/Invoice/cac:AccountingSupplierParty/cac:Party/cbc:EndpointIDMandatory0208:0123456789
BT-49Buyer Endpoint ID/Invoice/cac:AccountingCustomerParty/cac:Party/cbc:EndpointIDMandatory0009:12345678900012

Electronic Address Scheme (EAS) Reference Table

Routing through Peppol relies on the Electronic Address Scheme (EAS) code attribute inside cbc:EndpointID schemeID="...". The table below lists standard EAS codes enforced across European jurisdictions:

Scheme IDCountry / RegionCode DescriptionExample Identifier
0208BelgiumBelgian Enterprise Number (CBE/KBO)0123456789
0009FranceSIRET Code12345678900012
0088GlobalGS1 Global Location Number (GLN)5412345000013
0184DenmarkCVR Number12345678
9936PolandNIP Number (Tax Identifier)1234567890
9934CroatiaOIB Number (Personal Identifier)12345678901
9925European UnionEU VAT Registration NumberDE123456789
0230UAETRN (Tax Registration Number)100123456700003

3. Tax Category Taxonomy (UNCL5305) & Mathematical Calculation Rules

Tax reporting in Peppol BIS 3.0 is governed by the UNCL5305 code list. Each invoice line item must be mapped to a specific tax category code, which dictates how tax subtotals and document monetary totals are computed.

  • S (Standard Rate): Used for normal domestic B2B transactions where standard VAT rates apply (e.g., 21% Belgium, 20% France, 19% Germany).
  • Z (Zero Rated Goods): Applies to zero-rated supplies (0% tax rate), such as certain food items or international transportation services.
  • E (Exempt from Tax): For transactions explicitly exempt under national VAT legislation (e.g., medical, educational, or financial services).
  • AE (VAT Reverse Charge): Mandatory for cross-border EU B2B transactions under Directive 2006/112/EC. The buyer accounts for VAT locally.
  • K (VAT Exempt for EEA Intra-Community Supply): Applied when goods are physically dispatched between EU/EEA Member States.
  • G (Free Export Item / Outside Scope): Applicable to export transactions outside the EU/EEA boundaries.

Mathematical Calculation Formulas (EN 16931 Rules)

To pass automated Schematron verification, invoice totals must strictly adhere to the following EN 16931 mathematical identities:

Line Extension Amount (BT-131): Qty × Unit Price
Tax Category Taxable Amount (BT-116): Σ(Line Extension Amounts for Category) - Category Allowances + Category Charges
Tax Category Tax Amount (BT-117): Tax Category Taxable Amount × (VAT Rate / 100)
Total Payable Amount (BT-115): Tax Exclusive Amount + Tax Inclusive Amount
⚠️ Mandatory Rounding Rule: Under Peppol BIS 3.0 rules, rounding to 2 decimal places must be performed strictly at the VAT Tax Category level (cac:TaxSubtotal), NOT line-item by line-item. Summing rounded line item amounts produces calculation discrepancies that trigger immediate Access Point rejection.

4. 2026–2027 National Mandate Technical Deep-Dive

While EN 16931 provides the harmonized core specification, individual European nations enforce specific Core Invoice Usage Specifications (CIUS) and transition timelines:

🇧🇪 Belgium Mandate (January 1, 2026)

Under the Belgian Royal Decree enacted in 2024, all domestic B2B transactions between Belgian VAT-registered entities must be executed via structured e-invoices starting January 1, 2026. Paper and PDF invoices lose legal standing. Belgian tax authorities enforce Peppol BIS 3.0 as the default national format, with penalty tiers ranging from €1,500 to €5,000 for technical non-compliance.

🇫🇷 France Mandate (September 1, 2026)

France introduces a Y-shaped 5-Corner architecture connecting certified Partner Dematerialization Platforms (PDP) and the public portal PPF (Portail Public de Facturation). Effective September 1, 2026, all companies must be capable of receiving structured e-invoices, while mandatory issuance phases in for large enterprises and mid-caps, expanding to all SMBs through 2027. Accepted formats include UBL 2.1, UN/CEFACT CII, and Factur-X (hybrid PDF/A-3).

🇩🇪 Germany Transition (2025–2028)

Germany activated its mandatory B2B e-invoicing receipt obligation in January 2025. Mandatory issuance phases in from 2027 for companies with annual turnover exceeding €800,000, becoming universal by 2028. Interoperability is required across pure XML formats (XRechnung) and hybrid formats (ZUGFeRD 2.2).

🇭🇷 Croatia Fiscalisation 2.0 (January 1, 2026) & 🇵🇱 Poland KSeF

Croatia's Fiscalisation 2.0 project mandates structured B2B electronic invoices (eRačun) integrated with real-time fiscal reporting via the Peppol network. Similarly, Poland's National e-Invoicing System (KSeF) mandates centralized XML reporting, bridging domestic payloads with Peppol BIS 3.0 for cross-border trade.

🇦🇪 United Arab Emirates PINT AE Mandate (2026–2027)

Under Ministerial Decisions No. 243 and 244 of 2025, the UAE Ministry of Finance and Federal Tax Authority (FTA) are deploying a genuine 5-corner Peppol e-invoicing model powered by the PINT AE (Peppol International UAE) profile. A voluntary pilot phase opened on July 1, 2026. Large taxpayers (annual turnover ≥ AED 50 million) must select an Accredited Service Provider (ASP) by October 30, 2026, ahead of mandatory issuance on January 1, 2027. All other businesses must go live by July 1, 2027 (ASP appointment by March 31, 2027), followed by government entities on October 1, 2027. Administrative penalties of AED 5,000/month apply under Cabinet Decision No. 106 of 2025.

5. Developer Master Data & Integration Blueprint

To build a zero-data-retention, client-side UBL 2.1 generator within Next.js 14 App Router, developers must isolate payload construction entirely to browser memory using client-side state. Below is an architectural blueprint demonstrating XML string escaping and dynamic UBL tag construction:

// Next.js 14 Client-Side UBL 2.1 XML Constructor
'use client'

function escapeXml(unsafe: string): string {
  return unsafe.replace(/[<>&'"]/g, (c) => {
    switch (c) {
      case '<': return '&lt;'
      case '>': return '&gt;'
      case '&': return '&amp;'
      case "'": return '&apos;'
      case '"': return '&quot;'
      default: return c
    }
  })
}

export function generateUblXml(invoiceData: InvoicePayload): string {
  const { invoiceId, issueDate, dueDate, currency, seller, buyer, lineItems } = invoiceData

  return `<?xml version="1.0" encoding="UTF-8"?>
<Invoice xmlns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2"
  xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
  xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
  <cbc:CustomizationID>urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0</cbc:CustomizationID>
  <cbc:ProfileID>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</cbc:ProfileID>
  <cbc:ID>${escapeXml(invoiceId)}</cbc:ID>
  <cbc:IssueDate>${issueDate}</cbc:IssueDate>
  <cbc:DueDate>${dueDate}</cbc:DueDate>
  <cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>
  <cbc:DocumentCurrencyCode>${currency}</cbc:DocumentCurrencyCode>

  <cac:AccountingSupplierParty>
    <cac:Party>
      <cbc:EndpointID schemeID="${seller.eas}">${escapeXml(seller.endpoint)}</cbc:EndpointID>
      <cac:PartyName><cbc:Name>${escapeXml(seller.name)}</cbc:Name></cac:PartyName>
    </cac:Party>
  </cac:AccountingSupplierParty>
  
  {/* Additional UBL Nodes */}
</Invoice>`.trim()
}

For production verification, client-side applications should execute validation against OASIS Schematron rules (peppol-bis-3-billing.sch) using Web Workers to prevent UI thread blocking during XML parsing.

6. Comprehensive 2026 Compliance FAQ Grid

1. Is an e-mailed PDF invoice compliant with the 2026 European B2B mandates?

No. Unstructured PDF files sent via email fail 2026 compliance mandates in Belgium, France, and across Europe. Mandates require structured XML (such as Peppol BIS 3.0 or Factur-X) capable of automated machine processing without human keying.

2. What happens if my invoice XML fails Peppol Schematron validation?

If an XML document violates EN 16931 rules or missing mandatory tags (such as CustomizationID), certified Peppol Access Points (Corner 2 or 3) will reject the AS4 transmission instantly, resulting in unpaid invoices.

3. How does the Reverse Charge mechanism (AE) get represented in Peppol BIS 3.0?

Cross-border B2B Reverse Charge transactions use tax category code AE in cac:ClassifiedTaxCategory, setting cbc:Percent to 0.00 and providing mandatory text explanations in cbc:TaxExemptionReason.

4. Do I need a paid Peppol Access Point subscription to use this generator?

This tool is 100% free for generating and downloading syntactically valid UBL 2.1 XML files. To transmit the XML across the live Peppol network, you will connect the output payload to your certified Access Point provider.

5. How does this client-side generator guarantee strict GDPR compliance?

Zero data retention architecture ensures all form inputs, line items, and XML compilation execute strictly inside your local browser memory. No business data or personal information is ever transmitted to remote servers.

6. What is the difference between Peppol BIS Billing 3.0, UBL 2.1, and EN 16931?

EN 16931 is the overall European semantic data standard. UBL 2.1 is the underlying OASIS XML syntax structure. Peppol BIS Billing 3.0 is the specific implementation profile that binds UBL 2.1 XML to EN 16931 for network delivery.

📚 Related Compliance Resources & Educational Guides

Explore technical documentation, country-specific mandates, and cross-border VAT utilities across our European compliance network:

TF

About FreeToolForge

This Peppol e-invoice generator was built for finance teams, accountants, and developers who need to create or test UBL 2.1 XML invoices without exposing sensitive business data to third-party servers. FreeToolForge specializes in building production-grade, client-side utilities that prioritize data privacy and compliance.