diff --git a/app/db/normalizations.py b/app/db/normalizations.py index 35da538..0ea21ec 100644 --- a/app/db/normalizations.py +++ b/app/db/normalizations.py @@ -105,7 +105,7 @@ def normalize_header_invoice_fields(fd: Dict[str, Any]) -> Dict[str, Any]: "operation_date": str(fd['FECHA_FACTURA']), "description": textwrap.shorten( f"{str(fd['REFERENCIA'])} - {str(fd.get('NOMBRE')) or ''}", width=50, placeholder="…"), - "notes": str(fd["OBSERVACIONES"]), + "notes": fd["OBSERVACIONES"], # siempre tendrán 2 decimales 'subtotal_amount_value': cents(fd.get('IMPORTE_NETO')), 'discount_amount_value': cents(fd.get('IMPORTE_DESCUENTO')),