create_subposition
Add a sub position to quotes, orders, or invoices by specifying the document type and ID. Optionally include text and control position number display.
Instructions
Create a sub position
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": {
"kb_document_type": "<kb_document_type>",
"document_id": "<document_id>"
},
"name": "create_subposition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| document_id | Yes | the id of the document. E.g. if the `kb_document_type` is set to `kb_invoice` the `document_id` must be set to the ID of the invoice | |
| show_pos_nr | No | ||
| kb_document_type | Yes | The type of the document. Sub positions can be added to quotes, orders and invoices |