GET
Get proforma PDF
Scope:
sales:proforms.readhttps://api.holded.com/api/v2/proformas/{proformaId}/pdfDownloads the proforma invoice as a PDF file. The response Content-Type is `application/pdf`. The PDF reflects the current state of the proforma.
Parameters
Path parameters
proformaId
stringrequiredProforma ID (24-char hex ObjectId)
Request
python
import requests
url = "https://api.holded.com/api/v2/proformas/{proformaId}/pdf"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Accept": "application/json",
}
response = requests.get(url, headers=headers)
print(response.json())Responses
Response
json
"string"Success responses
200PDF binary contentapplication/pdfstring<binary>
Error responses
401Invalid or missing API keyapplication/json403Insufficient permissionsapplication/json404Proforma not foundapplication/json429Rate limit exceededapplication/json