create_default_position
Create a default position on Bexio quotes, orders, or invoices. Specify details such as text, amount, unit price, and tax for the line item.
Instructions
Create a default position
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| amount | No | ||
| tax_id | No | References a [tax object](#operation/ListTaxes) Please note that only active sales taxes can be used as references on the document types `quote`, `order` and `invoice`. An easy way to retrieve all valid taxes is by calling the taxes endpoint with the query parameters `types=sales_tax&scope=active` ( | |
| unit_id | No | References a [unit object](#operation/v2ListUnits) | |
| account_id | No | References an [account object](#operation/ListAccounts) | |
| unit_price | No | The price of one unit (max. 6 decimals) | |
| amount_open | 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 | |
| is_optional | No | Only in the case of quotes or Orders | |
| amount_reserved | No | ||
| amount_completed | No | ||
| kb_document_type | Yes | The type of the document. Default positions can be added to quotes, orders and invoices | |
| discount_in_percent | No | The discount (max. 6 decimals) |