Zapier

Zapier Integration

Coming Soon

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 can integrate Invoice-api.xhub via the Webhooks by Zapier module and HTTP Requests.

HTTP Integration (Available Now)

Webhooks as Trigger

Use "Webhooks by Zapier" to use Invoice-api.xhub events as triggers.

  1. 1

    Create Zap

    Select "Webhooks by Zapier" → "Catch Hook" as trigger

  2. 2

    Copy Webhook URL

    Zapier generates a unique webhook URL

  3. 3

    Register Webhook

    Register the URL with Invoice-api.xhub with your desired events

bash
1# 1. Webhook URL aus Zapier kopieren
2# In Zapier: "Webhooks by Zapier" "Catch Hook"
3 
4# 2. Webhook bei Invoice-api.xhub registrieren
5curl -X POST https://service.invoice-api.xhub.io/v1/webhooks \
6 -H "Authorization: Bearer $XHUB_API_KEY" \
7 -H "Content-Type: application/json" \
8 -d '{
9 "url": "https://hooks.zapier.com/hooks/catch/123456/abcdef/",
10 "events": ["invoice.created", "invoice.validated"]
11 }'
12 
13# 3. Test-Event senden
14curl -X POST https://service.invoice-api.xhub.io/v1/webhooks/wh_xyz789/test \
15 -H "Authorization: Bearer $XHUB_API_KEY"

HTTP Actions

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

Create InvoicePOST /api/v1/invoice/de/xrechnung/generate

Creates a new XRechnung or ZUGFeRD invoice

Validate InvoicePlanned {time} Q2 2026POST /api/v1/invoice/de/validate

Validates an invoice against KoSIT schemas

Convert InvoicePOST /v1/convert

Converts between different invoice formats

Archive InvoicePOST /v1/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 "type": "xrechnung-3.0",
11 "seller": {
12 "name": "{{seller_name}}",
13 "vatId": "{{seller_vat_id}}",
14 "address": {
15 "street": "{{seller_street}}",
16 "city": "{{seller_city}}",
17 "zip": "{{seller_zip}}",
18 "country": "DE"
19 }
20 },
21 "buyer": {
22 "name": "{{buyer_name}}",
23 "vatId": "{{buyer_vat_id}}",
24 "leitweg": "{{leitweg_id}}"
25 },
26 "items": [
27 {
28 "description": "{{item_description}}",
29 "quantity": {{item_quantity}},
30 "unitPrice": {{item_price}},
31 "vat": 19
32 }
33 ]
34}

Available Triggers

These events can be used as webhook triggers in your Zaps.

New Invoice Created

invoice.created

Triggers when a new invoice is created via Invoice-api.xhub

Invoice Validated

invoice.validated

Triggers when an invoice is successfully validated

Validation Failed

invoice.failed

Triggers when invoice validation fails

Peppol Status Changed

peppol.status_changed

Triggers when the Peppol delivery status changes

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: Invoice-api.xhub → Validation Failed
  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.