Check an invoice's math
check_invoiceCheck whether an invoice adds up: each line's quantity times unit price, the lines against the subtotal, the tax against its printed rate, and subtotal plus tax against the total. Returns a one-line verdict and every problem found, with the invoice's own numbers. Give the file as file_url, file_base64 or (ChatGPT) file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ChatGPT only: the attached file. Other clients use file_url or file_base64. | |
| file_url | No | An https link to the invoice (PDF or image) that the server can download. | |
| file_name | No | The file's name, e.g. invoice-1042.pdf (optional). | |
| file_base64 | No | The invoice file's bytes, base64-encoded. Use for a local file. |