W3builders

Documents & Invoices

Download Document PDF

Stream the document as a PDF (falls back to HTML if mPDF isn't installed on the server).

GEThttps://api.w3builders.com/v1/finance/documents/{id}/pdf
JWT bearer

Response

application/json
Download Document PDF
curl -X GET https://api.w3builders.com/v1/finance/documents/123/pdf \
-H "Authorization: Bearer $TOKEN"
{
"shape": "Binary PDF / HTML stream (not JSON on success)"
}

This returns a binary PDF/HTML stream, not JSON — open the endpoint URL directly in your browser (with a valid access token) to test it, rather than the sandbox.

Was this page helpful?