> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.invoice-api.xhub.io/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.invoice-api.xhub.io/_mcp/server.

# Overview

> Create, read and validate e-invoices across 37 countries.

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](/getting-started/authentication). Documents are passed in and returned **Base64
encoded** throughout — XML and PDF alike.

> **Note**
>
> 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`.