Read e-invoice
read_einvoiceRead the structured data of an electronic invoice (ZUGFeRD/Factur-X PDF or XRechnung XML). Facts are taken from the embedded XML, which is the leading part of a hybrid invoice; no PDF text is extracted. A PDF without XML contains no structured invoice data. Contact details and bank account data are omitted unless requested via include. Says nothing about input-tax deduction. FaeBill does not store the file.
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": {
"fileBase64": "<fileBase64>"
},
"name": "read_einvoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | Output language, default de. | |
| include | No | Optional groups: payment (bank account), contacts (e-mail/phone). | |
| filename | No | ||
| fileBase64 | Yes | File content (PDF or XML), base64, max 8 MB decoded. |