{% note tip "" %}
If you are developing integrations for Bitrix24 using AI tools (Codex, Claude Code, Cursor), connect to the MCP server so that the assistant can utilize the official REST documentation.
{% endnote %}
The price rounding rule is a set of settings that define how to modify the price of a product or service in the cart. They help automatically round prices, for example, to the nearest whole number or to a specific decimal place.
There are three types of price rounding:
- mathematical rounding
- rounding up: the price increases, which benefits the store
- rounding down: the price decreases, which benefits the customer
Quick navigation: all methods and events
- Get the price type using catalog.priceType.list
- Check available rule fields using catalog.roundingRule.getFields
- Create a rounding rule using catalog.roundingRule.add
- Check the rule using catalog.roundingRule.get or catalog.roundingRule.list
- Track changes through rounding rule events
Price Types. A rounding rule applies to a price type. You can get and configure price types using catalog.priceType.*.
Scope:
catalogWho can execute the methods: administrator
{% list tabs %}
-
Methods
#| || Method | Description || || catalog.roundingRule.add | Adds a price rounding rule || || catalog.roundingRule.update | Modifies a price rounding rule || || catalog.roundingRule.get | Returns information about a price rounding rule by its identifier || || catalog.roundingRule.list | Returns a list of price rounding rules || || catalog.roundingRule.delete | Deletes a price rounding rule || || catalog.roundingRule.getFields | Returns the fields of a price rounding rule || |#
-
Events
#| || Event | Triggered || || CATALOG.ROUNDING.ON.ADD | When a price rounding rule is added || || CATALOG.ROUNDING.ON.UPDATE | When a price rounding rule is updated || || CATALOG.ROUNDING.ON.DELETE | When a price rounding rule is deleted || |#
{% endlist %}