preview_invoice
Validate invoice JSON and preview the resulting data without generating a PDF, returning either validated invoice data or validation errors.
Instructions
Preview and validate invoice data without generating a PDF. Pass the full invoice JSON as a string. Returns validated invoice data or validation errors.
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": "preview_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Invoice JSON string to validate (same schema as generate_invoice) |