Sales Tax (Net / Gross)
Why Sales Tax?
Item prices can be maintained as net or gross—depending on the source (ERP, online store, manual entry). The display in the configurator and the data transferred to the online store may differ:
- Prices are maintained as net but should be displayed to the customer as gross.
- Prices are maintained as gross but should be transferred to the online store as net.
As soon as a price list is assigned tax information, K3 always calculates both the net and gross prices at the line item level and rounds them to two decimal places according to commercial standards. The total price is calculated by adding the already rounded individual line items.
Setting Up a Price List with Tax Information
- In the sidebar, navigate to Items and open the desired price list.
- Click Edit Price List and fill out the following fields:
| Field | Description |
|---|---|
| Prices are | netto or brutto – specifies how prices are stored in this list. |
| Default Tax Rate | e.g., 19 for 19% VAT. Applies to all items that do not have a different rate assigned. |
| Different tax rates | Optional list with a key and percentage value, e.g., vermindert = 7 or befreit = 0. In the Advanced section. |
- Click Loading....
Assigning a Tax Rate to an Item
By default, the standard tax rate from the price list applies to every item. For exceptions (e.g., groceries at 7%), you can specify a different rate directly for the item:
- Open the item in the item list.
- In the Tax Rate field, select one of the codes defined in the price list, e.g.,
vermindert. - Click Loading....
> If the field is empty or an undefined code is entered, > the default tax rate from the price list applies automatically.
Price Display in the Configurator
The layout component <Price /> has the attribute vat:
<Price vat="net" /> {/* zeigt immer Nettopreis */}
<Price vat="gross" /> {/* zeigt immer Bruttopreis */}
<Price /> {/* zeigt den Preis so, wie er in der Preisliste gepflegt ist (Fallback) */}
This allows you to control what is displayed to the customer, regardless of the price list’s maintenance type.
Transfer to the Store
In the Exit Action (Type: Send to Store), you can optionally specify whether the net or gross price is transferred:
- Open the Exit Action in the Configurator Editor.
- Under Price Transfer, select the option
nettoorbrutto. - If nothing is selected, the price is transferred in the form in which it is maintained in the price list.
PDF
In the generated PDF, both values are always displayed for each item and in the total:
- Net price
- Gross price
This applies regardless of whether the price list is maintained as net or gross.
Shop API and Webhooks
In the Shop API and in webhooks, items and the total price each contain the fields
priceNet and priceGross, so that the receiving system can use the appropriate value.
Backward Compatibility
Configurators without tax information in the price list will behave exactly as before. All existing price calculations, orders, and PDFs remain unchanged.