Skip to main content Scroll Top

WooCommerce Xero Integration – Multiple Sales Account Code Plugin

£49.99

The official WooCommerce Xero extension restricts your store to a single sales account code. This lightweight plugin unlocks category-level overrides: enter your desired Xero account code in any product category, and line items will automatically route to the correct ledger account when synced.

  • Eliminates manual month-end journal entries
  • Seamless extension of the official WooCommerce Xero plugin
  • Setup takes under 2 minutes (just enter your code & click Update)
  • WooCommerce 9+ compatible

Take Control of Your E-Commerce Chart of Accounts

If you run a multi-category store – selling physical products alongside digital downloads, gift vouchers, repair services, or third-party merchandise – your accountant needs those revenue streams reported in separate sales accounts.

By default, the official WooCommerce Xero extension forces every single line item into the single global sales account configured in your integration settings. This leaves business owners and bookkeepers with hours of manual work filtering sales exports and posting manual month-end journal entries.

The Cray Digital Multiple Sales Account Code Plugin fixes this permanently.

How It Works in 3 Simple Steps

  1. Keep Your Official Xero Integration: Install and activate our extension alongside your existing WooCommerce Xero setup.
  2. Assign Codes to Categories: Navigate to Products > Categories in WordPress admin. Open any category and enter your specific Xero account code (e.g., 205 for Digital, 210 for Services).
  3. Sync Automatically: When an order is completed, the plugin intercepts the line item creation and applies the category-specific code before sending the payload to Xero. Items in categories without a custom code automatically fall back to your default Xero account.

Key Features & Benefits

  • Zero Configuration Overload: No complicated mapping tables or bloated database entries. It adds a single, clean input field right where you already manage categories.
  • Reliable Fallback Protection: If a category doesn’t have an override code assigned, it seamlessly routes to your primary default Xero account.
  • Accurate Real-Time P&L: View true category-by-category margins inside Xero without waiting for end-of-quarter accountant adjustments.
  • Lightweight & Conflict-Free: Built strictly according to WooCommerce action and filter hooks. It doesn’t modify core WooCommerce files or database tables.

Technical Specifications & Compatibility

Requirement Supported Version
WordPress 6.0 or higher
WooCommerce 9.x+
Prerequisite Official WooCommerce Xero Integration Plugin
PHP PHP 8.0, 8.1, 8.2, 8.3
License Single-site license including 12 months of direct UK developer support

Frequently Asked Questions

No! This plugin works directly with the official WooCommerce Xero extension. Your existing API keys, authorisation credentials, and sync settings remain untouched.

Each individual line item on the resulting Xero invoice receives its own specific account code based on its category. For example, an order containing a physical chair and an assembly service will split into accounts 200 and 210 on the same invoice.

The plugin checks the product’s primary category first. If that category has an account code defined, it uses it; otherwise, it checks subsequent categories before falling back to your default Xero code.

Yes. All purchases come with documentation and setup is a 2 minute task.

Item added to cart View Cart Checkout
Privacy Preferences
When you visit our website, it may store information through your browser from specific services, usually in form of cookies. Here you can change your privacy preferences. Please note that blocking some types of cookies may impact your experience on our website and the services we offer.