Public REST API

fakturai E-Rechnung API

Technisch gepruefte EN 16931 ZUGFeRD / Factur-X Rechnungs-PDFs aus Automationen, KI-Agenten und Backends erzeugen.

Endpoint

POST https://fakturai.de/api/v1/invoices
X-API-Key: <FACTURAI_API_KEY>
Content-Type: application/json
Accept: application/pdf

Erfolgreiche Requests liefern 201 application/pdf. Fehler liefern JSON mit error und detail.

Request Body

Das Seller-Profil haengt am API-Key. Gesendet werden Buyer, Daten, Waehrung und Rechnungspositionen.

{
  "invoice_date": "2026-06-01",
  "due_date": "2026-06-15",
  "currency": "EUR",
  "buyer": {
    "name": "Acme GmbH",
    "address": {
      "line_one": "Beispielweg 42",
      "postcode": "80331",
      "city": "Muenchen",
      "country": "DE"
    },
    "vat_id": "DE123456789",
    "contact_email": "buchhaltung@example.com"
  },
  "lines": [
    {
      "name": "Software development",
      "description": "Implementation work",
      "quantity": "8",
      "unit": "HUR",
      "unit_price": "150.00",
      "vat_rate": "19.00"
    }
  ],
  "number_prefix": "RE-2026"
}

Schema

Maschinenlesbares Schema: https://fakturai.de/schemas/invoice-input/v1.json

Statuscodes

StatusBedeutung
201Rechnung wurde erzeugt und als PDF zurueckgegeben.
400Ungueltiges JSON.
401Fehlender oder ungueltiger API-Key.
402Free-Tier-Limit ausgeschoepft.
422Payload ist an Format- oder Validierungspruefungen gescheitert.
503Generierungsservice nicht verfuegbar.

Agent Discovery

Agenten-Zusammenfassung: https://fakturai.de/llms.txt. Remote MCP Endpoint: https://fakturai.de/mcp.

Validator

Der kostenlose Validator ist unter https://fakturai.de/de/validator erreichbar.