[PYLINT][invoice_datetime] An error renaming a variable was resolved related to w0622 pylint error