Attach Missing Document
attach_missing_documentAttach a receipt, invoice, or other document to a payment flagged as missing a document in Wint. Preview first; confirm to submit.
Instructions
Attach a receipt, invoice or other document to a payment that Wint marked as missing a document. Without confirm it only returns a preview. With confirm=true it submits to Wint; this changes the company's bookkeeping and cannot be undone from here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intent | No | Purpose of the purchase, for receipts | |
| company | No | Company id or name; may be omitted with one company | |
| confirm | No | false: preview only. true: send to Wint, only after the user explicitly approved the preview | |
| file_url | No | https link to a PDF or image to download | |
| file_name | No | File name for file_base64, e.g. kvitto.pdf | |
| upload_ids | No | From upload_document / list_uploads | |
| explanation | Yes | What the payment was for, in a sentence | |
| file_base64 | No | File content as base64 (max 10 MB) | |
| document_type | Yes | receipt (kvitto), supplier_invoice (leverantörsfaktura) or other | |
| account_number | No | Cost account, for supplier invoices | |
| missing_document_id | Yes | ||
| receipt_category_id | No | Receipt category, for receipts |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||