Skip to content
CastPDF
Free tool

Free e-invoice generator

Fill in a short form and download a real e-invoice: a ZUGFeRD or Factur-X PDF/A-3 with the XML inside, or an XRechnung XML for a public buyer. It runs on our e-invoicing API, so the totals follow EN 16931 and every missing field is listed before anything is made.

  • No sign-up
  • Nothing stored
  • Updated

Try it now

Invoice

Required for XRechnung. Optional for ZUGFeRD and Factur-X.

Seller (you)

Two letters: DE, FR, AT.

Buyer

Needed for reverse charge.

Lines (net prices)

Free, no sign-up. Nothing is stored. A short human check runs when you press the button.

Page one of the ZUGFeRD PDF this generator makes from its sample: an invoice from Lindqvist Software GmbH to Brightwater Kaffee GmbH with VAT at 19 and 7 percent.
The sample ZUGFeRD invoice, page one. The XML is inside the file.

How to use the E-invoice generator

  1. Pick the format. ZUGFeRD or Factur-X for a PDF with the XML inside; XRechnung CII or UBL for the XML alone.
  2. Fill in both parties. Names, addresses, VAT numbers and an email for each side. XRechnung also needs the buyer reference (Leitweg-ID) and a seller phone.
  3. Add the lines. A name, a quantity, a unit, a net price and a VAT rate per line, up to 100 lines.
  4. Create and download. Press Create e-invoice. If something is missing, each problem is shown next to its field.

Which format to pick

The formats this generator makes
FormatYou getPick it for
ZUGFeRD (EN 16931)PDF/A-3b with factur-x.xml insideGerman business customers
Factur-X (EN 16931)PDF/A-3b with factur-x.xml insideFrench customers and their approved platforms
XRechnung UBLXML fileGerman public buyers whose portal takes UBL
XRechnung CIIXML fileGerman public buyers whose portal takes CII

Not sure? ZUGFeRD is the safe choice for businesses, because people can still read the PDF. Public buyers tell you which XRechnung syntax they want. The ZUGFeRD vs XRechnung comparison explains the difference.

How the totals are calculated

You enter net prices. Each line is quantity times price, rounded to cents. VAT is then computed once per rate on the sum of the lines with that rate, as EN 16931 requires. That is why our totals pass the validators that reject so many hand-made e-invoices.

The same numbers go onto the PDF page and into the XML. A hybrid e-invoice where the page and the XML disagree is a common reason for rejection, and it cannot happen here.

When the form is not complete

Before making anything, the generator checks the invoice: required fields, country and currency codes, the VAT rules and the IBAN check digits. Every problem is shown next to the field it belongs to, all at once, in plain English. Fix them and press the button again.

XRechnung asks for more than ZUGFeRD: the buyer reference, a seller contact with a phone number and email addresses for both sides. The sample already has them, so you can switch the format and try it.

Check before you send

Run a test invoice past your customer or their portal before you rely on it. Files built the same way passed the KoSIT validator in our tests, but a receiver may have rules of its own.

Limits of the free tool

Limits of the free tool
InputUp to 100 lines
OutputA ZUGFeRD or Factur-X PDF/A-3b, or an XRechnung XML
Not supportedDiscounts, credit notes and exemption reasons (available in the API)
How often10 requests a minute and 100 a day from one address
On every PDFA small "Made with CastPDF" line in the footer

Automate this

Doing this every week? The same engine runs behind the CastPDF API, with no footer on paid plans and 100 free PDFs a month to start.

With the API

Send the same invoice as JSON in e_invoice to POST /v1/pdf from your billing system. The ZUGFeRD and XRechnung guide has the full request.

From a spreadsheet

Many invoices? Loop over your records and send one e_invoice request each; every request returns one finished e-invoice.

In a no-code workflow

Common questions

Is a file from this e-invoice generator a valid e-invoice?

It is a structured EN 16931 e-invoice in the format you choose, built the same way as our API output, which the KoSIT validator accepted in our tests. Whether a receiver accepts it also depends on the data you enter.

Is the e-invoice generator free?

Yes, without an account. PDFs carry a small CastPDF line in the footer. The free tools allow 10 requests a minute and 100 a day.

Can I add discounts, reverse charge or credit notes?

The free form covers ordinary invoices with standard, reduced and zero VAT and reverse charge lines. Discounts, credit notes and exemption reasons are available through the API.

Where do I get a Leitweg-ID?

From the public buyer. It identifies the office that receives the invoice and is usually in the order or the contract.

Do you keep the invoices I generate?

No. The e-invoice is made once and returned to your browser. Nothing is stored, so save your copy.
All free tools

Your first PDF in five minutes.

Pick a template, create a free test key and send one request. 100 PDFs a month are free, and you never need a card to start.