get_document_pdf
Retrieve the PDF of a Holded document by document type and ID as base64-encoded binary, including content type, filename, and byte size.
Instructions
Get the PDF of a document as base64-encoded binary (Holded API v2). Returns { contentType, base64, bytes, filename }. Supported docTypes: invoice, salesreceipt, creditnote, receiptnote, estimate, proform, salesorder, waybill, purchaseorder. purchase is NOT supported — GET /purchases/{id}/pdf returns 404 for all purchases. purchaserefund has no CRUD support in v2.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docType | Yes | Type of document (purchase is not supported — PDF endpoint returns 404) | |
| documentId | Yes | Document ID |