# Get PDF Document Get PDF attachment by documentId and return the PDF file. Endpoint: POST /rest/v1/documents/getPdf Version: v 2026.03.01 Security: PublicApiKey ## Header parameters: - `x-software-id` (string) External software identifier to track which ERP has fetched this document. ## Request fields (application/json): - `documentId` (string) The unique identifier of the invoice document. Example: "6787a98e15306d37eed688a8" - `companyVatNumber` (string, required) The VAT number of the company. Example: "HR12345678910" ## Response 400 fields ## Response 404 fields