list_invoices
Search and list SDI invoices by sender, recipient, VAT, invoice number, document type, direction, status, date range, or series; use compact fields by default and request extra fields as needed.
Instructions
[SANDBOX] List/search SDI invoices. Filters: sender/recipient name or VAT, invoice number, document type, direction, status, date ranges. Use invoice_series to filter by exact series suffix (e.g. 'Servizi' matches only '1/Servizi', not '100/CI'). Default compact view returns key fields only. Add specific extra fields if needed. Use fields:['*'] only when full FatturaPA payload is required.
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": "list_invoices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number | |
| fields | No | Fields to return (dot-notation supported, e.g. 'sender.business_name'). Default compact view: uuid, created_at, document_type, marking, notice, invoice_number, invoice_date, total_amount, currency, sender/recipient names+VAT, notifications. Prefer adding specific fields over ['*']. Use ['*'] only when full FatturaPA payload is truly needed. | |
| signed | No | Filter by signature status | |
| marking | No | Status: waiting, quarantena, sent, invoice-error, received, rejected, delivered, not-delivered | |
| direction | No | outgoing or incoming | |
| downloaded | No | Filter by download status | |
| sender_vat | No | Sender P.IVA | |
| sender_name | No | Sender business name (partial match) | |
| created_at_to | No | Created at <= (ISO date) | |
| document_type | No | FatturaPA type: TD01, TD04, TD05, TD06, TD07... | |
| order_by_date | No | Sort by invoice date | |
| recipient_vat | No | Recipient P.IVA | |
| invoice_number | No | Invoice number (partial match via API) | |
| invoice_series | No | Post-filter: invoice series suffix (e.g. 'Servizi' matches '1/Servizi', '2/Servizi'). Exact match on the part after the last '/' | |
| items_per_page | No | Items per page (default 10, max 30) | |
| recipient_name | No | Recipient business name (partial match) | |
| created_at_from | No | Created at >= (ISO date) | |
| invoice_date_to | No | Invoice date <= (ISO date) | |
| order_by_number | No | Sort by invoice number | |
| invoice_date_from | No | Invoice date >= (ISO date) | |
| sender_fiscal_code | No | Sender codice fiscale | |
| recipient_fiscal_code | No | Recipient codice fiscale |