API documentation
Everything you need to get started. The full reference is in the interactive OpenAPI docs.
Open interactive API reference ↗Formats
xrechnung-ciiXRechnung (CII) – public sectorxrechnung-ublXRechnung (UBL) – public sectorzugferdZUGFeRD PDF (EN 16931) – business customerszugferd-xrechnungZUGFeRD PDF with XRechnungpeppol-ublPeppol BIS 3.0 (UBL)
Authentication
Create an API key in the dashboard and send it with every request:
Authorization: Bearer inv_live_…Create an invoice
The response is the file (XML or PDF). With ?output=json you get JSON with totals, warnings and base64 content instead.
curl -X POST https://api.invoicify.net/v1/invoices \
-H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
-d @rechnung.json -o rechnung.xml
# rechnung.json
{ "format": "xrechnung-cii", "invoice": { "number": "RE-1", "issue_date": "2026-11-11", … } }Quotes
Quotes get their own number (AN- number range) and are rendered as a PDF in your invoice design – without bank details or an e-invoice. They do not count towards your invoice quota. Only VAT is checked, so the later invoice is correct. A quote is valid for 30 days by default. Once it is accepted, create the invoice with the same lines and link it to the quote.
curl -X POST https://api.invoicify.net/v1/quotes \
-H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
-d @angebot.json -o angebot.pdf
# angebot.json – "quote" has the same fields as "invoice", without number
{ "quote": { "issue_date": "2026-11-11", "seller": { … }, "buyer": { … }, "lines": [ … ],
"payment": { "terms": "50 % bei Auftragserteilung" } },
"valid_until": "2026-12-11", "intro": "Vielen Dank für Ihre Anfrage …",
"closing": "Wir freuen uns auf Ihren Auftrag." }
POST /v1/quotes/preview check + next number, nothing saved
GET /v1/quotes?q=… list (limit, offset, search)
GET /v1/quotes/{id} details incl. content
PUT /v1/quotes/{id} change an open quote (keeps its number)
GET /v1/quotes/{id}/pdf PDF
POST /v1/quotes/{id}/status { "status": "accepted" | "declined" | "open" }
DELETE /v1/quotes/{id}
# accepted → create the invoice, then link it:
POST /v1/quotes/{id}/status { "status": "accepted", "invoice_id": "…" }VAT reports (from Pro)
Sales per month, quarter or year with the lines of the German advance VAT return and the EU sales list – by supply date (accrual) or payment date (cash). Credit notes are subtracted. Sales only: input VAT is not included.
# Q4 2026, by supply date (Soll) – JSON with UStVA lines, months, customers, ZM
curl -H "Authorization: Bearer $KEY" "https://api.invoicify.net/v1/reports/vat?period=2026-Q4"
# by payment date (Ist) as PDF; also format=csv (all invoices) or format=zm-csv
curl -H "Authorization: Bearer $KEY" -o ust-2026.pdf \
"https://api.invoicify.net/v1/reports/vat?period=2026&basis=cash&format=pdf"
# record a payment (null resets it)
curl -X POST https://api.invoicify.net/v1/invoices/{id}/paid -H "Authorization: Bearer $KEY" \
-H "Content-Type: application/json" -d '{ "paid_on": "2026-11-20" }'DATEV export (from Pro)
Issued invoices as a DATEV booking batch (EXTF 700) for your tax adviser. Either one collective customer account or one account per customer: recognised by customer number, else VAT ID, else name; assigned on the first export and kept. The customer master data carries the accounts' names, VAT IDs and postal addresses into DATEV.
# once: adviser/client number; one account per customer from 10000
curl -X PUT https://api.invoicify.net/v1/reports/datev/settings -H "Authorization: Bearer $KEY" \
-H "Content-Type: application/json" \
-d '{ "consultant_number": 1001, "client_number": 1, "chart": "SKR03",
"debitor_mode": "per_customer", "debitor_start": 10000 }'
# booking batch (EXTF) – assigns accounts to new customers and keeps them
curl -H "Authorization: Bearer $KEY" -OJ "https://api.invoicify.net/v1/reports/datev?period=2026-Q4"
# customer master data (EXTF Debitoren/Kreditoren): name, VAT ID and postal address
# of every customer account – import into DATEV before the booking batch
curl -H "Authorization: Bearer $KEY" -OJ "https://api.invoicify.net/v1/reports/datev/debitors/export"
GET /v1/reports/datev/settings current settings (null until saved)
GET /v1/reports/datev/accounts default revenue accounts (SKR03/SKR04)
GET /v1/reports/datev/debitors assigned customer accounts with address
PUT /v1/reports/datev/debitors/{id} { "number": 30000 } – renumber (409 if taken)Validate an invoice
Free, also without a key (then 10 checks per minute).
curl -F file=@rechnung.xml https://api.invoicify.net/v1/validateConvert a format
curl -H "Authorization: Bearer $KEY" \
-F file=@rechnung-ubl.xml -F target=zugferd \
https://api.invoicify.net/v1/convert -o rechnung.pdfAsync & webhooks
Save your endpoint once (or pass a webhook_url per job) and check it with a test event. With "mode": "async" you immediately get a job ID (HTTP 202). The webhook fires when done; check status via GET /v1/jobs/{id}. If your endpoint does not answer 2xx, we retry after 1 min, 5 min, 30 min, 2 h, 6 h and 12 h.
PUT /v1/webhooks/settings { "url": "https://example.com/hooks/invoicify" }
POST /v1/webhooks/test signed "webhook.test" event, sent once
{ "format": "zugferd", "invoice": { … }, "mode": "async" }
# optional per job: "webhook_url": "https://…" (overrides the saved URL)
# public addresses only: localhost, private and internal networks are refused (422)
→ 202 { "job_id": "…", "status": "queued", "status_url": "/v1/jobs/…" }
# webhook: signed POST, retried until your server answers 2xx
Invoicify-Delivery: 7c1e9b02-… (same id on every retry – skip duplicates)
{ "id": "7c1e9b02-…", "type": "job.succeeded", "job_id": "…", "invoice_id": "…" }
GET /v1/webhooks/deliveries last attempts: status, HTTP code, next retry
GET /v1/webhooks/deliveries/{id} one delivery (e.g. the test event)
POST /v1/webhooks/deliveries/{id}/retry send again nowError format
All errors share the same structure. findings contains rule, severity, readable message (de/en), suggested fix and the affected JSON field.
{ "error": { "code": "invoice_rules_violation", "message": "…",
"findings": [{ "rule": "BR-DE-15", "severity": "error", "field": "buyer_reference",
"message": "…", "message_de": "…", "hint": "…" }] } }