Dext: Upload document
dext_upload_documentDext: Upload a receipt, bill or sales invoice to the Costs or Sales inbox. Uploads one file through Add documents and returns the new item in Processing. Images and PDFs may be up to 6MB, ZIP files 100MB. Mode one_per_file takes PDF, JPG, PNG or ZIP; one_per_page and auto_split take PDF only. The upload reaches no one and the item can be archived, so it runs without asking. Needs the user's Cotlet API key with access to this app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | one_per_file, one_per_page or auto_split. Default: one_per_file. | |
| inbox | No | costs or sales. Default: costs. | |
| file_url | Yes | HTTPS link to the file Cotlet downloads. | |
| document_owner | No | Owner ID from list_document_owners, or none. Default: none. |