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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| document_type | No | invoice |