parameters: (self)
return_statement: return res
docstring: Sanitize the identification number. Return the digits/integer value of the identification number
docstring_summary: Sanitize the identification number. Return the digits/integer value of the identification number
docstring_tokens: Sanitize the identification number . Return the digits / integer value of the identification number
function: def _get_id_number_sanitize(self):
          """ Sanitize the identification number. Return the digits/integer value of the identification number """
          if self.l10n_latam_identification_type_id.l10n_ar_afip_code in ['80', '86']:
              # Compact is the number clean up, remove all separators leave only digits
              res = int(stdnum.ar.cuit.compact(self.vat))
          else:
              id_number = re.sub('[^0-9]', '', self.vat)
              res = int(id_number)
          return res
function_tokens: def _get_id_number_sanitize ( self ) : if self . l10n_latam_identification_type_id . l10n_ar_afip_code in [ '80' , '86' ] : # Compact is the number clean up, remove all separators leave only digits res = int ( stdnum . ar . cuit . compact ( self . vat ) ) else : id_number = re . sub ( '[^0-9]' , '' , self . vat ) res = int ( id_number ) return res