validate_invoice
Free. Validate an invoice JSON (the body for POST /v1/invoice.pdf, or the output of invoice_from_timesheet) and return computed subtotal, discount, tax and total, or a list of field errors. Same checks as the paid PDF route. Offline, no payment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice | Yes | Invoice object: from, to, number, issue_date, currency, line_items[{description, quantity, unit_price}], optional tax and discount |