Document
solo_get_documentThe rendered document: a picture of one page to look at, and — once issued — the direct download link for the PDF. Use this to SEE the invoice before asking whether to issue: a draft comes back as an image stamped DRAFT, so you check the real render, not the JSON. After issue, call it again and hand the person pdf_url — a direct, unauthenticated, one-click download of the finished PDF; they send it themselves (S-7). Do not fetch or relay the bytes yourself: the link IS the deliverable. with_pdf=true exists only as a fallback for a client that cannot open links at all. Pages count from 1.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page to render, from 1. Default 1. | |
| with_pdf | No | Fallback only, for a client that cannot open links: include the PDF bytes as pdf_base64 (issued invoices only; thousands of characters). Prefer pdf_url. | |
| invoice_id | Yes | e.g. INV-0001. |