E-invoicing API for Germany and the EU
XRechnung, ZUGFeRD, and Factur-X — all EN 16931 compliant. Validate, send, and receive electronic invoices through a single REST API. EU-hosted, GDPR-native.
XRechnung & ZUGFeRD validation
Validate invoice XML against the EN 16931 standard and the German XRechnung CIUS. Returns structured errors so you can fix and retry.
Send e-invoices by email
Deliver invoices as signed XML attachments or embedded PDFs (Factur-X). Full deliverability, bounce handling, and read receipts.
Receive and parse inbound invoices
Accept inbound invoices at a dedicated address and get structured JSON via webhook. Extract line items, totals, VAT, and buyer/seller IDs automatically.
EU-hosted, GDPR-native
All processing stays in the EU. No US data transfer agreements to sign. Audit logs retained for statutory periods.
2025–2028 mandate ready
Built for the German B2B e-invoicing mandate: receiving required from 2025-01-01, sending in phases through 2028. Test in the sandbox today.
Works with your ERP
Drop-in REST endpoints your existing billing system can call. SDKs for Node, Python, Go, and PHP. No vendor lock-in.
curl -X POST https://api.postscale.io/v1/invoices/validate \
-H "Authorization: Bearer ps_live_..." \
-H "Content-Type: application/xml" \
--data-binary @invoice.xml
# Response
{
"valid": true,
"format": "xrechnung-ubl",
"standard": "EN 16931",
"profile": "urn:cen.eu:en16931:2017",
"errors": [],
"warnings": []
}Frequently asked questions
What is XRechnung and how does it relate to E-Rechnung?
E-Rechnung is the German umbrella term for electronic invoices. XRechnung is the specific XML format mandated for invoicing German public-sector buyers, based on the EU EN 16931 standard. Since 2025-01-01 all German businesses must be able to receive E-Rechnung; sending is being phased in through 2028.
Do you also support ZUGFeRD and Factur-X?
Yes. ZUGFeRD (Germany) and Factur-X (France) both embed a structured XML invoice inside a human-readable PDF. Our API validates, sends, and parses all three formats interchangeably.
Is the data processed in the EU?
Yes. Postscale is operated by DNScale OÜ (Estonia, EU). All invoice processing, storage, and email delivery happens on EU infrastructure. We sign a GDPR-compliant DPA as standard.
Can I test before committing?
Sign up free — no credit card. The sandbox supports full XRechnung validation and a limited number of real sends. Upgrade only when you need production volume.
Further reading
XRechnung API: A developer's guide to Germany's e-invoicing mandate
What XRechnung is, what the 2025–2028 mandate requires, and how to send and receive EN 16931 invoices programmatically.
Moving from Resend for XRechnung support
Resend doesn't offer e-invoicing. If you're billing German B2B buyers, here's how the switch works.
Ready to build?
Free tier includes everything you need to evaluate. No credit card required.
Create a free account