Overview

The Invoice.xhub API creates, reads and validates electronic invoices across 37 countries: XRechnung and ZUGFeRD in Germany, Factur-X in France, FatturaPA in Italy, KSeF in Poland, myDATA in Greece, Peppol BIS 3.0 wherever it applies — and PDF everywhere.

What the API does

Create

Turn structured invoice data into a document in the target format — PDF, ZUGFeRD, XRechnung, Factur-X and the national formats.

Read

Take an incoming document apart and pull out the invoice data. One endpoint per country and format — or a single one that detects the format for you.

Validate

Check a document against the rules of the destination country before it goes out.

Send

Deliver over the Peppol network and track where a document went.

The basics

Every endpoint lives under https://service.invoice-api.xhub.io and needs an API key. Documents are passed in and returned Base64 encoded throughout — XML and PDF alike.

Which countries and formats a key may actually call is governed by entitlements (e-invoice:{country}:{format}:parse and relatives). Without the matching entitlement the API answers 403.