From magazine topic to project implementation
Relevant service and technical pages for this post
Monday morning, month-end: the ticket system is piling up with „invoice won’t go through“ reports. One colleague attaches a PDF, another an XML file. The reflex is understandable: „If we open the XML, we’ll see what’s inside.“ This is exactly where the misunderstanding begins. Validating e‑invoices is not the same as „displaying the XML“. Anyone who relies on that buys apparent security — and shifts the actual work into support, accounting and supplier escalations.
At the same time there is a second, equally understandable objective: invoices should pass through quickly. No one wants to introduce additional hurdles in inbound processing that throttle throughput. Between these two goals – automation and speed on one side, compliance and reproducible error resolution on the other – the practical question arises: How deep must the validation be so that it truly helps in day-to-day operations, instead of becoming just „another tool“?
Decision map: Throughput vs. traceability – when does „display“ tip over into „validate“?
The fast visual presentation has a clear benefit: people recognise sender, amounts, line items. That reduces routine queries. The effort is low, the entry point simple.
The downside becomes apparent as soon as data are to be processed machine‑readably – for example during ERP import, automatic account assignment, or matching against purchase orders. Then it is not the visual representation that is processed, but the structured data. And it is precisely there that the errors lie which remain invisible in the PDF: required fields missing, cardinalities incorrect, sum relationships broken, or codes outside the permitted lists.
So anyone who treats „display only“ as a quality attribute often makes the wrong operational decision: they accept an invoice that later fails in the chain – with greater consequential damage (manual rework, data corrections, delays). The alternative of „strict validation“ also incurs costs: more rejections, more clarification cases, potentially more friction with suppliers. The sensible middle ground is not a gut feeling, but a clear validation and routing decision: Which findings block processing, which are routed into a defined clarification workflow, and which are mere quality indicators?
Validating e‑invoices: Why „displaying the XML“ creates false security
From an IT perspective an e‑invoice is not a document but a structured data set with rules. A viewer can render the data set readable, but it does not determine whether the document is conformant in the target environment. This distinction is crucial, because many errors only become visible in the interplay of rule set, profile and target channel.
EN 16931 is the most frequent stumbling block in conversations between IT and the business. The standard is not „an XML format“ but a semantic data model plus business rules. It is only via so‑called syntax bindings that this model is mapped into concrete technical syntaxes, typically UBL 2.1 or UN/CEFACT CII. The European Commission describes EN 16931 precisely in this role and emphasizes that conformity must be ensured via technical validation artifacts.[Source] Practical consequence: a parser and a viewer are not automatically a validator. And a validator without an understandable validation report is of limited use to operations and support.
What “validation” really means in everyday practice: four levels, four distinct error classes
A robust e-invoice validation separates levels. That helps not only technically, but also makes rollout and support plannable: each level has its own typical error patterns and a different „responsible“ role (IT, process owners, supplier management).
1) Syntax validation (XSD): „Can I even process the XML?“
Syntax validation ensures that the XML is formally correct, usually against an XML schema (XSD). This prevents parsing errors and gross structural problems. Operationally this is the minimum — but it says nothing about whether the invoice is consistent as a business document.
2) Structure and cardinalities: „Are data located correctly and with the right cardinality?“
This level concerns rules such as: must an element occur exactly once? May it occur multiple times? Does it belong at header or line-item level? Such errors often arise in mappings, converters or from „small adjustments“ in interfaces that were not tested properly.
3) Semantics (business rules, often Schematron): „Do totals, taxes and dependencies make sense?“
Semantic validation checks relationships, for example total calculations, tax amounts, dependencies between fields or permitted codes. In practice this level decides whether automation becomes stable or whether you end up in manual correction loops during the monthly run.
4) Profiles, CIUS and target channel: „Which rules apply for this recipient?“
In addition to EN 16931, national or domain-specific restrictions often apply, frequently as CIUS (Core Invoice Usage Specification). For IT this means: „compliant“ is not an absolute state, but depends on which rule set and which version validation is performed against. It’s inconvenient, but this is precisely where many „it works for us“ discussions arise when senders and receivers operate from different validation baselines.
ZUGFeRD/Factur‑X: The visual representation is important — but not the source of truth
ZUGFeRD (or Factur‑X) looks at first glance like the perfect bridge: people see a familiar PDF, systems receive structured data. Technically it is a hybrid format: a PDF/A‑3 file contains an embedded XML with the invoice data. FeRD explicitly describes this construction: the PDF is the visual component, the XML is machine-readable.[Quelle]
From that arise two risks that are often underestimated in projects:
- Diverging truths: PDF and XML can contain different content, for example when the visual representation has been edited or when generators pull data from different sources.
- Discussions without a decision criterion: The PDF “looks correct”, the XML fails on import. Without a clear rule as to which level is authoritative in case of conflict, the case ends up in ping-pong between teams.
Additionally comes the maintenance reality: For ZUGFeRD there are profile- and version-specific validation artifacts (XSD and Schematron) that are tied to EN 16931 and are updated accordingly.[Source] For operations and change management this means: Without a documented validation baseline (profile, version, artifacts) troubleshooting after updates becomes unnecessarily expensive. Otherwise you do not know whether a supplier “delivers worse” or whether your validation baseline has changed.
Understanding the validation report and findings: what support and operations actually need
A validation is only as good as its findings. “Valid/invalid” is no help in support. What is required is a report that reads like a technical diagnostic note: rule ID, severity and an unambiguous reference to a field or position. The E-Invoicing Portal Rhineland-Palatinate describes this character: validation is performed, among others, against mandatory data, structure/syntax and EN-16931 rules; the result is a validation report with message types (Information/Warning/Error) and usually a rule ID plus field/position reference.[Source]
From this, operations can derive a robust, measurable procedure:
- Error: technically not processable → rejection or quarantine (no ERP import, no automatic posting).
- Warning: processable, but with risk → clarification workflow (e.g., matching, master data, supplier query).
- Information: note for monitoring/quality → include in the reference catalog, optional supplier feedback, but without stopping the process.
Important as a boundary: a validation report does not confirm substantive correctness (service rendered, price correct, tax treatment correct). It answers a different question central to IT: Can the invoice be processed as a structured dataset in your process chain reliably and repeatably?
Constructed everyday scenario: visual appearance “OK”, XML not importable
Sequence of steps: Establish a verifiable, supportable e-invoicing pipeline
- Classify incoming documents: treat XRechnung-XML, ZUGFeRD/Factur‑X (PDF plus embedded XML) and other formats separately. Without classification, validation rules are applied incorrectly.
- Record the validation baseline: profile, version, XSD/Schematron artifacts used, optionally CIUS variant. This belongs in change and release notes, not in personal knowledge.
- Run validation as a repeatable step: same input → same finding. This sounds trivial, but it is the prerequisite for detecting regressions after updates.
- Standardize the validation report: rule ID, severity, field/line reference, short text; ideally also machine-readable for ticketing/workflow.
- Define routing: Error → quarantine/reject; Warning → clarification case; Info → monitoring. This prevents every message from automatically stopping the process.
- Specify hybrid reconciliation: for ZUGFeRD/Factur‑X define minimal reconciliation checks (e.g. totals, tax, references) and set rounding tolerances. Decide explicitly which value takes precedence in conflicts.
- Plan logging: incoming ID/hash, validator or ruleset version, timestamp, result. Without these data, later root cause analysis becomes unnecessarily expensive.
Decision matrix: „display“ vs. „validate“ vs. „validate + reconcile“
| Operational context | What is usually sufficient | Typical risk when not tested enough |
|---|---|---|
| Pilot phase, low volume, little automation | Visual representation plus simple syntax checks | Errors creep into the process; later migration becomes difficult because workarounds become entrenched |
| ERP import, multiple suppliers, growing volume | EN 16931 validation plus a reliable validation report | Ambiguous error patterns create support backlogs and manual postings with data-quality consequences |
| Hybrid formats in daily operation, recurring discussions about „which data is correct“ | Validation plus visual/XML reconciliation (defined criteria) | Conflicts between PDF and XML lead to clarification cases, delays and escalations |
Tool selection without ambiguity: criteria that matter in production
Many companies initially treat e-invoices as a „PDF issue.“ That is not wrong — it is just incomplete. For IT management and administration, what ultimately matters is whether a tool is viable in operation, change management and support.
| Criterion (verifiable) | Why it matters for IT/administration | What to test specifically during acceptance |
|---|---|---|
| Local processing vs. upload | Data protection, isolated networks, lower dependence on external services | Is processing performed locally? Are there online dependencies (e.g. validation only via web service)? |
| Quality of the validation report | Ticketability, fast resolution, clear supplier communication | Rule ID, severity, field/line reference, understandable short text, export capability | Transparency about profile/version/test bench | Explain regressions after updates, traceability for audits | Can the tool output the test bench (artifacts/versions) or document it? |
| Rendered view and XML usable together | Resolve clarification cases for hybrid formats faster | Quick switching between rendered view, structured data and findings without a media break |
| Rollout and maintenance | Packaging, required permissions, update path, logging | Installation packages, update process, required permissions, logging options, platform mix |
For the use profile „Locally checking e‑invoices, viewing rendered view and embedded XML together, tracing findings“ netPDF describes exactly this chain: a readable rendering instead of an XML view and a technical validation according to EN 16931 with concrete findings.[Source] The vendor also states local processing without document upload, support for Windows, Linux and macOS as well as formats such as ZUGFeRD/Factur‑X and XRechnung.[Source]
The clear boundary remains: a validation tool does not replace release and procurement processes. But it reduces technical uncertainty – and thus the portion of clarification cases that would otherwise remain stuck in IT, even though they could actually be resolved by better data delivery.
Architectural implications: Where validation belongs in the system landscape
As soon as automatic processing is involved, e‑invoice validation is not a „UI feature“ but part of your integration architecture. Three patterns are common – with different operational consequences.
Validation as a gate before the ERP import
Conformity determines whether something gets imported at all. This prevents partially imported documents that would later require costly repair. For operations and audit this pattern is easy to explain: it provides a clear entry condition into the process chain.
Validation in the interface (batch/service), UI only for clarification cases
At higher volumes you need repeatability. Validation then belongs in a service or batch process that is logged and versioned. The UI serves as an inspector, not as a place where conformity is established „by hand.“ That also reduces the risk that different employees using different tools arrive at different results.
Keep validation and archiving separate
PDF/A generation and retention concern the archivability and compliance of the document repository. The conformity of the structured data is a separate strand. In the project it pays to separate both cleanly: different test cases, different failure consequences, different responsibilities. Otherwise every discussion about „valid“ becomes political instead of technical.
When „displaying“ actually suffices — and why that rarely remains stable
There are situations in which a viewer with a rendered view is pragmatically sufficient: low volumes, no automatic processing, clear manual approval, little integration pressure. In those cases readability delivers quick value.
The tipping point usually arrives quietly: more suppliers, more channels, more pressure to automate. From that point on the question of conformity becomes operational. The EU’s classification on conformity is unambiguous in this respect: for automatic processing it must be ensured that message contents exactly match the EN specification; validation artefacts exist for this.[Source] Practical consequence: those who take validation seriously too late pay the learning curve in live operation — and not only in IT hours, but in process interruptions.
Closing thought: The validation report is the translator between the normative text and operational reality
An e-invoice validation becomes valuable when standard, profiles and artefacts turn into a clear operational process: classification, validation, findings, routing, logging. The visual representation remains important — as a communication surface between IT and the business unit and as a quick plausibility check. The robust decision, however, arises from the structured data and an understandable validation report. This makes errors not only visible but solvable in daily operations: reproducible, versioned and process-capable.
Sources and further information
The technical key statements were editorially contextualized using the following external sources.
- Compliance with eInvoicing standard (ec.europa.eu)
EN 16931 is a semantic data model with business rules; conformity is technically ensured via syntax bindings and validation artefacts. - ZUGFeRD 2.5 deutsch (www.ferd-net.de)
ZUGFeRD is a hybrid format (PDF/A‑3 with embedded XML) and provides profile-/version-specific validation artefacts (XSD and Schematron). - The invoice is not compliant with the formal requirements. (e-rechnung.service.rlp.de)
A validation report contains message types (Information/Warning/Error) as well as rule ID and field/position reference; validation covers, among other things, EN‑16931 rules and formal requirements. - E-Rechnung prüfen: ZUGFeRD, XRechnung und EN | Net-Base (net-base-software-gmbh.de)
netPDF describes visual representation, embedded XML and validation according to EN 16931 including concrete findings for e-invoices.
For this topic, EN 16931 validation and XRechnung validation reports are also important. The article contextualizes these aspects clearly and shows what matters in everyday operations.
Discuss a project or modernization initiative with Net-Base.
Next step
When the topic becomes an actual project, architecture, existing systems and operations should be considered together from the outset.
We support not only with individual issues, but also when source snippets, legacy topics, or portal ideas are to be turned into a robust enterprise project.
- Current state, target state and technical risks are assessed jointly.
- REST, data access, portals and rollout are not deferred to a later stage as secondary consequences.
- You can see early on which path is economically and operationally viable.