diff --git a/facho/fe/form.py b/facho/fe/form.py index b1dec46..fba0c4d 100644 --- a/facho/fe/form.py +++ b/facho/fe/form.py @@ -59,7 +59,9 @@ class Amount: self.amount = amount.amount self.currency = amount.currency else: - self.amount = Decimal(amount, decimal.Context(prec=DECIMAL_PRECISION, rounding=decimal.ROUND_HALF_DOWN )) + self.amount = Decimal(amount, decimal.Context(prec=DECIMAL_PRECISION, + #DIAN 1.7.-2020: 1.2.1.1 + rounding=decimal.ROUND_HALF_EVEN )) self.currency = currency def __round__(self, prec):