Prepare a quote
prepare_quoteUse this when your user decided to quote: it builds the kit their person needs to submit, ready for one last click in Mercado Público (Andes cannot submit it). Pass tender_id and the prices: unit_prices per line ([{"line": 1, "unit_price": 12500}], net unless prices_include_vat) or quote_total (VAT included); optionally delivery_days and supplier_id (the user's RUT). Returns the requested lines with the draft (net, IVA 19%, total), readiness checks with their evidence (open, registered supplier, within the buyer's budget, quotes received and their range, delivery, documents to attach), the deadline and the link to submit. It never invents prices: unpriced lines stay unpriced. Needs a mandate from the person you act for (procurement.quote.prepare, ceiling covering the total): if there is none, the answer is mandate_required with approval_url and ask_user, a sentence to give your person; after they approve, call again with the same arguments. Access: needs an identified agent key (free, self-service at https://pass.andesprotocol.com).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tender_id | Yes | ||
| quote_total | No | ||
| supplier_id | No | ||
| unit_prices | No | ||
| delivery_days | No | ||
| preferred_language | No | en-US | |
| prices_include_vat | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||