Einvoice · Validate
E-invoice validation. Validate an EU e-invoice: send XRechnung, ZUGFeRD / Factur-X (XML or the PDF that embeds it), Peppol or other EN 16931 XML as text, as a file in a POST body or by URL. Returns valid or not and every broken business rule with its number (BR-CO-15, BR-DE-15…), the field, a plain message and the fix. Checks a subset of the EN 16931 and XRechnung 3.0 rules: sums, VAT, mandatory fields. Use before sending an e-invoice or when one is rejected.
GET https://agent-data-tools.revmesh2074.workers.dev/einvoice/validate
0.01 USDC on Base · payTo 0x6293ded2684F1A76E26bEcef87c137D691Fbf800
Status: verified · payable
Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.
Settlement: direct to the seller's payTo — 0% HIVE402 take
Payment routes
{
"url": "https://raw.githubusercontent.com/itplr-kosit/xrechnung-testsuite/master/src/test/business-cases/standard/01.01a-INVOICE_uncefact.xml"
}{
"coverage": "A subset of EN 16931 and XRechnung 3.0 business rules for invoices with lines, VAT and bank-transfer payment. Not checked: the XML schema itself, code lists beyond the common codes, allowances and charges, attachments, card and direct-debit payments. A file that passes here can still fail the official KoSIT validator.",
"errors": [],
"invoice": {
"buyer": "[Buyer name]",
"currency": "EUR",
"issueDate": "2016-04-04",
"lines": 2,
"number": "123456XX",
"seller": "[Seller name]",
"totals": {
"grand": 336.9,
"lineNet": 314.86,
"payable": 336.9,
"tax": 22.04,
"taxBasis": 314.86
}
},
"profile": "xrechnung",
"rulesChecked": 103,
"standard": "XRechnung 3.0",
"syntax": "CII",
"url": "https://raw.githubusercontent.com/itplr-kosit/xrechnung-testsuite/master/src/test/business-cases/standard/01.01a-INVOICE_uncefact.xml",
"valid": true,
"warnings": []
}Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact
SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans
Agent intel 
| Trust score | 74 / 100 · breakdown |
|---|---|
| Probe uptime (30d) | 100.0% over 1 probes · daily |
| Avg 402 latency | 1563 ms |
| Paid calls (30d, on-chain) | 1238 calls · 13 buyers · shared price cohort of 608 |
| Facilitator-reported (30d) | 3 calls · 1 payers (CDP Bazaar) |
How to call
GET https://agent-data-tools.revmesh2074.workers.dev/einvoice/validate · input in query · spec from live-challenge
Input schema
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Absolute public http(s) URL of the e-invoice: an XML file or a ZUGFeRD / Factur-X PDF (or send `xml`, or the file in a POST body)",
"examples": [
"https://raw.githubusercontent.com/itplr-kosit/xrechnung-testsuite/master/src/test/business-cases/standard/01.01a-INVOICE_uncefact.xml"
]
},
"xml": {
"type": "string",
"description": "The e-invoice XML as text (CII or UBL), up to 5 MB in a POST body",
"examples": [
"<rsm:CrossIndustryInvoice …>…</rsm:CrossIndustryInvoice>"
]
},
"profile": {
"type": "string",
"description": "auto (default: the German XRechnung rules run when the file names XRechnung), xrechnung or en16931",
"enum": [
"auto",
"xrechnung",
"en16931"
],
"examples": [
"auto"
]
}
},
"required": [
"url"
]
}Output schema
{
"type": "object",
"properties": {
"url": {
"type": "string"
},
"valid": {
"type": "boolean"
},
"syntax": {
"type": "string"
},
"standard": {
"type": "string"
},
"profile": {
"type": "string"
},
"errors": {
"type": "array",
"items": {}
},
"warnings": {
"type": "array",
"items": {}
},
"rulesChecked": {
"type": "number"
},
"invoice": {
"type": "object",
"properties": {
"number": {
"type": "string"
},
"issueDate": {
"type": "string"
},
"currency": {
"type": "string"
},
"seller": {
"type": "string"
},
"buyer": {
"type": "string"
},
"lines": {
"type": "number"
},
"totals": {
"type": "object",
"properties": {
"lineNet": {
"type": "number"
},
"taxBasis": {
"type": "number"
},
"tax": {
"type": "number"
},
"grand": {
"type": "number"
},
"payable": {
"type": "number"
}
}
}
}
},
"coverage": {
"type": "string"
}
}
}curl -i -X GET 'https://agent-data-tools.revmesh2074.workers.dev/einvoice/validate?url=https%3A%2F%2Fraw.githubusercontent.com%2Fitplr-kosit%2Fxrechnung-testsuite%2Fmaster%2Fsrc%2Ftest%2Fbusiness-cases%2Fstandard%2F01.01a-INVOICE_uncefact.xml'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs