Radar

Home › APIs › Tax, invoices & payments

Tax, invoices & payments

UBL Invoice to PDF API

Turns an e-invoice XML (XRechnung, Peppol UBL or ZUGFeRD) into a normal PDF invoice you can print, archive or forward, and checks that its sums add up. Do it free in your browser →

Try it here

  1. 1Fill in
  2. 2Press the button
  3. 3Read the answer
Words you may not know
  • PDF = A document file that looks the same on every computer and phone.
  • e-invoice = An invoice sent as a data file (not a picture or normal PDF), required more and more in the EU.
  • XML = A data file used by banks and programs. Not meant to be read by people; our tools read it for you.
  • XRechnung = the German e-invoice format, required by public offices.

Which way is for you?

What is an API, and do I need one?

An API lets your software get an answer by itself, for example a shop checking every new customer's VAT number. Not a programmer? Use the free tool in your browser instead.

Use it in your app: free key in 10 seconds100 calls a month on all 158 APIs · no card · the key shows on the screen at once

Without a key: 3 test calls/day. With a free key: 100 calls/month, usage dashboard & Excel/Sheets · Have a key? Open my key · Lost it? Get it by e-mail

For programmers: details, example request and inputs

Turn one e-invoice (UBL 2.1 Invoice or CreditNote, Peppol BIS Billing 3.0, XRechnung UBL or CII, or a ZUGFeRD / Factur-X PDF with the XML inside) into a clean A4 PDF: seller and buyer with VAT ID and e-invoice address, every line, VAT breakdown, totals, IBAN and payment terms. Labels in English, German, French or Dutch (auto = seller's country). Returns the PDF as base64 plus the parsed header, totals and arithmetic checks. DOCTYPE / ENTITY refused. Deterministic, 0 AI, nothing stored.

Example request

curl -X POST https://radarbg.com/v1/ubl-invoice-to-pdf \
  -H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"lang": "auto"}'

Answer: {"ok": true, "count": N, "items": [...], "usage": {...}}. Failed calls are not counted.

Inputs

FieldTypeDescription
xmlstringThe e-invoice as XML text (empty = built-in XRechnung UBL sample with 2 VAT rates)
fileContentstringOr the .xml / ZUGFeRD .pdf base64-encoded (max 10 MB)
fileNamestringOptional file name, e.g. R-2026-1187.xml
langstringLanguage of the PDF labels; auto = from the seller's country (DE/AT/CH -> de, FR -> fr, NL/BE -> nl, else en)

Price

Included in every plan: 100 calls a month free, then from €15 a month for 5,000 calls across all APIs. Pro, €49 for 25,000 calls, is the one we recommend.

Questions

What does the UBL Invoice to PDF API do?

Turns an e-invoice XML (XRechnung, Peppol UBL or ZUGFeRD) into a normal PDF invoice you can print, archive or forward, and checks that its sums add up.

Where does the data come from?

Turn one e-invoice (UBL 2.1 Invoice or CreditNote, Peppol BIS Billing 3.0, XRechnung UBL or CII, or a ZUGFeRD / Factur-X PDF with the XML inside) into a clean A4 PDF: seller and buyer with VAT ID and e-invoice address, every line, VAT breakdown, totals, IBAN and payment terms. Labels in English, German, French or Dutch (auto = seller's country). Returns the PDF as base64 plus the parsed header, to

How much does it cost?

100 calls a month are free with no card. Paid plans start at EUR 15 a month for 5,000 calls and include every API on Radar. Failed calls are not counted.

What is an API? Do I need to be a programmer?

An API lets a program get answers from another program automatically. You only need it if your own website or software should do this by itself. Without programming, use the free browser tool, the Excel upload where offered, or let us do the job for you.

Related APIs

Bank Statement & ISO 20022 APITurns a bank statement file (camt.053 or MT940) into a normal table you can open in Excel, and checks that the balances add up.
CAMT.054 Payment Notification APIOpens a camt.054 bank file and lists every single payment of a collective booking, checks that they add up to the booked amount and checks QR and RF references.
E-Invoice to DATEV APIBooks German e-invoices (XRechnung, ZUGFeRD, Peppol) into a DATEV file for the tax advisor: one booking per VAT rate with the right tax key, and a check that every invoice adds up.
EPC QR Code APIMakes the payment QR code for an invoice (in Germany GiroCode): the payer scans it with the banking app and name, IBAN, amount and reference are filled in. The IBAN is checked first.
EU E-Invoice Parser APIOpens EU e-invoices (XRechnung, ZUGFeRD, Peppol) and shows them as a normal, readable invoice.
EU VAT Calculator APIAdd or remove VAT for any EU country and see the net, the VAT and the total.