aleph icon indicating copy to clipboard operation
aleph copied to clipboard

Validate IBANs

Open tillprochaska opened this issue 2 years ago • 3 comments

ingest-file extracts IBANs using a rather simple regex. This can lead to a lot of false positives. ingest-file could add additional validation for matches in order to improve precision:

  • Validating the length depending on country
  • Validating checksums

We should consider that the text the extraction is performed on is often the result of OCR processing which may detect characters incorrectly. If an IBAN’s checksum isn’t correct, that may be due to OCR having misdetected a character etc.

tillprochaska avatar Jan 13 '23 12:01 tillprochaska