When all the Universal Product Code are scanned, the system automatically calculates taxes, discounts, and the total for the transaction. In the case of credit card transactions, the sales clerk obtains transaction approval from the credit card issuer via an online connection. When the approval is returned, the clerk prepares a credit card voucher for the amount of the sale, which the customer signs. The clerk gives the customer one copy of the voucher and secures a second copy in the cash drawer of the register. For cash sales, the customer renders cash for the full amount of the sale, which the clerk secures in the cash drawer.