Read E-Invoice
read-e-invoiceRead the invoice data and the XML of a ZUGFeRD, Factur-X or XRechnung invoice, given as PDF or as bare invoice XML in the CII syntax. Returns "level", "invoice" with the fields "create-e-invoice" takes plus each line's amount, the VAT breakdown and the totals as the invoice states them, and the invoice "xml". The data is read without checking it; use "validate-e-invoice" for that.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file": "<file>"
},
"name": "read-e-invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Publicly reachable URL of the e-invoice: a PDF or an invoice XML in the CII syntax. | |
| async | No | Run the action asynchronously and return a job id instead of the result. Poll "check-job-status" or set "webhook_url" to receive a callback. | |
| webhook_url | No | Callback URL invoked when an async job finishes. Only used when "async" is true. |