get_document_pdf
Return the PDF of a document (invoice, proforma invoice, receipt, order, or notice) as a base64-encoded string. The caller can decode the base64 and save it as a .pdf file. Defaults to document_type "invoice".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Document ID | |
| document_type | No | Document type: invoice (default), proforma_invoice, receipt, order, notice |