API Playground

invoice.xhub API testen

Teste alle API-Endpoints mit Beispieldaten. Kein API Key nötig – alles client-side simuliert.

POSThttps://api.xhub.io/v1/invoices

XRechnung oder ZUGFeRD aus JSON erstellen

Content-Type:application/jsonAuth:Bearer token

Request Body

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38

Response

Klicke auf "Try it" um eine Antwort zu sehen

Beispielcode

-purple-400">curl -X POST https://api.xhub.io/v1/invoices \
  -H "Authorization: Bearer xhub_live_..." \
  -H "Content-Type: application/json" \
  -d -success">'{
  "seller": {
    "name": "Muster GmbH",
    "vatId": "DE123456789",
    "address": {
      "street": "Musterstraße 1",
      "city": "Berlin",
      "zip": "10115",
      "country": "DE"
    }
  },
  "buyer": {
    "name": "Beispiel AG",
    "vatId": "DE987654321",
    "leitweg": "991-12345-67",
    "address": {
      "street": "Beispielweg 42",
      "city": "München",
      "zip": "80331",
      "country": "DE"
    }
  },
  "items": [
    {
      "description": "Beratungsleistung",
      "quantity": 10,
      "unitPrice": 150,
      "vat": 19
    },
    {
      "description": "Softwarelizenz",
      "quantity": 1,
      "unitPrice": 499,
      "vat": 19
    }
  ],
  "format": "xrechnung-3.0"
}'

Request History

Keine Requests bisher

Unterstützte Formate

XRechnung3.0.2
ZUGFeRD2.1.1
Factur-X1.0.07
UBL2.1
CIID16B

💡 Tipps

  • • Bearbeite das JSON direkt im Editor
  • • Tab fügt 2 Leerzeichen ein
  • • "Quick test" zeigt Mock-Responses
  • • Kopiere den Code für deine App

Bereit für Production?

Erstelle einen API Key und nutze die echte API.