Es Build Sii Invoice Record
es__build_sii_invoice_recordCreates SOAP XML records for AEAT SII invoice submissions, supporting issued or received invoices and alta, modification, or baja communication types.
Instructions
Construye un registro XML AEAT SII en formato SOAP.
Emisión FacturaExpedida o recepción FacturaRecibida, conforme a la guía técnica SII v3.0 (abril 2024). Soporta TipoComunicacion A0 (alta), A1 (modificación) y A4 (baja).
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": {
"invoice": "<invoice>",
"record_type": "<record_type>"
},
"name": "es__build_sii_invoice_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice | Yes | Datos de la factura. | |
| record_type | Yes | Dirección: 'issued' (expedida) o 'received' (recibida). | |
| clave_regimen | No | ClaveRegimenEspecialOTrascendencia (por defecto '01'). | 01 |
| communication_type | No | TipoComunicacion: A0 alta (por defecto), A1 modificación, A4 baja. | A0 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||