Compliance · Updated November 19, 2026 Updated
Backoffice

E-Invoicing (ZUGFeRD / Factur-X)

Every Document PDF you generate is already a machine-readable e-invoice — no setup, no toggle. Your customers' accounting systems can import the embedded data automatically.

E-Invoicing (ZUGFeRD / Factur-X)

Every Document PDF Paymash generates is already a Factur-X e-invoice. There's nothing to turn on and no profile to pick — when you tap Document PDF on any invoice, the file you get is a PDF/A-3 with a machine-readable EN 16931 XML embedded inside. Your customers' accounting systems can import the structured data automatically.

Two things have to be filled in. The European standard has no way to describe an invoice with no seller VAT number or no named customer, so a Document PDF is refused rather than issued with gaps: your company needs a VAT number, and the invoice needs a customer whose address includes a country. Both are one-time fixes and the app tells you which one is missing.

The button just says Document PDF — you won't see "ZUGFeRD" or "Factur-X" in the app. The e-invoice capability is built in silently; this article explains what's happening under the hood.

What it does

When you or your customer downloads a Document PDF from Paymash, the system:

  1. Renders the human-readable invoice (the familiar A4 layout with your logo, line items, totals, and customer address).
  2. Converts the PDF to PDF/A-3 (the long-term archival standard).
  3. Generates an EN 16931 XML with the invoice's structured data — seller, buyer, line items, tax breakdown, totals, payment terms, and due date.
  4. Embeds the XML inside the PDF as a file attachment named factur-x.xml.

The result is a single file that works as both a regular PDF (open it, print it, email it) and a machine-readable data source. This is the Factur-X / ZUGFeRD standard — widely used in Germany, France, and Switzerland for B2B e-invoicing.

The XML follows the Comfort profile of EN 16931: seller and buyer details, individual line items with quantities and prices, per-line tax rates, totals, and payment terms.

Benefits

  • Already active — every Document PDF is a Factur-X e-invoice. No setup, no toggle, no upgrade.
  • Correct by construction — the totals in the XML are calculated from the invoice's own lines and tax breakdown, so they always add up the way the standard requires and pass a recipient's validation.
  • Dual-purpose file — one PDF that humans can read and machines can import. No separate XML to ship alongside.
  • EN 16931 compliant — follows the European e-invoicing standard at the Comfort profile.
  • PDF/A-3 archival format — meets the long-term archival standard, suitable for 10+ year retention.
  • Accessible via the API — the Factur-X endpoint is publicly accessible, so integrations can retrieve the e-invoice PDF directly.
  • Your customer's download never breaks — if an invoice can't carry e-invoice data, the copy your customer downloads from their invoice link is still a normal, working PDF.

How it works

  1. Open any invoice from the Sales page.
  2. In the right sidebar, tap Show PDF.
  3. Tap Document PDF — the file downloads immediately.
  4. That's it. The file is a PDF/A-3 with the embedded factur-x.xml. Open it in any PDF reader as usual — the e-invoice data rides along invisibly inside.

When your customer uses the Print / PDF button on the public invoice link, they get a browser-rendered PDF (via the browser's print dialog), not a Factur-X file. The Factur-X version is only produced by Document PDF in the editor sidebar — send it to your customer as an email attachment if they need the structured data.

Who is this for

  • Any business sending invoices to other businesses — the recipient's accounting system can import the structured data without manual re-entry.
  • Businesses in Germany, Austria, Switzerland, or France where ZUGFeRD (DE/AT/CH) or Factur-X (FR) is the standard for B2B invoicing.
  • Any Paymash user — active for every company regardless of country or plan. Even if your recipients don't use automated invoice processing today, the file works as a regular PDF.

What data is included in the XML? Seller info (name, address, VAT number, email), buyer info (name, address, VAT number when present), every line item (name, quantity, unit price, net amount, tax rate), tax breakdown, gross and net totals, amount due, payment terms, due date, and currency. Three of those are required by the standard and are checked before the file is built — see the next three questions.

Does the embedded data include the customer's full address? Yes — including the address addition. If your customer's address has a second line, a c/o, a PO box, a floor or a department, it travels in the XML as the buyer's second address line, the field the European e-invoicing standard sets aside for exactly that. Their country and VAT number are in there too, so an accounting system importing the file gets the whole address rather than a shortened one.

I got an error saying my company has no VAT number. The European standard requires the seller to be identified by a VAT number, and there is no version of the document that leaves it out. Add your VAT number in Settings under your company details and try the download again. This one blocks every invoice in the account until it is filled in, so it is worth doing first.

I got an error saying the invoice has no customer. An e-invoice has to name who it is addressed to — a counter sale with no customer attached is a receipt, not an e-invoice. Attach a customer to the invoice and download again. (For small over-the-counter amounts, a receipt is what the law expects anyway.)

I got an error saying the customer has no country. The standard requires the buyer's country as part of their address. Open the customer record, set the country on their address, and download again.

Do I have to fix this for the customer's copy too? No. When your customer opens their invoice link and downloads the PDF, they always get a working file — it simply arrives as a normal PDF without the embedded data instead of failing. Fixing the missing detail upgrades their copy too, for every download from then on.

Is this the same as XRechnung? No. XRechnung is a separate German e-invoicing standard (also based on EN 16931 but with stricter requirements and a different profile). Paymash generates Factur-X at the Comfort level, which is accepted by many B2B systems but may not satisfy XRechnung-specific requirements for German public-sector invoicing.

Does the receipt PDF also include Factur-X data? No. Only the Document PDF (A4) includes the embedded XML. The 58mm and 80mm receipt PDFs are standard PDFs without e-invoice data.

Can accounting software actually read the embedded XML? If the software supports Factur-X, ZUGFeRD 2.0+, or EN 16931 CII import — yes. Most modern European accounting and ERP systems (DATEV, Lexware, sevDesk, Bexio, SAP) extract the XML automatically when the PDF is imported. The recipient doesn't need to do anything special.

Was this helpful?

Ready to try this feature?