Preview invoice page
get_invoice_previewReturns one page of an invoice as a JPEG image, about 1000 pixels on the long edge, with the page number and the page count. Use it to look at how an invoice or a draft is laid out and what is on it; it is an image of the page, not the document itself, and get_invoice_pdf gives the file to save or pass on. It shows the first page unless page is given, and a page past the end is rejected with the page count. A draft is shown with a DRAFT watermark. The image is reduced, so small print can be hard to read: get_invoice has the exact values. Read-only: nothing is stored or sent. Previews are rate-limited per account, and a call over the limit is rejected with the time to wait.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Invoice ID | |
| page | No | Page to show, starting at 1 (default) |