qbo_attachables_upload
Upload files to QuickBooks Online and optionally link them to transactions such as invoices or bills, with note/category and email-on-send controls. Returns the attachable record.
Instructions
Upload a file to QuickBooks Online and (optionally) attach it to a transaction. Returns the created Attachable record. File bytes must be provided base64-encoded; QBO's max attachment size is 100 MB per file.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"fileName": "<fileName>",
"contentType": "<contentType>",
"base64Data": "<base64Data>"
},
"name": "qbo_attachables_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Optional free-form note stored on the Attachable | |
| category | No | Optional user-defined category, e.g. "Receipt", "Contract" | |
| fileName | Yes | Original filename including extension, e.g. "invoice-1234.pdf" | |
| attachToId | No | Optional QBO entity ID to attach this file to | |
| base64Data | Yes | Base64-encoded file content | |
| contentType | Yes | MIME type of the file, e.g. "application/pdf" or "image/png" | |
| attachToType | No | Optional QBO entity type to attach this file to, e.g. "Invoice", "Bill", "Customer" | |
| includeOnSend | No | Optional. When true and attached to a sendable entity (Invoice, Estimate), include this file when the entity is sent by email. Defaults to false. |