Send the purchase order (step 2 of 2)
confirm_purchase_orderSubmit an approved purchase order to KiotViet using its confirmation token to finalize the order.
Instructions
Sends the drafted purchase order to KiotViet (POST /purchaseorders). Requires the confirmation_token from create_purchase_order_draft; expires after 5 minutes. Call only after the user explicitly confirms.
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": {
"confirmation_token": "<confirmation_token>"
},
"name": "confirm_purchase_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirmation_token | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| kiotviet_code | Yes |