create_purchase_quotation
Create a vendor purchase quotation (RFQ) from scratch or by copying an existing purchase request, specifying line items, pricing, and dates.
Instructions
Create a purchase quotation (RFQ) for a vendor. Can be created from scratch with line items, or copied from an existing purchase request by providing purchaseRequestDocEntry.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cardCode": "<cardCode>"
},
"name": "create_purchase_quotation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | Required when NOT copying from a purchase request | |
| docDate | No | YYYY-MM-DD (defaults to today) | |
| cardCode | Yes | Vendor card code | |
| comments | No | ||
| docDueDate | No | YYYY-MM-DD quote validity / required-by date (defaults to today) | |
| purchaseRequestDocEntry | No | DocEntry of source purchase request — if provided, lines are copied from it |