Menu

1 / 2

# How I integrated Factur-X EN16931 into a PHP billing system — without a database or SaaS dependency

DEV Community·Palks Studio·6 months ago
#v7CqEMYY
#phase#php#backend#factur#mention
Reading 0:00
15s threshold

Without a database, without a SaaS platform, without an ERP

When the French e-invoicing reform (RFE) started becoming a real deadline, I needed to make my billing system compliant.

Not by switching to a SaaS platform.

Not by plugging into an ERP. But by integrating the Factur-X standard directly into an existing PHP stack, deployed on a standard Apache server.

This article is about how I did it, what the standard actually requires, and what the real technical challenges were.

What is Factur-X, really?

Factur-X is a franco-german standard for structured electronic invoicing. It is built on two layers:

A PDF/A-3 file — not just a regular PDF, but a long-term archiving format defined by ISO 19005-3

An embedded XML file compliant with the EN16931 European standard, profile Comfort

The PDF is human-readable. The XML is machine-readable. Both are mandatory.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.