ADDED:Invoice JPA class file and function applied