PDF Generator API

Effortless Compliance with E-Invoice API

Eliminate the complexity of regional electronic invoicing by converting simple JSON data into fully compliant EN 16931, XRechnung, and Factur-X documents. Our API handles the rigid XML schemas and hybrid PDF requirements, allowing you to scale across European markets without building custom implementations for every country.

  • Automated JSON-to-XML Transformation

  • European EN 16931 Compliance

  • Built-in XRechnung and Factur-X Support

  • Rapid API-First Integration

  • Unified Multi-Country Regional Support

Test, build, and integrate. Start your 14-day FREE trial. No credit card required!

einvoice-hero-animated
1,500+
companies trust us

6M+
documents generated monthly

Information security

Trusted by teams featured in our case studies

The basics

What are e-invoices, and why your business needs them

Electronic invoicing, or e-invoicing, is the exchange of a structured invoice document in an integrated electronic format. Unlike a standard PDF or a scanned paper invoice, a true e-invoice carries structured data, usually XML, that accounting and ERP systems process automatically, with no manual data entry. As governments across Europe move toward mandatory digital reporting, compliant e-invoicing has shifted from a technical convenience to a legal requirement for B2G and B2B.

Read our guide to e-invoicing in Europe →

A regular PDF invoice is only a picture of the data, while a true e-invoice carries structured EN 16931 XML.

From JSON to a compliant e-invoice

You do not build an XML engine. Map your fields once, call the endpoint, and receive a validated, compliant file.

Explore the API documentation →

Step 1

Send your JSON
Post the invoice data you already have, with your template id. No XML, no schema knowledge.
Step 2

Pick a format
Choose Factur-X, XRechnung, ZUGFeRD, UBL or CII with the EN 16931 profile. One endpoint, one call.
Step 3

Get a compliant file
The API returns a validated file, for example a Factur-X PDF/A-3 with the XML embedded, ready to send or archive.

Formats

One API, every compliant format

XRechnung, ZUGFeRD, Factur-X, UBL and CII all implement the European EN 16931 model. Map your data once and output any of them, and each format shows where it applies across Europe.

Factur-X

A hybrid PDF/A-3 invoice with the EN 16931 XML embedded. Your customer sees a normal PDF while the structured data travels inside.

  • PDF/A-3 with EN 16931 XML embedded
  • Readable by people and machines
  • Ideal for France and Germany

Try Factur-X API →

ZUGFeRD

The German hybrid standard, technically compatible with Factur-X. A visible PDF invoice with structured EN 16931 data inside.

  • Visible PDF with structured data
  • Compatible with Factur-X
  • ZUGFeRD 2.1 and later
Used inGermany

Explore the docs →

XRechnung

Pure XML for German B2G and B2B. The format German public authorities require, fully EN 16931 compliant.

  • Pure XML, no PDF layer
  • What public authorities require
  • EN 16931 compliant
Used inGermany

Try XRechnung API →

EN 16931

The European semantic model behind every format. Map your data to it once, then output any compliant format you need.

  • The model behind every format
  • Map once, output any format
  • Validated, compliant output
Used inEU wide

Explore the docs →

UBL

Universal Business Language, the XML standard widely used across Europe and carried over the Peppol network.

  • Widely adopted across Europe
  • Carried over the Peppol network
  • EN 16931 compliant

Explore the docs →

CII

UN/CEFACT Cross Industry Invoice, the XML syntax that also powers Factur-X and ZUGFeRD.

  • The syntax behind Factur-X
  • Structured XML for EDI flows
  • EN 16931 compliant

Explore the docs →

No code with n8n

Prefer not to write code? Connect your ERP or billing tool to the E-Invoice API with our n8n integration and generate compliant e-invoices from a webhook. Watch the two minute walkthrough, then read the full guide. Building it into your own product or ERP? See e-invoice infrastructure for ERPs.

All the features you need, and some more

In the E-Invoice API

  • EN 16931 standard compliance
  • XRechnung XML generation
  • Factur-X hybrid PDF/A-3
  • JSON to XML mapping
  • Automatic schema validation
  • Secure data processing
  • Universal UBL and CII support
  • Embedded metadata and archiving
  • Developer friendly API v4
Michal Líška, PDF Generator API

Questions about the E-Invoice API?

Michal Líška · PDF Generator API

I’ll walk you through the endpoints, the formats and your compliance timeline in a quick call, or point you to the right guide for your country.

Book a demo call
Start building

E-Invoice API FAQ

Which formats does the E-Invoice API support?
One API generates EN 16931, XRechnung, ZUGFeRD, Factur-X, UBL and CII from the same JSON data, ready for B2G and B2B mandates across Europe.
What is EN 16931?
EN 16931 is the European semantic standard for electronic invoices. XRechnung, ZUGFeRD, Factur-X, UBL and CII all implement this same model, so once your data is mapped you can output any of them.
What is the difference between XRechnung, ZUGFeRD and Factur-X?
XRechnung is pure XML, used mainly for German public authorities. ZUGFeRD and Factur-X are hybrid formats: a readable PDF/A-3 with the EN 16931 XML embedded. ZUGFeRD and Factur-X are technically compatible.
Does the API cover the German and French mandates?
Yes. You can generate XRechnung and ZUGFeRD for Germany and Factur-X for France, all EN 16931 compliant. Open the country tabs above for the exact timelines and formats.
Do I need to know XML?
No. You send standard JSON and the API produces the validated, compliant XML or hybrid PDF for you. No XML schema knowledge is required.
Can I generate e-invoices without code?
Yes. Use our n8n integration to connect your ERP or billing tool by webhook and generate compliant e-invoices with no custom code.

More services

Explore more PDF services

Your templates are just the start. Extend them with signing, forms, conversion and compliance, all on the same API and account.

Document signing and review

Generate a document from your template, then open it in a guided review and sign flow, with no separate signing vendor.

  • Signature capture in the viewer
  • Full audit trail and versioning
  • Encrypted storage with retention
  • Reach it with output=viewer

Explore document signing →

Web forms

Turn any template into a fillable web form and generate the finished PDF the moment it is submitted.

  • No code form builder
  • Text, dates, selections and uploads
  • Instant PDF on submission
  • Send data through a callback URL

Explore web forms →

HTML to PDF

Convert any HTML or URL into a pixel perfect PDF at scale, with full control over headers, footers and page breaks.

  • Consistent output across devices
  • Drag and drop template editor
  • PDF/A-3b and PDF 1.7 output
  • No code Zapier and Make steps

Explore HTML to PDF →

PDF accessibility

Generate PDF/UA compliant documents and remediate existing PDFs for the European Accessibility Act, with no tagging engine to build.

  • Automatic PDF/UA structural tagging
  • Remediate legacy documents
  • Data driven compliance at scale
  • ISO 27001 and GDPR protected

Explore PDF accessibility →

Electronic invoicing

Turn JSON data into compliant EN 16931, XRechnung and Factur X electronic invoices automatically, with no manual XML work.

  • JSON to XML transformation
  • XRechnung and Factur X output
  • EN 16931 compliance built in
  • B2G and B2B ready validation

Explore e-invoicing →

PDF services

Merge, split, watermark, encrypt and fill PDF forms through the same API you already use.

  • Fill and extract form fields
  • Text or image watermarks
  • Password protect documents
  • Compress without quality loss

Explore PDF services →

On premises · Dedicated deployment · All integrations