(self, st_data, line)
return st_data
88 - Registro de fin de archivo
88 - Registro de fin de archivo
88 - Registro de fin de archivo
def _process_record_88(self, st_data, line):
        """88 - Registro de fin de archivo"""
        st_data["num_registros"] = int(line[20:26])
        # File level checks
        # Some banks (like Liderbank) are informing this record number
        # including the record 88, so checking this with the absolute
        # difference allows to bypass the error
        if (
            abs(st_data["num_registros"] - st_data["_num_records"]) > 1
        ):  # pragma: no cover
            raise exceptions.UserError(
                _(
                    "Number of records doesn't match with the defined in the "
                    "last record."
                )
            )
        return st_data
def _process_record_88 ( self , st_data , line ) : st_data [ "num_registros" ] = int ( line [ 20 : 26 ] ) # File level checks # Some banks (like Liderbank) are informing this record number # including the record 88, so checking this with the absolute # difference allows to bypass the error if ( abs ( st_data [ "num_registros" ] - st_data [ "_num_records" ] ) > 1 ) : # pragma: no cover raise exceptions . UserError ( _ ( "Number of records doesn't match with the defined in the " "last record." ) ) return st_data