Holded: Create purchase
holded_create_purchaseHolded: Record a supplier bill as a purchase, as a draft or approved. Creates one purchase for a supplier with the number printed on the supplier's bill. Each line needs an expense account, because Holded needs one for the ledger. With approve false, the default, the purchase is saved as a draft. Approving makes Holded create the accounting entry. Optionally attach the bill by link. By default you confirm each call; you can switch that off for this tool. Reaches other people: confirm with the user before each call. Needs the user's Cotlet API key with access to this app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Bill date. Default: today. | |
| items | Yes | Lines of the document. Each line has name, description, units, price and tax (the tax as named in Holded). Optional discount in percent per line. Use a product from list_products or a new name. | |
| approve | No | true approves the purchase, false saves a draft. Default: false. | |
| due_date | No | Due date. | |
| contact_id | Yes | Supplier contact ID from list_contacts. | |
| attachment_url | No | HTTPS link to the bill file to attach. | |
| deduction_date | No | Controls the tax period for the deduction. | |
| document_number | Yes | The supplier's own document number. |