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/{countryCode}/{format}/generateCreates a new XRechnung or ZUGFeRD invoice
POST /api/v1/invoice/{countryCode}/validateValidates an invoice against KoSIT schemas
POST /api/v1/invoice/convertConverts between different invoice formats
POST /api/v1/archive/storeArchives 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 "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": { "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}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