diff --git a/app/utils/payloads_factuges.py b/app/utils/payloads_factuges.py index ccc0640..25f09de 100644 --- a/app/utils/payloads_factuges.py +++ b/app/utils/payloads_factuges.py @@ -73,7 +73,7 @@ def insert_item_and_taxes(fields) -> Dict[str, Any]: "item_discount_amount_value": str(none_to_empty(fields.get("item_discount_amount_value"))), "global_discount_percentage_value": str(none_to_empty(fields.get("global_discount_percentage_value"))), "global_discount_amount_value": str(none_to_empty(fields.get("global_discount_amount_value"))), - "total_discount_amount_value": str(fields.get("total_discount_amount_value")), + "total_discount_amount_value": str(none_to_empty(fields.get("total_discount_amount_value"))), "taxable_amount_value": str(fields.get("taxable_amount_value")), "total_amount_value": str(fields.get("total_amount_value")), "iva_code": str(fields.get("iva_code")),