create_subtotal_position
Add a subtotal position to a quote, order, or invoice. Provide the document type and ID to insert a subtotal line for a clear cost breakdown.
Instructions
Create a subtotal position
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 | |
| kb_document_type | Yes | The type of the document. Subtotal positions can be added to quotes, orders and invoices |