Download document
billingo_download_documentRetrieve the PDF document linked to a Billingo document ID. Returns a shareable public URL by default, or raw PDF bytes when base64 format is explicitly requested.
Instructions
Gets the document PDF. By default returns a shareable public URL — this is what works in most MCP clients (including Claude Desktop, which rejects the base64 file attachment) and is what you want in almost every case. Pass format="base64" only when a caller specifically needs the raw PDF bytes: it costs a lot of context (base64 is ~1.33x the PDF size) and some clients cannot render the result at all.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Document id. | |
| format | No | "url" returns a public link (default); "base64" returns the PDF bytes. |