combined createInvoiceItems methods and removed comments
fix createInvoiceItems bugs on one-off side