Xero sync error: You must specify an Account code or Account ID for the payment An error occurred in Xero. Check the API Status page http://status.developer.xero.com for current service status.

Why the sync error occurs

This error occurs when a payment can't sync to Xero because the Default Bank Account or Deposit To setting in sync preferences is blank or set to an inactive account.

How to fix the sync error

Update the sync preferences:

  1. Select Settings
  2. Select Preferences under Sync
  3. Select Edit
  4. Select a bank account for the Default Bank Account and Deposit To
  5. Select Save
  6. Sync again