Invoice-api.xhub Logo
Invoice-api.xhub
Quickstart
Your first e-invoice in 5 minutes
API Endpoints
  • Creator
  • Parser
  • Validator
  • Formats
  • Visualizer
  • Archive
  • Converter
  • Peppol
Guides
  • Authentication
  • Invoice templates
  • Error handling
  • Webhooks
Resources
  • OpenAPI / Postman
  • Changelog
Shop Platforms
  • ShopifyShopify
  • WooCommerceWooCommerce
  • ShopwareShopware
  • JTL-ShopJTL-Shop
  • MagentoMagento
  • PrestaShopPrestaShop
Automation
  • n8nn8n
  • ZapierZapier
  • MakeMake
  • AirtableAirtable
  • HubSpotHubSpot
All Integrations
PricingBlog
Log In
API Playground

Test Invoice-api.xhub API

Test all API endpoints with sample data – right in your browser. No API key needed.

Creator

POST
https://service.invoice-api.xhub.io/api/v1/invoice/de/xrechnung/generate

XRechnung oder ZUGFeRD aus JSON erstellen

Quick Guide

  • •Currently only available for Germany. More countries coming soon.
  • •Use the Validator to check your XMLs before sending.
  • •Content-Type: application/json
  • •Auth: Bearer Token (Simuliert)
Full Documentation
Requestapplication/json
Format:
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{ "invoiceNumber": "RE-2025-001", "type": "invoice", "issueDate": "2025-01-15", "dueDate": "2025-02-15", "currency": "EUR", "seller": { "name": "Muster GmbH", "vatId": "DE811128135", "street": "Musterstraße 1", "postalCode": "10115", "city": "Berlin", "countryCode": "DE", "email": "info@muster.de", "phone": "+49 30 12345678", "registration": "HRB 12345 B", "ceo": "Max Mustermann", "bankAccount": { "iban": "DE89370400440532013000", "bic": "COBADEFFXXX" } }, "buyer": { "name": "Beispiel AG", "vatId": "DE136695976", "street": "Beispielweg 42", "postalCode": "80331", "city": "München", "countryCode": "DE" }, "items": [ { "position": 1, "description": "Beratungsleistung", "quantity": 10, "unit": "HUR", "unitPrice": 150, "taxRate": 19, "netAmount": 1500, "taxAmount": 285, "grossAmount": 1785 }, { "position": 2, "description": "Softwarelizenz", "quantity": 1, "unit": "C62", "unitPrice": 499, "taxRate": 19, "netAmount": 499, "taxAmount": 94.81, "grossAmount": 593.81 } ], "taxSummary": [ { "taxRate": 19, "netAmount": 1999, "taxAmount": 379.81 } ], "subtotal": 1999, "total": 2378.81, "paymentTerms": { "dueDays": 30, "description": "Zahlbar innerhalb von 30 Tagen" }, "countrySpecific": { "countryCode": "DE", "leitwegId": "991-12345-67" } }

Klicke auf "Run" um eine Antwort zu sehen

Code Integration

curl -X POST https://service.invoice-api.xhub.io/api/v1/invoice/de/xrechnung/generate \
  -H "Authorization: Bearer sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{
  "invoiceNumber": "RE-2025-001",
  "type": "invoice",
  "issueDate": "2025-01-15",
  "dueDate": "2025-02-15",
  "currency": "EUR",
  "seller": {
    "name": "Muster GmbH",
    "vatId": "DE811128135",
    "street": "Musterstraße 1",
    "postalCode": "10115",
    "city": "Berlin",
    "countryCode": "DE",
    "email": "info@muster.de",
    "phone": "+49 30 12345678",
    "registration": "HRB 12345 B",
    "ceo": "Max Mustermann",
    "bankAccount": {
      "iban": "DE89370400440532013000",
      "bic": "COBADEFFXXX"
    }
  },
  "buyer": {
    "name": "Beispiel AG",
    "vatId": "DE136695976",
    "street": "Beispielweg 42",
    "postalCode": "80331",
    "city": "München",
    "countryCode": "DE"
  },
  "items": [
    {
      "position": 1,
      "description": "Beratungsleistung",
      "quantity": 10,
      "unit": "HUR",
      "unitPrice": 150,
      "taxRate": 19,
      "netAmount": 1500,
      "taxAmount": 285,
      "grossAmount": 1785
    },
    {
      "position": 2,
      "description": "Softwarelizenz",
      "quantity": 1,
      "unit": "C62",
      "unitPrice": 499,
      "taxRate": 19,
      "netAmount": 499,
      "taxAmount": 94.81,
      "grossAmount": 593.81
    }
  ],
  "taxSummary": [
    {
      "taxRate": 19,
      "netAmount": 1999,
      "taxAmount": 379.81
    }
  ],
  "subtotal": 1999,
  "total": 2378.81,
  "paymentTerms": {
    "dueDays": 30,
    "description": "Zahlbar innerhalb von 30 Tagen"
  },
  "countrySpecific": {
    "countryCode": "DE",
    "leitwegId": "991-12345-67"
  }
}'

Recent Calls

Locally saved
No requests executed yet.
Ready for Production?
Invoice-api.xhub Logo
Invoice-api.xhub

The Stripe of e-invoicing APIs.
Developer-First. Transparent. Modular.

Product

  • Creator API
  • Parser API
  • Validator API
  • Format Converter
  • Visualizer API
  • Formats
  • Archive API
  • Peppol API
  • Pricing

Developers

  • Quickstart
  • Authentication
  • Invoice Templates
  • Error Handling
  • Webhooks
  • OpenAPI / Postman
  • Changelog
  • API Playground
  • E-Invoice Wizard
  • Tools

Integrations

Shop Platforms

  • Shopify
  • WooCommerce
  • Shopware
  • JTL-Shop
  • Magento
  • PrestaShop

Automation

  • n8n
  • Zapier
  • Make
  • Airtable
  • HubSpot

Compare

  • All comparisons
  • vs Lexware
  • vs DATEV
  • vs sevDesk
  • vs Easybill
  • vs Mustang Project
  • Best XRechnung API
  • ZUGFeRD generators
  • WooCommerce plugins

Company

  • About Invoice-api.xhub
  • Blog
  • Contact
  • Security

Developer Updates

New features, API changes, and best practices delivered to your inbox.

No spam. Max 2x per month. Unsubscribe anytime.

ImprintPrivacy PolicyTerms & Conditions

xhub.io - A Digital Service by BeeBack UG

© invoice-api.xhub.io 2026 All rights reserved.