From 18f11e2f2ac2ac2a8576df917dbe766f69831a31 Mon Sep 17 00:00:00 2001 From: Dmitry <40275556+ooppsss60@users.noreply.github.com> Date: Mon, 12 Jan 2026 14:02:40 +0300 Subject: [PATCH] Update order tax (1199) values --- client.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/client.py b/client.py index 3c10de4..c151e5c 100644 --- a/client.py +++ b/client.py @@ -114,6 +114,12 @@ def add_position_to_order(self, quantity, price, tax, text, payment_method_type= 4 – ставка НДС расч. 10/110 5 – ставка НДС 0% 6 – НДС не облагается + 7 - ставка НДС 5% + 8 - ставка НДС 7% + 9 - ставка НДС расч. 5/105 + 10 - ставка НДС расч. 7/107 + 11 - ставка НДС 22% + 12 - ставка НДС расч. 22/122 :param text: Наименование предмета расчета, 1030 (Строка до 128 символов) :param payment_method_type: Признак способа расчета, 1214 (Число от 1 до 7. По умолчанию будет отправлено значение 4): @@ -195,7 +201,7 @@ def add_position_to_order(self, quantity, price, tax, text, payment_method_type= :return: """ if isinstance(quantity, (float, int)) and isinstance(price, Decimal) and tax in ( - 1, 2, 3, 4, 5, 6) and length_is_valid(text, max_=128): + 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12) and length_is_valid(text, max_=128): position = dict() position['quantity'] = quantity position['price'] = float(price)