Xero Failure: Account type is invalid for making a payment to/from
If you receive the error message "Xero Failure: Account type is invalid for making a payment to/from" when trying to pay an invoice from your client account, ensure your Client Control Account within Xero has payments enabled.
See this Xero help article for further guidance - https://central.xero.com/s/article/Enable-payments-to-an-account.