DownloadRetainerInvoiceAttachment
Returns the file attached to the retainer invoice.
Stored Procedures Specific Information
Process of Download Expense Receipt
Zoho Books allows only a small subset of columns to be used in the Exec query. These columns can typically be used with only = comparison. The available columns for DownloadExpenseReceipt are RetainerInvoiceId, DocumentId and FileLocation.
For example:
EXECUTE DownloadRetainerInvoiceAttachment RetainerInvoiceId = '1894553000000085021', DocumentId = '1894553000000099221', FileLocation = 'C:/zohobooks'
Input
Name | Type | Required | Description |
RetainerInvoiceId | String | True | Id of retainer invoice. |
DocumentId | String | True | Id of document. |
FileLocation | String | False | The folder path to download the file to. |
Encoding | String | False | The FileData input encoding type.
The allowed values are NONE, BASE64. The default value is BASE64. |
Result Set Columns
Name | Type | Description |
Status | String | Stored procedure execution status. |
FileData | String | If the FileLocation and FileStream are not provided, this contains the content of the file. |