printing balance when id is scanned