Finance: File a purchase request
fin_purchase_request_createFile a purchase request («заявка на закупку») for what somebody needs bought — a foreman's list of materials and tools. Give the positions as the person said them; a position with erp_inventory_item_id (from erp_product_search) is linked to that catalogue item, any other is matched to the catalogue only when it is unambiguous and otherwise stays a NEW position for the manager to source from suppliers (never guess an item). By default the request is sent for approval (the cabinet's approval chain); submit=false keeps it a draft. Creates no catalogue item, orders and pays nothing. CONFIRMATION: this tool is PROPOSED, never performed directly. You get status='confirmation_required' with an action_id and a plan_token, and the write happens only after confirm_action.
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": {
"items": "<items>"
},
"name": "fin_purchase_request_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | The person's own words, for the manager. | |
| site | No | Object / building site. | |
| items | Yes | ||
| submit | No | Send for approval (default true). | |
| desired_date | No | YYYY-MM-DD |