document_validate
Checks that an invoice or document body is well-formed before calculation or rendering, without pricing it or producing a PDF.
Instructions
Check that a document body is well-formed, without pricing it.
The cheapest of the three stateless operations: no totals are computed and no
PDF is produced. Use calculate_document for the money and render_document
for the document.
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": {
"data": "<data>"
},
"name": "document_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| document_type | No | invoice |