← Back to Business File Tools

UBL vs Factur-X vs ZUGFeRD

This guide compares the formats people most often confuse when they start receiving structured or hybrid invoice files.

The short version

UBL is typically a structured XML invoice on its own. Factur-X and ZUGFeRD usually refer to hybrid workflows where a PDF invoice also carries machine-readable XML. The practical difference is not just technical format; it changes how the file is received, viewed, and handed off.

Format Typical file shape Best use What Tooltensor helps with
UBL Standalone XML invoice System-to-system invoice exchange and structured parsing Detection and readable invoice viewing
Factur-X PDF plus embedded XML Keeping a human-readable invoice and machine-readable data in one file Detection and best-effort XML extraction
ZUGFeRD PDF plus embedded XML Hybrid invoice workflows similar to Factur-X Detection and best-effort XML extraction

Why users get confused

Many people think they are comparing three unrelated invoice standards. In practice, the real split is often between plain structured XML and hybrid PDF-plus-XML workflows. That is why a file can look like a normal PDF invoice and still behave like a structured invoice behind the scenes.

How to choose the right Tooltensor page

If the file is already XML, start with the viewer or detector. If the file is PDF but should contain invoice data, start with the extractor. If you do not know what you were sent, the detector is the safest starting point because it can push you toward the right next step without pretending certainty.

Practical decision rule

If the file opens like plain XML, think in terms of structured invoice review. If the file opens like a normal PDF but someone says it is machine-readable, think in terms of hybrid invoice extraction. That one distinction solves most early confusion.

Common misunderstanding

People often compare UBL, Factur-X, and ZUGFeRD as if they only differ by label. The more useful comparison is file shape and workflow: standalone XML versus PDF plus embedded XML.

Quick answers

Is Factur-X the same as UBL? No. UBL is usually handled as structured XML, while Factur-X is commonly used as a hybrid PDF plus XML workflow.

Is ZUGFeRD always different from Factur-X in practice? For many users, the practical question is the same: does the PDF contain usable XML, and can the workflow extract and inspect it reliably?

Which format is easier to inspect first? Standalone XML is usually easier because the structure is already exposed. Hybrid PDFs often need an extraction step before inspection can begin.

Related pages

Run the format detector · Extract XML from a PDF · Read about PDF vs structured invoices