Read an Italian e-invoice
summarize_einvoiceReads an Italian electronic invoice in FatturaPA XML format (.xml or .xml.p7m) and returns supplier, customer, document type, number and date, line items, VAT summary, totals, payment terms with IBAN and due dates, attachments, and a list of calculation problems that the SdI would reject (codes 00400, 00401, 00419, 00421, 00422, 00423, 00429, 00443). Use when the user shares an Italian e-invoice or asks what an invoice says or why it might be rejected.
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": "summarize_einvoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | A file the user attached in the chat. | |
| xml_text | No | The invoice XML as text. | |
| content_base64 | No | The invoice file (.xml or .xml.p7m) encoded in base64. |