Invoice API for shops and your own systems

With the BelegDock API, your shop or software issues invoices and corrective invoices without you having to build invoicing software. You send the amounts of the order; BelegDock assigns the invoice number, creates the e-invoice, checks it with the official KoSIT validator, renders the PDF in your design, archives everything and, if you want, sends it by email.

What you get

What a call looks like

curl https://belegdock.io/v1/invoices \
  -H "Authorization: Bearer bd_test_..." \
  -H "Content-Type: application/json" \
  -d @order-1001.json

The response is 202 Accepted with the document in status queued. You poll GET /v1/documents/{id} until the status is issued, sent or delivered, and then download /pdf and, for business customers, /xml.

Rules that keep your integration safe

Access and security

Owners create API keys in the workspace under API; this requires two-factor sign-in. BelegDock stores only a hash of the key and shows the key exactly once. Keys can be revoked at any time. A key is valid for exactly one workspace and sees only that workspace's documents.

Documentation

What the API does not cover

Version 1 issues invoices for paid orders, in euros, to buyers in Germany, with 19% and 7% VAT. It rejects other currencies and countries, reverse charge, intra-community supplies, OSS, the margin scheme, small businesses under § 19 UStG (Kleinunternehmer), down-payment invoices and invoices to public authorities with a Leitweg-ID. More on the scope page.

Set up your invoice emails.

Create your free account, connect Stripe and design your template. The first 10 real documents each month are free.

Start for free