pydo.invoices.get_pdf_by_uuid()
Generated on 7 Jul 2026
from pydo version
v0.39.0
Usage
client.invoices.get_pdf_by_uuid(
invoice_uuid="22737513-0ea7-4206-8ceb-98a575af7681",
)Description
To retrieve a PDF for an invoice, send a GET request to /v2/customers/my/invoices/{invoice_uuid}/pdf.
Parameters
invoice_uuidstring requiredUUID of the invoice
Request Sample
Known Issues
The get_pdf_by_uuid method returns an Iterator[bytes] that may not serialize correctly. To get the raw PDF bytes, iterate the response:
resp = client.invoices.get_pdf_by_uuid(invoice_uuid=invoice_id)
pdf_content = b"".join(resp)More Information
See /v2/customers/my/invoices/{invoice_uuid}/pdf in the API reference for additional detail on responses, headers, parameters, and more.