Update business logic for invoice