Download Invoice PDF(s) This endpoint downloads the PDF file for a specific selected invoice. Returns the PDF file for the specified invoice. The system locates the PDF as follows: - If the invoice was created manually (source_id_in_table = '00000000-0000-0000-0000-000000000000'), the PDF is retrieved from the invoice_files table using dbFactory.invoice.GetInvoicePDF(invoice_id). - If the invoice was not created manually (source_id_in_table <> '00000000-0000-0000-0000-000000000000') and the source is a contract or work order, the PDF is retrieved via dbFactory.job_files.get(id).

Request Information

URI Parameters :

None.

Body Parameters :

JSON object containing the identifier of the selected invoice

Collection of Object

None.

Response Information

Resource Description :

Binary PDF content (single invoice) or Binary content of an archive file containing all selected invoice PDFs

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version
Content

HttpContent
StatusCode

HttpStatusCode
ReasonPhrase

string
Headers

Collection of Object
RequestMessage

HttpRequestMessage
IsSuccessStatusCode

boolean