Zapier

Zapier Integration

Planned Q4/2026

Connect Invoice-api.xhub with over 5,000 apps. Automate your e-invoice workflows without a single line of code.

Native App in Development

Our official Zapier App is currently in development. In the meantime you call Invoice-api.xhub from Webhooks by Zapier → Custom Request: your own system triggers the Zap — the API itself sends no events.

HTTP Actions

Use "Webhooks by Zapier" → "Custom Request" to execute Invoice-api.xhub API calls.

Create InvoicePOST /api/v1/invoice/{countryCode}/{format}/generate

Creates a new XRechnung or ZUGFeRD invoice

Validate InvoicePOST /api/v1/invoice/{countryCode}/validate

Validates an invoice against KoSIT schemas

Convert InvoicePOST /api/v1/invoice/convert

Converts between different invoice formats

Archive InvoicePlanned 2027POST /api/v1/invoice/archive

Archives an invoice in GoBD-compliant format

json
1# Zapier HTTP Action konfigurieren:
2# Method: POST
3# URL: https://service.invoice-api.xhub.io/api/v1/invoice/de/xrechnung/generate
4# Headers:
5# Authorization: Bearer {{your_api_key}}
6# Content-Type: application/json
7 
8# Body (JSON):
9{
10 "invoice": {
11 "invoiceNumber": "{{invoice_number}}",
12 "type": "invoice",
13 "issueDate": "{{issue_date}}",
14 "dueDate": "{{due_date}}",
15 "currency": "EUR",
16 "seller": {
17 "name": "{{seller_name}}",
18 "vatId": "{{seller_vat_id}}",
19 "street": "{{seller_street}}",
20 "city": "{{seller_city}}",
21 "postalCode": "{{seller_postal_code}}",
22 "countryCode": "DE"
23 },
24 "buyer": {
25 "name": "{{buyer_name}}",
26 "vatId": "{{buyer_vat_id}}",
27 "street": "{{buyer_street}}",
28 "city": "{{buyer_city}}",
29 "postalCode": "{{buyer_postal_code}}",
30 "countryCode": "DE"
31 },
32 "countrySpecific": { "countryCode": "DE", "buyerReference": "{{buyer_reference}}" },
33 "items": [
34 {
35 "position": 1,
36 "description": "{{item_description}}",
37 "quantity": {{item_quantity}},
38 "unit": "C62",
39 "unitPrice": {{item_price}},
40 "taxRate": 19,
41 "netAmount": {{item_net}},
42 "taxAmount": {{item_tax}},
43 "grossAmount": {{item_gross}}
44 }
45 ],
46 "subtotal": {{subtotal}},
47 "total": {{total}},
48 "taxSummary": [{ "taxRate": 19, "netAmount": {{subtotal}}, "taxAmount": {{total_tax}} }],
49 "paymentTerms": { "dueDays": 30 }
50 }
51}

Example Workflows

ERP → E-Invoice

Automatically create an XRechnung when an order is completed in your ERP

  1. 1Trigger: New order in SAP/Odoo/etc.
  2. 2Action: Invoice-api.xhub → Create Invoice
  3. 3Action: Google Drive → Save upload

Form → Invoice

Generate compliant invoices directly from Typeform or Google Forms submissions

  1. 1Trigger: New form submission
  2. 2Action: Invoice-api.xhub → Create Invoice
  3. 3Action: Email → Send PDF to customer

Error Notification

Get notified immediately via Slack when validations fail

  1. 1Trigger: the error branch of your workflow (the validate call answers `valid: false`)
  2. 2Action: Slack → Message in #accounting
  3. 3Action: Trello → Create ticket

Want to be notified when the native app is available?

Sign up and we will notify you as soon as the official Zapier App is available in the Zapier Marketplace.