createInvoice

Creates an invoice with a fresh reference ID and stores that ID for status/cancel.