add_expense_attachment
Attach files to existing expense records by specifying the expense ID and file path. This tool supports adding receipts, invoices, or supporting documents to expense entries in Odoo.
Instructions
Add an attachment to an existing expense.
Args:
expense_id: Expense ID
file_path: Absolute path to file to attach
filename: Filename in Odoo (optional, uses original filename by default)
Returns:
Confirmation with created attachment ID
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expense_id | Yes | ||
| file_path | Yes | ||
| filename | No |