Convert XRechnung, ZUGFeRD
Convert XRechnung, ZUGFeRD. Convert an EU e-invoice to plain JSON: 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 number, dates, seller and buyer with VAT numbers and addresses, every line with quantity, price, VAT rate and net amount, the VAT breakdown, totals and bank account. Exact values from the file, no AI. Use to book incoming e-invoices into a sheet or ERP.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://agent-data-tools.revmesh2074.workers.dev/einvoice/to-json
| Category | Market data |
|---|---|
| Provider host | agent-data-tools.revmesh2074.workers.dev |
| Networks | eip155:137, eip155:42161, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
We never call tools that send, buy, move money or file anything, not even without paying.
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"url": "https://raw.githubusercontent.com/itplr-kosit/xrechnung-testsuite/master/src/test/business-cases/standard/01.01a-INVOICE_uncefact.xml"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"url": {
"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"
],
"type": "string"
},
"xml": {
"description": "The e-invoice XML as text (CII or UBL), up to 5 MB in a POST body",
"examples": [
"<rsm:CrossIndustryInvoice \u2026>\u2026</rsm:CrossIndustryInvoice>"
],
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"invoice": {
"properties": {
"businessProcess": {
"type": "string"
},
"buyer": {
"properties": {
"city": {
"type": "string"
},
"country": {
"type": "string"
},
"endpointId": {
"type": "string"
},
"endpointScheme": {
"type": "string"
},
"name": {
"type": "string"
},
"postCode": {
"type": "string"
},
"street": {
"type": "string"
}
},
"type": "object"
},
"buyerReference": {
"type": "string"
},
"currency": {
"type": "string"
},
"issueDate": {
"type": "string"
},
"lines": {
"items": {
"properties": {
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"netAmount": {
"type": "number"
},
"quantity": {
"type": "number"
},
"unit": {
"type": "string"
},
"unitPrice": {
"type": "number"
},
"vatCategory": {
"type": "string"
},
"vatRate": {
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"note": {
"type": "string"
},
"number": {
"type": "string"
},
"payment": {
"properties": {
"iban": {
"type": "string"
},
"meansCode": {
"type": "string"
},
"terms": {
"type": "string"
}
},
"type": "object"
},
"seller": {
"properties": {
"city": {
"type": "string"
},
"contactName": {
"type": "string"
},
"country": {
"type": "string"
},
"email": {
"type": "string"
},
"endpointId": {
"type": "string"
},
"endpointScheme": {
"type": "string"
},
"legalId": {
"type": "string"
},
"name": {
"type": "string"
},
"phone": {
"type": "string"
},
"postCode": {
"type": "string"
},
"street": {
"type": "string"
},
"vatId": {
"type": "string"
}
},
"type": "object"
},
"specification": {
"type": "string"
},
"totals": {
"properties": {
"grand": {
"type": "number"
},
"lineNet": {
"type": "number"
},
"payable": {