get_subtotal_position
Fetch a specific subtotal position from a Bexio quote, order, or invoice using its document type, ID, and position ID. Get the exact subtotal details you need for your accounting or CRM workflows.
Instructions
Fetch a subtotal 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>",
"position_id": "<position_id>"
},
"name": "get_subtotal_position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 | |
| position_id | Yes | the id of the position | |
| kb_document_type | Yes | The type of the document. Subtotal positions can be added to quotes, orders and invoices |