Add Document
add_documentAdd a file the user attached in this chat to their AccountsOS books: a bank statement, a receipt, a supplier bill or a sales invoice. AccountsOS reads it the same way as an emailed document: a bank statement is imported into a bank account (created if it does not exist yet), a receipt or bill is read and matched. Use it whenever the user attaches or mentions a financial document and wants it in their books. The result says what was found and what happened.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | The file the user attached: a bank statement (PDF, CSV or spreadsheet), a receipt, a bill or an invoice. | |
| company | No | Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default. |