Invoice handler in symfony