Fix bug when not use Invoice