[FIX] Fixed traceback on invoice creation.