qbo_attachables_upload
Upload a file to QuickBooks Online and optionally attach it to a transaction. Accepts base64-encoded content up to 100 MB.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileName | Yes | Original filename including extension, e.g. "invoice-1234.pdf" | |
| contentType | Yes | MIME type of the file, e.g. "application/pdf" or "image/png" | |
| base64Data | Yes | Base64-encoded file content | |
| note | No | Optional free-form note stored on the Attachable | |
| category | No | Optional user-defined category, e.g. "Receipt", "Contract" | |
| attachToType | No | Optional QBO entity type to attach this file to, e.g. "Invoice", "Bill", "Customer" | |
| attachToId | No | Optional QBO entity ID to attach this file to | |
| 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. |