download_invoice
Download an invoice as a PDF file using its invoice ID. Returns base64-encoded JSON to decode into a .pdf file.
Instructions
Download an invoice as PDF (whmcs/download_invoice). InvAPI returns binary PDF; MCP returns JSON with encoding=base64 and data — decode to a .pdf file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice_id | Yes | Invoice number |