Validate Facturae e-invoice
validate_facturaeValidates Facturae 3.2.2 XML or signed XSIG files against official XSD, FACe arithmetic and tax checks, NIFs, DIR3 codes, and signature status before sending to FACe or a client.
Instructions
Validate a Facturae 3.2.2 file (.xml or signed .xsig) before sending it to FACe or a client.
Checks the official XSD, the arithmetic FACe checks (line amounts, tax quotas, header vs line bases, totals, batch totals, installments), NIFs of resident parties, the three DIR3 codes for public administrations, and whether the file is signed. Files that are not Facturae are not charged.
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": "validate_facturae"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | No | ||
| content_base64 | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||