Knowledge Base

Settings Configuration

Settings Configuration

This guide explains all available configuration options for the Xero Sync plugin.

General Settings

Enable Sync

Master switch to enable or disable all automatic synchronization. When disabled:

  • New events will not be queued
  • Existing queue items will not be processed
  • Manual sync functions remain available

Sync Options

Individual toggles for each entity type:

Setting Description
Sync Invoices Sync invoices from Blesta to Xero
Sync Payments Sync payments from Blesta to Xero
Sync Contacts Sync client contacts from Blesta to Xero
Bank Sync Enable reverse sync of bank transactions from Xero

Xero Configuration

Default Account Code

The Xero revenue account code for invoice line items.

  • Default: 200 (Sales)
  • Common alternatives: 400 (Sales), 41000 (depending on chart of accounts)

Find your account codes in Xero under Accounting → Chart of Accounts.

Default Tax Type

Tax type applied to invoice line items:

  • OUTPUT - Standard rate output tax
  • EXEMPTOUTPUT - Tax exempt
  • ZERORATEDOUTPUT - Zero rated
  • NONE - No tax

Invoice Prefix

Prefix added to invoice numbers when syncing to Xero.

  • Default: BL-
  • Example: Invoice #1234 becomes BL-1234 in Xero

This prevents number conflicts with existing Xero invoices.

Auto-Approve Invoices

When enabled, invoices are set to AUTHORISED status in Xero (ready to send).

When disabled, invoices are created as DRAFT.

Payment Gateway Mapping

Map Blesta payment gateways to Xero bank accounts for accurate payment tracking.

How It Works

  1. Payments come into Blesta via different gateways (PayPal, Stripe, etc.)
  2. Each gateway can deposit to a different bank account
  3. Map each gateway to the correct Xero account

Configuration

  1. Scroll to Payment Gateway Accounts
  2. For each active gateway, select the corresponding Xero bank account
  3. Click Save Settings

Example

Gateway Xero Account
PayPal PayPal GBP (090)
Stripe Stripe Holdings (091)
Bank Transfer Business Account (001)

Queue Settings

Max Retries

Number of retry attempts for failed sync operations.

  • Default: 3
  • Range: 1-10
  • After max retries, item is marked as failed

Log Retention

Days to keep sync logs before automatic cleanup.

  • Default: 30
  • Range: 1-365

Advanced Operations

Reset Sync State

Use with caution! This removes all Blesta-to-Xero mappings.

When to use:

  • Starting fresh with a new Xero organization
  • Recovering from duplicate entries
  • Troubleshooting sync issues

After reset:

  1. All entities will appear as "unsynced"
  2. Next sync will create new entries in Xero
  3. Existing Xero entries are NOT deleted

Clear Queue

Removes all pending items from the sync queue. Use when:

  • Queue has stale/invalid entries
  • You want to stop pending operations
  • Troubleshooting queue processing issues
Please rate this article to help us improve our Knowledge Base.

0 0