Sales
Generate PDF url
Changed onReturns a pre-signed PDF URL for one invoice, valid for 5 minutes. A company-owned PDF still being generated returns 409 PDF_NOT_READY with Retry-After: 2; retry within a bounded budget. Invalid or unavailable invoice selection returns 400. Pending PDF requests do not change status. A successful request changes an ISSUED sales document, including a pro forma, to SENT even if the URL is never downloaded. DRAFT remains DRAFT. SENT is not proof of email delivery.
post/sales/pdfUrl
Request
- Base URLhttps://api.altera.co
- URLhttps://api.altera.co/sales/pdfUrl
- AuthAPI key in header Authorization
Request body
Response
OK
Example response
{
"result": "OK"
}Changes
- breaking
request body became required
- breaking
the request property
became required - warning
the
request property's min was set to1.00 - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- breaking
- info
endpoint added
- info