small changes to invoice api entity