XRechnung & ZUGFeRD Validator (KoSIT, EN 16931) avatar

XRechnung & ZUGFeRD Validator (KoSIT, EN 16931)

Pricing

from $3.50 / 1,000 invoice validateds

Go to Apify Store
XRechnung & ZUGFeRD Validator (KoSIT, EN 16931)

XRechnung & ZUGFeRD Validator (KoSIT, EN 16931)

Validate XRechnung (UBL and CII) and ZUGFeRD / Factur-X e-invoices with the official KoSIT validator and XRechnung configuration. XML or PDF in, verdict plus every error and warning with rule ID, message and XPath out. Only charged per invoice with a report.

Pricing

from $3.50 / 1,000 invoice validateds

Rating

0.0

(0)

Developer

Batu T.

Batu T.

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

25 days ago

Last modified

Categories

Features

Limited permissions

Share

XRechnung & ZUGFeRD Validator (official KoSIT rules)

Check German e-invoices against the official rules before you send or book them. This Actor runs the KoSIT validator, the reference implementation of the German Coordination Office for IT Standards, with the official XRechnung validator configuration. It accepts XML files and ZUGFeRD / Factur-X PDFs (the embedded XML is extracted automatically) and returns a clear verdict plus every error and warning with rule ID, message and XPath location.

Since 1 January 2025 every business in Germany must be able to receive e-invoices; issuing them becomes mandatory step by step in 2027 and 2028. Typical users: accountants checking incoming invoices, software vendors testing their export, and companies checking their own invoices before they go out.

What is checked

formathow it is checked
XRechnung 3.0 UBL Invoice and CreditNoteXML Schema, EN 16931 rules, XRechnung rules
XRechnung 3.0 CIIXML Schema, EN 16931 rules, XRechnung rules
XRechnung Extension and CVDas published by KoSIT
EN 16931 UBL and CII, ZUGFeRD / Factur-X profile EN 16931 (Comfort)XML Schema and EN 16931 rules
ZUGFeRD / Factur-X PDFembedded factur-x.xml, zugferd-invoice.xml or xrechnung.xml is extracted and checked as above

ZUGFeRD / Factur-X profiles MINIMUM, BASIC WL, BASIC and EXTENDED and ZUGFeRD 1.0 are not part of the official XRechnung configuration. They are recognised and reported with their profile, but marked as not checkable and not charged.

Bundled versions: KoSIT Validator 1.6.3, XRechnung validator configuration 2026-08-31 (XRechnung 3.0.2, CEN rules 1.3.16).

Output per invoice

fieldmeaning
acceptabletrue when the official assessment recommends accepting the invoice
verdictaccept, accept-tolerated (only tolerated errors), reject, no-scenario or processing-error
recommendationthe official recommendation in English or German
conformanceconformance statement: no errors and no warnings, or the counts
syntax, profileId, profiledetected format, for example CII and XRechnung 3.0
scenariothe KoSIT validation scenario that was applied
schemaValid, schematronValidresult of the XML Schema check and of the business rules
errorCount, warningCount, informationCountnumber of messages per severity after the official severity overrides
errors, warningsruleId (for example BR-DE-15), severity, message, readable path, full location XPath, step
invoiceNumber, issueDate, sellerread from the report
fileType, embeddedFileNamexml or pdf, and the name of the XML inside the PDF
reportXmlUrl, reportHtmlUrlthe full official XML report and the German HTML report (Pruefbericht)

Input

  • invoiceUrls: direct links to XML or PDF files.
  • keyValueStoreKeys: records in a key-value store, for example files you uploaded through the API. Uses the run's default store unless keyValueStoreId is set.
  • language: en or de for the verdict and summary texts. Rule messages stay as published: EN 16931 rules in English, German XRechnung rules (BR-DE) in German.
  • includeInformation: also list information messages.
  • saveReports: keep the official XML and HTML reports.

Pricing

You pay per invoice that receives a validation report, whether it is accepted or rejected. Files that cannot be downloaded, are not XML, are not well-formed, PDFs without an embedded invoice and formats without an official scenario are not charged.

Limits

  • The PDF itself is not checked for PDF/A-3 conformance, only the embedded XML.
  • Validation follows the bundled official configuration. Rules of other countries (Peppol BIS country rules beyond those included in XRechnung, French CTC) are not covered.
  • The first batch of each run needs about 10 seconds to start the validator; after that an invoice takes a fraction of a second.

The validator and the configuration are published by KoSIT under the Apache License 2.0. Not affiliated with KoSIT, the FeRD forum or the Factur-X project.

FAQ

What am I charged for? One event per invoice that receives a validation report with the verdict accept, accept-tolerated or reject. Download failures, files that are not XML or PDF, XML that is not well-formed, PDFs without an embedded invoice and documents without an official scenario (no-scenario) are not charged.

Which rules are used? The official KoSIT validator 1.6.3 with the XRechnung validator configuration 2026-08-31 (XRechnung 3.0.2), bundled in the Actor. No external validation service is called.

Can I validate files that are not online? Yes. Upload them as records to a key-value store and pass their keys in keyValueStoreKeys. The run's default store is used unless keyValueStoreId is set.

Is there a file size or count limit? Files above maxFileSizeMb (default 20 MB, maximum 100 MB) end as an error item and are not charged. One run validates up to maxInvoices (default 1000).

What does a failed invoice look like in the output? It is still one dataset item with input, source and an error field explaining the reason. Documents without an official scenario also carry verdict: no-scenario and the detected profile.

Use with AI agents (MCP)

This Actor works as a tool for Claude, ChatGPT, Cursor and other MCP clients through the Apify MCP server. Add only this Actor:

https://mcp.apify.com?tools=webify-lab/xrechnung-zugferd-validator

On first use the server signs you in with OAuth. Alternatively send the header Authorization: Bearer <APIFY_TOKEN>. Agents on the default Apify MCP setup can also find this Actor with search-actors and run it with call-actor. Pricing is the same as in Apify Console: you pay per result.