CreateInvoiceAttachment
Uploads a file and attaches it to an invoice.
Stored Procedure Specific Information
Execute
To execute this stored procedure, you need to provide the InvoiceId for which the attachment will be created and the file path of the attachment.
EXECUTE CreateInvoiceAttachment InvoiceId = 'inv:0-ChAALv-Dv-66y_I0TT0hCN2UEL0M', File = 'D:\\Pictures\\Screenshots\\Screenshot123.png', Description = 'Test Description'
Input
Name | Type | Required | Description |
InvoiceId | String | True | The ID of the invoice to attach the file to. |
File | String | True | A file of following content types is allowed: image/gif, image/jpeg, application/pdf, image/png, image/tiff, image/bmp. |
Description | String | False | The description of the attachment to display on the invoice. |