Help Page Home - Invoices
GET Invoice/id/generate-pdf
Returns a response with raw PDF file content for the invoice.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
WsAccessKey | The Web Service access key for this user and file which allows access to the API for the associated file (found in File - Settings). Using OAuth authentication mechanism is the preferred method to allow API access. | string |
Optional. Legacy authentication method and only required if not using OAuth. OAuth is preferred. |
FileId | Specifies the file id of the file to perform the operation upon. | integer |
Required |
TemplateId | Specifies the Id of the Sale/Purchase template (if any) to use for generating the invoice PDF. If not specified, the default template for Sale/Purchase will be used. | integer |
None. |
PrintAs | If the 'New Theme' option is turned on for the file, specifies the type of the Sale/Purchase layout (if any) to use for generating the invoice PDF. If not specified, the default template for Sale/Purchase will be used. | integer |
None. |
id | Invoice Id (Transaction Id) | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Name | Description | Type | Additional information |
---|