Zapier Integration
Coming SoonConnect 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
Create Zap
Select "Webhooks by Zapier" → "Catch Hook" as trigger
- 2
Copy Webhook URL
Zapier generates a unique webhook URL
- 3
Register Webhook
Register the URL with Invoice-api.xhub with your desired events
1# 1. Webhook URL aus Zapier kopieren2# In Zapier: "Webhooks by Zapier" → "Catch Hook"3 4# 2. Webhook bei Invoice-api.xhub registrieren5curl -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 senden14curl -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.
POST /api/v1/invoice/de/xrechnung/generateCreates a new XRechnung or ZUGFeRD invoice
POST /api/v1/invoice/de/validateValidates an invoice against KoSIT schemas
POST /v1/convertConverts between different invoice formats
POST /v1/archiveArchives an invoice in GoBD-compliant format
1# Zapier HTTP Action konfigurieren:2# Method: POST3# URL: https://service.invoice-api.xhub.io/api/v1/invoice/de/xrechnung/generate4# Headers:5# Authorization: Bearer {{your_api_key}}6# Content-Type: application/json7 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": 1932 }33 ]34}Available Triggers
These events can be used as webhook triggers in your Zaps.
New Invoice Created
invoice.createdTriggers when a new invoice is created via Invoice-api.xhub
Invoice Validated
invoice.validatedTriggers when an invoice is successfully validated
Validation Failed
invoice.failedTriggers when invoice validation fails
Peppol Status Changed
peppol.status_changedTriggers when the Peppol delivery status changes
Example Workflows
ERP → E-Invoice
Automatically create an XRechnung when an order is completed in your ERP
- 1Trigger: New order in SAP/Odoo/etc.
- 2Action: Invoice-api.xhub → Create Invoice
- 3Action: Google Drive → Save upload
Form → Invoice
Generate compliant invoices directly from Typeform or Google Forms submissions
- 1Trigger: New form submission
- 2Action: Invoice-api.xhub → Create Invoice
- 3Action: Email → Send PDF to customer
Error Notification
Get notified immediately via Slack when validations fail
- 1Trigger: Invoice-api.xhub → Validation Failed
- 2Action: Slack → Message in #accounting
- 3Action: Trello → Create ticket