Download document
billingo_download_documentRetrieve a document's PDF as a shareable public URL (default) or raw base64 bytes when needed. Choose URL for most clients; base64 only for callers requiring the PDF file directly.
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. |