UploadFileForInvoice
Uploads an invoice PDF file (Maximum: 4MB) for an invoice that is in Draft or Posted status.
Input
Name | Type | Required | Accepts Input Streams | Description |
InvoiceId | String | True | False | The ID or number of the invoice that you want to upload a PDF file for. |
FilePath | String | False | False | The filepath of the file to attach to the invoice. |
Content | String | False | True | The input stream from which to read the file if FilePath is not specified. |
Result Set Columns
Name | Type | Description |
Success | String | Indicates if the file was uploaded successfully. |
FileId | String | The ID of the file after it is uploaded. |