Implemented Invoice class