invoices_validate
Validate an invoice before issuing or submitting to return errors and warnings; use quick mode for basic checks or full mode for UBL Schematron and CIUS-RO compliance.
Instructions
Validate an invoice before issuing or submitting. Returns a list of errors and warnings. Use mode "quick" for fast validation (basic rules) or "full" for comprehensive UBL Schematron and CIUS-RO compliance checks.
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": {
"uuid": "<uuid>"
},
"name": "invoices_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Validation mode: "quick" for fast basic rules (default), "full" for UBL Schematron + CIUS-RO compliance (slower) | |
| uuid | Yes | Invoice UUID to validate | |
| companyId | No | Company UUID override (uses active company if not set) |