Open an e-invoice
open_invoiceReads an e-invoice (XRechnung, ZUGFeRD, Factur-X, Peppol BIS, UBL, CII and more) into structured data: parties, lines, totals, VAT, payment details. Optionally returns print-ready HTML. Free; without an API key the anonymous daily limit applies. Files are processed for the request, without a document archive.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "open_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | Also return the invoice as complete, print-ready HTML. | |
| locale | No | The language of the HTML's labels. | |
| file_url | No | A public https address of the file. Private and local addresses are refused. | |
| filename | No | The file's name, which helps recognise its format. | |
| file_base64 | No | The file's bytes as base64. Give this or file_url. |