Adjuntar archivo a factura
cs_attach_fileAttaches a local PDF or image invoice file to a received or issued invoice; write access must be enabled.
Instructions
Adjunta un archivo local (PDF o imagen de la factura) a una factura recibida o emitida. Requiere escritura activada.
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": {
"tipo": "<tipo>",
"invoiceId": "<invoiceId>",
"periodo": "<periodo>",
"rutaArchivo": "<rutaArchivo>"
},
"name": "cs_attach_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tipo | Yes | ||
| periodo | Yes | Trimestre de la factura, p. ej. 2026-4T | |
| invoiceId | Yes | ||
| rutaArchivo | Yes | Ruta absoluta del archivo en esta máquina |