Get document PDF
Document
Get document PDF
v1 is deprecated — use the v2 endpoint instead. Returns the rendered PDF file for a document. The PDF uses the invoice templates and document settings configured on your Swipe account. Pass delivery_challan=1 to get a delivery-challan copy instead.
GET
Get document PDF
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is an API key from the API Integration section of your dashboard. Keys are scoped to the company they are generated in — for testing, add a separate test company and generate the key there, so requests never touch your real books.
Path Parameters
The hash id of the document to be fetched
Response
File will be downloaded

