upload_attachment
Upload a file and attach it to a Firefly III transaction or other object. Provide base64 content, filename, and target ID to create and store the attachment.
Instructions
Upload a file and attach it to a Firefly III object (e.g. a transaction). Requires two steps internally: creates the attachment record, then uploads the file content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Base64-encoded file content | |
| filename | Yes | ||
| attachable_id | Yes | ID of the object to attach to | |
| attachable_type | Yes | e.g. 'TransactionJournal' |