1b.app
Link copied -

Error. The price with rounding is transferred to the check, although rounding is disabled in the box

1. When fiscalizing, it gives an error "The amount of payments cannot be less than the amount of the check"

https://one-box.shine-bright.com.ua/321030/

In the order, the price of goods is 386.9450

In the logs, 386.95 is transferred to the check. Why?

In the box, price rounding settings are disabled.

2. Why is the price cut to hundredths in the product card in the RRP field? Where is the setting that controls this?
Original question is available on version: ru

Answers:

Сусяк Ігор
Integrator.com.ua
Personal license
Rodion, greetings

your inbox shows 4 decimal places in progress.

Rounding up to 2 digits can be set here /app/workflow/roundadmin/

yes
26.05.2023, 12:26
Original comment available on version: ua

Thanks, but this doesn't answer my question or solve the problem
26.05.2023, 13:07
Original comment available on version: ru

Сусяк Ігор
Integrator.com.ua
Personal license
Please clarify why exactly it does not fit - rounding will help to make the order and payment exactly match, accordingly, 386.95 will be transferred to the check box.
In the integration with Checkbox there are no separate settings with prices - it accepts what we transmit from the box.
27.05.2023, 16:18
Original comment available on version: ua


Farkhshatov Rodion wrote:
Please specify why it does not fit - rounding will help to make an exact match between the order and payment, respectively, 386.95 will be transferred to the checkbox.

Order and payment correspond to each other to the penny.
In the order, the price of the goods is 386.945 - this is what should be transferred to the checkbox. But it is transmitted with a rounding of 386.95, which is not set anywhere.
I'm wondering why, by default, when transferring the price to a receipt, rounding to hundredths occurs.

Farkhshatov Rodion wrote:
There are no separate settings with prices in the integration with the Checkbox - it accepts what we pass from the box.

Why is there 386.95 in the logs instead of 386.945? Why do we pass with rounding?
27.05.2023, 18:03
Original comment available on version: ru

Сусяк Ігор
Integrator.com.ua
Personal license
why do you assume that "In the order, the price of the product is 386.945 - this is what should be transferred to the checkbox."

here is the API https://wiki.checkbox.ua/api/specification, where it is indicated that the price should be in pennies
29.05.2023, 15:15
Original comment available on version: ua

what does it mean in kopecks? It doesn't say how many decimal places. Is there a 2 character limit?
29.05.2023, 15:23
Original comment available on version: ru

Сусяк Ігор
Integrator.com.ua
Personal license
a penny is 2 decimal places.
29.05.2023, 15:44
Original comment available on version: ua


Susyak Igor
integrator wrote:
a penny is 2 decimal places.

thanks for the help
30.05.2023, 23:58
Original comment available on version: ru

Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment