Download dividend voucher as PDF
GET
https://app.speybooks.com/api/v1/dividends/{id}/voucherGenerates and downloads a dividend voucher as a PDF for a specific dividend. The voucher includes the company name, director name, share class, gross amount, tax credit, net amount, and voucher number.
Returns binary PDF with Content-Disposition attachment.
Path parameters
id string requiredDividend ID (e.g. div_1). Must use the dividend prefix.
Response
200 PDF binary stream with Content-Disposition attachment header.
Error codes
400 Invalid dividend ID format.
404 Dividend not found.