A validity check compares the ID code or account number in transaction data with similar data in the master file to verify that the account exists. For example, if customer 65432 is entered, the computer must verify the existence of customer 65432 in the customer database to confirm that the sale was indeed made to a valid customer