If you see an error 500 when adding a repeating invoice in Xero the following may work
Go to
– Settings
– General Settings
-Financial Settings
and check is there a financial year end entered and an end of year lock date.
Filing both of these fields and then saving should fix the error