Veri*Factu invoices
verifactu_invoicesQuery and filter customer invoices and refunds by Veri*Factu state, date range, company, and customer, returning AEAT CSV codes and last error text for compliance review.
Instructions
Customer invoices and refunds with their Veri*Factu state: pending (not sent yet), accepted, accepted_with_errors, rejected, invalid (could not be generated or sent) or cancelled. Each row has the AEAT CSV and the last error text. Filter by state, dates, company and customer.
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": "verifactu_invoices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| state | No | Only invoices in this normalized state. | |
| company | No | Company id or part of its name. All companies the user can see by default. | |
| date_to | No | Last day (YYYY-MM-DD). Defaults to the end of the current quarter. | |
| partner | No | Customer name or VAT number (partial match). | |
| date_from | No | First day (YYYY-MM-DD). Defaults to the start of the current quarter. |