Get document
get_documentFetch a single invoice, proforma, or delivery notice by series name and number, retrieving totals, status, and a direct link.
Instructions
Fetch a single document (invoice/proforma/notice) by its series name and number, including totals, status and a link.
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": {
"type": "<type>",
"seriesName": "<seriesName>",
"number": "<number>"
},
"name": "get_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Document type: "invoice" (factura), "proforma", or "notice" (aviz). | |
| number | Yes | Document number within the series. | |
| seriesName | Yes | Document series name. |