Upload an attachment to QuickBooks Online
Upload an attachment to QuickBooks Online.
Application
Inputs (what you have)
| Name | Description | Data Type | Required? | Example |
|---|
| File | The file to be uploaded as an attachment | File | Yes | Sample_file.pdf |
| Filename | The name of the attachment to be created in QBO. including the extension of the file. | Text (Long) | Yes | Sample_file.pdf |
| Transaction type | If attaching the file to a transaction, specify the type | Pre-Defined Choice List | No | Invoice |
| Transaction ID | If attaching the file to a transaction, the ID of the transaction | Number | No | 1 |
Note: the value of inputs can either be a set value in the configuration of the Wrk Action within the Wrkflow, or a variable from the Data library section. These variables in the Data library section are the outputs of previous Wrk Actions in the Wrkflow.
Outputs (what you get)
| Name | Description | Data Type | Required? | Example |
|---|
| Attachment ID | The ID of the newly uploaded attachment | Integer | Yes | 100000000004190865 |
Outcomes
| Name | Description |
|---|
| Success | This status is selected in the event that the file was successfully uploaded |
| Impossible to Complete | This status is selected in the event of the following scenario:File type is not supportedTransaction ID does not exist for that transaction typeTransaction Type does not existFilename does not include extensionCompany ID does not existTransaction ID provided but Transaction Type not providedTransaction Type provided by Transaction ID not providedFile too large |
Requirements