create an invoice for an order