Fixed Invoice not getting created.