Knowledge Base

Sync Not Working

Sync Not Working

Troubleshooting when invoices, payments, or contacts are not syncing to Xero.

Items Not Appearing in Xero

Symptoms: New invoices, payments, or contacts are not showing up in Xero

Step 1: Check Sync is Enabled

  1. Go to Tools → Xero Sync → Settings
  2. Verify Enable Sync is ON
  3. Check individual toggles:
    • Sync Invoices
    • Sync Payments
    • Sync Contacts

Step 2: Check License Status

  1. Look at the license status on the Settings page
  2. Must show Valid
  3. If expired or invalid, sync will not process

Step 3: Verify Cron is Running

  1. Go to Settings → Automation in Blesta
  2. Find "Process Xero Sync Queue"
  3. Check it is Enabled
  4. Verify Last Run is recent (within 5 minutes)

If cron hasn't run:

  • Check Blesta system cron is configured
  • Verify server cron job is active

Step 4: Check the Queue

  1. Go to Tools → Xero Sync → Queue
  2. Look for items in Pending section
  3. Check Failed section for errors

If items are pending:

  • They will process on next cron run
  • Click Process Queue Now to force immediate processing

If items are failed:

  • Read the error message
  • Fix the issue
  • Click Retry

Step 5: Verify Xero Connection

  1. Go to Settings page
  2. Connection status should show Connected (green)
  3. If disconnected, click Connect to Xero

Specific Entity Not Syncing

Contacts Not Syncing

  1. Check Sync Contacts is enabled
  2. Verify the client exists and is active
  3. Check if client was created before "Skip Historical" date

Invoices Not Syncing

  1. Check Sync Invoices is enabled
  2. Verify the contact synced first (required)
  3. Check invoice status in Blesta
  4. Voided invoices sync as voided, not created

Payments Not Syncing

  1. Check Sync Payments is enabled
  2. Verify the invoice synced first (required)
  3. Payment must be applied to an invoice
  4. Unapplied credits may not sync

Sync Stopped Working

If sync was working but stopped:

Check for Recent Changes

  1. Did Xero credentials change?
  2. Was the Xero app modified?
  3. Did the license expire?
  4. Was the plugin updated?

Reconnect to Xero

  1. Go to Settings
  2. Click Disconnect from Xero
  3. Click Connect to Xero
  4. Reauthorize the connection
  5. Test with a manual sync

Check Server Logs

Look for PHP errors:

  • Memory limit issues
  • Timeout errors
  • SSL certificate problems

Testing Sync

To verify sync is working:

  1. Create a test client in Blesta
  2. Check Queue page - should show pending contact
  3. Wait for cron or click Process Queue Now
  4. Verify contact appears in Xero
  5. Create test invoice
  6. Verify invoice appears in Xero
Please rate this article to help us improve our Knowledge Base.

0 0