Einvoice · Create
Create XRechnung, ZUGFeRD. Create an EU e-invoice from plain JSON: seller, buyer, lines with quantity, price and VAT rate, bank account. Returns XRechnung 3.0 XML (CII or UBL), a ZUGFeRD / Factur-X PDF with the XML inside, its XML alone, or EN 16931 UBL. Totals and VAT breakdown are computed and checked against the business rules first; data that breaks a rule is refused uncharged with the rule numbers. Use to issue German B2B e-invoices from a shop, ERP or workflow.
GET https://agent-data-tools.revmesh2074.workers.dev/einvoice/create
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
{
"invoice": "{\"number\":\"RE-2026-0042\",\"issueDate\":\"2026-11-14\",\"dueDate\":\"2026-12-14\",\"buyerReference\":\"04011000-12345-06\",\"seller\":{\"name\":\"Muster Software GmbH\",\"vatId\":\"DE123456789\",\"street\":\"Hauptstrasse 1\",\"postCode\":\"10115\",\"city\":\"Berlin\",\"country\":\"DE\",\"contactName\":\"Erika Muster\",\"phone\":\"+49 30 1234567\",\"email\":\"rechnung@muster-software.example\"},\"buyer\":{\"name\":\"Kunde AG\",\"street\":\"Marktplatz 5\",\"postCode\":\"20095\",\"city\":\"Hamburg\",\"country\":\"DE\",\"email\":\"einkauf@kunde.example\"},\"lines\":[{\"name\":\"Beratung\",\"quantity\":8,\"unit\":\"HUR\",\"unitPrice\":120,\"vatRate\":19},{\"name\":\"Softwarelizenz\",\"quantity\":1,\"unitPrice\":49.9,\"vatRate\":19}],\"payment\":{\"iban\":\"DE02120300000000202051\",\"terms\":\"Zahlbar innerhalb von 30 Tagen\"}}"
}{
"filename": "RE-2026-0042.xml",
"format": "xrechnung",
"note": "Checked against a subset of the EN 16931 and XRechnung 3.0 business rules; this is not the official KoSIT validator and not tax advice.",
"specification": "urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0",
"syntax": "CII",
"totals": {
"grand": 1201.78,
"lineNet": 1009.9,
"payable": 1201.78,
"tax": 191.88,
"taxBasis": 1009.9
},
"valid": true,
"warnings": [],
"xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<rsm:CrossIndustryInvoice xmlns:rsm=\"urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100\" …>…</rsm:CrossIndustryInvoice>"
}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 | 1634 ms |
| Paid calls (30d, on-chain) | 1238 calls · 13 buyers · shared price cohort of 608 |
| Facilitator-reported (30d) | 1 calls · 1 payers (CDP Bazaar) |
How to call
GET https://agent-data-tools.revmesh2074.workers.dev/einvoice/create · input in query · spec from live-challenge
Input schema
{
"type": "object",
"properties": {
"invoice": {
"type": "string",
"description": "The invoice as JSON: number, issueDate, dueDate, buyerReference (Leitweg-ID or order reference), seller and buyer {name, vatId, street, postCode, city, country, contactName, phone, email}, lines [{name, quantity, unit, unitPrice, vatRate}], payment {iban, bic, terms}. In a POST body send it as a JSON object. The flat fields /document/extract returns (invoice_number, seller_name, line_items…) are read too",
"examples": [
"{\"number\":\"RE-2026-0042\",\"issueDate\":\"2026-11-14\",\"dueDate\":\"2026-12-14\",\"buyerReference\":\"04011000-12345-06\",\"seller\":{\"name\":\"Muster Software GmbH\",\"vatId\":\"DE123456789\",\"street\":\"Hauptstrasse 1\",\"postCode\":\"10115\",\"city\":\"Berlin\",\"country\":\"DE\",\"contactName\":\"Erika Muster\",\"phone\":\"+49 30 1234567\",\"email\":\"rechnung@muster-software.example\"},\"buyer\":{\"name\":\"Kunde AG\",\"street\":\"Marktplatz 5\",\"postCode\":\"20095\",\"city\":\"Hamburg\",\"country\":\"DE\",\"email\":\"einkauf@kunde.example\"},\"lines\":[{\"name\":\"Beratung\",\"quantity\":8,\"unit\":\"HUR\",\"unitPrice\":120,\"vatRate\":19},{\"name\":\"Softwarelizenz\",\"quantity\":1,\"unitPrice\":49.9,\"vatRate\":19}],\"payment\":{\"iban\":\"DE02120300000000202051\",\"terms\":\"Zahlbar innerhalb von 30 Tagen\"}}"
]
},
"format": {
"type": "string",
"description": "xrechnung (default: XRechnung 3.0, CII syntax), xrechnung-ubl, zugferd-pdf (a readable A4 invoice as PDF/A-3 with the factur-x.xml embedded, returned as pdfBase64), zugferd (that factur-x.xml alone, EN 16931 profile) or ubl (EN 16931 UBL)",
"enum": [
"xrechnung",
"xrechnung-ubl",
"zugferd",
"ubl",
"zugferd-pdf"
],
"examples": [
"xrechnung"
]
},
"language": {
"type": "string",
"description": "Language of the labels on a zugferd-pdf page: de or en (default: de when the seller is in Germany or Austria, otherwise en)",
"enum": [
"de",
"en"
],
"examples": [
"de"
]
}
},
"required": [
"invoice"
]
}Output schema
{
"type": "object",
"properties": {
"format": {
"type": "string"
},
"syntax": {
"type": "string"
},
"specification": {
"type": "string"
},
"filename": {
"type": "string"
},
"totals": {
"type": "object",
"properties": {
"lineNet": {
"type": "number"
},
"taxBasis": {
"type": "number"
},
"tax": {
"type": "number"
},
"grand": {
"type": "number"
},
"payable": {
"type": "number"
}
}
},
"valid": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {}
},
"xml": {
"type": "string"
},
"note": {
"type": "string"
}
}
}curl -i -X GET 'https://agent-data-tools.revmesh2074.workers.dev/einvoice/create?invoice=%7B%22number%22%3A%22RE-2026-0042%22%2C%22issueDate%22%3A%222026-11-14%22%2C%22dueDate%22%3A%222026-12-14%22%2C%22buyerReference%22%3A%2204011000-12345-06%22%2C%22seller%22%3A%7B%22name%22%3A%22Muster+Software+GmbH%22%2C%22vatId%22%3A%22DE123456789%22%2C%22street%22%3A%22Hauptstrasse+1%22%2C%22postCode%22%3A%2210115%22%2C%22city%22%3A%22Berlin%22%2C%22country%22%3A%22DE%22%2C%22contactName%22%3A%22Erika+Muster%22%2C%22phone%22%3A%22%2B49+30+1234567%22%2C%22email%22%3A%22rechnung%40muster-software.example%22%7D%2C%22buyer%22%3A%7B%22name%22%3A%22Kunde+AG%22%2C%22street%22%3A%22Marktplatz+5%22%2C%22postCode%22%3A%2220095%22%2C%22city%22%3A%22Hamburg%22%2C%22country%22%3A%22DE%22%2C%22email%22%3A%22einkauf%40kunde.example%22%7D%2C%22lines%22%3A%5B%7B%22name%22%3A%22Beratung%22%2C%22quantity%22%3A8%2C%22unit%22%3A%22HUR%22%2C%22unitPrice%22%3A120%2C%22vatRate%22%3A19%7D%2C%7B%22name%22%3A%22Softwarelizenz%22%2C%22quantity%22%3A1%2C%22unitPrice%22%3A49.9%2C%22vatRate%22%3A19%7D%5D%2C%22payment%22%3A%7B%22iban%22%3A%22DE02120300000000202051%22%2C%22terms%22%3A%22Zahlbar+innerhalb+von+30+Tagen%22%7D%7D'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs