Added example of addCreditInvoice