You can use several discounts and allowances simultaneously.
They are always calculated in the order of the configuration, from top to bottom.

Let's look at the calculation on an example. We have such a sea excursion:

The client made such a reservation:

- 2 tickets for adult fare = 2 * 1000 = $2000.
- 3 tickets at the child fare = 3 * 600 = $1800.
- 5 wetsuits in addition = 5 * 100 = $500.
- With my camera

- A 10% surcharge for the tariff for the camera
- 50% discount on wetsuits
- 40% discount for the entire cost of the day of the Poseidon

Before the application of discounts, the following calculation is obtained:

Element | Cost | Calculation |

Adult ticket | 2000 | 2000 |

Children's ticket | 1800 | 1800 |

Wetsuit | 500 | 500 |

This price component on the **Applicability** tab only lists tariffs.
This means that when calculating the surcharge, the cost of the wetsuit is not taken into account.

We calculate. 10% * (2000 + 1800) = $380.

The surcharge is distributed evenly between tariffs. At $190 to each.

Element | Cost | Calculation |

Adult ticket | 2000 | 2190 |

Children's ticket | 1800 | 1990 |

Wetsuit | 500 | 500 |

10% surcharge | 380 | - |

And on the **Applicability** tab of this component, only a wetsuit is marked.
This means that when calculating discounts, tariffs are not taken into account.

We calculate. 50% * (500) = $250.

Discount applies only to a wetsuit.

Element | Cost | Calculation |

Adult ticket | 2000 | 2190 |

Children's ticket | 1800 | 1990 |

Wetsuits | 500 | 250 |

10% surcharge | 380 | - |

50% discount | -250 | - |

Discounts and allowances are calculated not from the initial cost, but from the **Calculation** field.
This discount applies to all tariffs and fields.
It needs to be distributed evenly among these elements.

Calculate. 40% * (2190 + 1990 + 250) = $1772.

= 590.67 + 590.67 + 590.67

= 590.67 + 590.67 + 590.67

From each element you need to deduct $ 590.67.

We start subtracting from the smallest elements.

Wetsuit: 250 - 590.67 = $-340.67.

Wetsuit: 250 - 590.67 = $-340.67.

It turned out that the wetsuit paid off completely, and there were unspent funds.
Recalculate the discount taking into account these funds.

590.67 + 590.67 + 340.67 = $1522.

590.67 + 590.67 + 340.67 = $1522.

This discount should be distributed between the two remaining items, at $ 761.

Children's ticket: 1990 - 761 = $1229.

Adult ticket: 2190 - 761 = $1429.

Children's ticket: 1990 - 761 = $1229.

Adult ticket: 2190 - 761 = $1429.

Discount applies only to wetsuit.

Element | Cost | Calculation |

Adult ticket | 2000 | 1429 |

Children's ticket | 1800 | 1229 |

Wetsuit | 500 | 0 |

10% surcharge | 380 | - |

50% discount | -250 | - |

40% discount | -1772 | - |

Amount | 2658 | 2658 |

As a result, all information from the second column is displayed in the account.
The calculations are hidden.

Didn't find the answer to your question?

Ask it to us on

Ask it to us on