Mapping Xero Accounts and Tax

Last updated: November 20, 2026

Account mappings tell Flexnet which Xero accounts and tax types to use when it creates and updates Xero items and invoices. Set them in the Account Mappings section of the integration's Configuration tab.

Before You Start

  • You need the Admin role.

  • Xero is connected and not paused. See Connecting Xero to Flexnet.

  • Flexnet loads your Xero accounts and tax rates when you connect. If the lists are empty, refresh them first. See Refresh Reference Data.

Set the Default Accounts

The default accounts are the sales and purchase accounts Flexnet sets on Xero items when no category override applies.

  1. Open Admin > Integrations and select Settings on the Xero card.

  2. Select the Configuration tab and find Account Mappings.

  3. Under Default Accounts, choose an account for each field:

    • Default Sales Account Code: the sales account for items. The list shows your active Xero revenue, sales, and other income accounts.

    • Default Purchase Account Code: the purchase account for items. The list shows your active Xero direct costs, expense, and overhead accounts.

  4. Select Save Mappings. Flexnet shows "Account mappings saved successfully."

Both fields are optional and show Not set until you choose an account.

Flexnet uses these accounts on Xero items, not on invoice lines. Each invoice line uses the Xero item for its SKU, so Xero takes the account from that item.

  • Flexnet sets the sales account each time it creates or updates a linked Xero item.

  • Flexnet sets the purchase account only when it also sends the item's cost price, which happens when Push from Flexnet → Xero under Cost Price is on. See Syncing Customers and Items with Xero.

When Flexnet updates a linked Xero item, it replaces the item's sales account with the mapped account. If your Xero items use different sales accounts, set category overrides that match them, or leave the sales mapping unset.

Override Accounts by Product Category

Use Category-Specific Settings when products in different Product Categories post to different Xero accounts.

  1. In Account Mappings, select Category-Specific Settings to expand it. The heading shows how many Product Categories you have.

  2. For each Product Category that needs its own accounts, choose:

    • Sales: the sales account for SKUs in that category.

    • Purchase: the purchase account for SKUs in that category.

  3. Leave a field at Use existing default behavior to use the default account for that category.

  4. Select Save Mappings.

A SKU uses the override for its product's Product Category. If the override is not set, Flexnet uses Default Sales Account Code or Default Purchase Account Code.

Category-Specific Settings appears only when you have at least one Product Category.

Map Tax Types

Default Tax Accounts sets the Xero tax types that Flexnet applies to invoice lines and shipping charges.

  1. In Account Mappings, find Default Tax Accounts.

  2. Choose:

    • Taxable Tax Type: applied to taxable product lines and to shipping when the order's shipping is taxed.

    • Non-Taxable Tax Type: applied to non-taxable product lines, untaxed shipping, payment surcharge lines, and urgent order surcharge lines.

  3. Select Save Mappings.

Each option shows the Xero tax rate's name, tax type, and rate. Choose Use Xero defaults to send no tax type, so Xero applies its own default tax treatment.

Flexnet decides whether a line is taxable from the order, then sends the matching tax type. Xero calculates the tax, and Flexnet copies Xero's tax and totals back to the Flexnet invoice. See Invoicing with Xero.

Set the Inventory Accounts

This feature is only available when Flexnet staff have turned on the Inventory module.

Flexnet creates SKUs as tracked inventory items in Xero only when Inventory Item Type (SKU → Xero Item) is on under Sync Behavior. Until then, the Inventory section shows Inventory Item Type Sync Not Enabled and SKUs with the Inventory classification sync as untracked items.

When Inventory Item Type (SKU → Xero Item) is on, set both accounts:

  1. In Account Mappings, find Inventory.

  2. Choose:

    • Inventory Asset Account: the asset account for tracked inventory items Flexnet creates in Xero. The list shows your active Xero inventory accounts.

    • Cost of Goods Sold Account: the cost of goods sold account for tracked inventory items Flexnet creates in Xero.

  3. Select Save Mappings.

The page marks both accounts as required. For a tracked item, Flexnet uses the Product Category's Purchase override, or Default Purchase Account Code, as the cost of goods sold account when one is set, and Cost of Goods Sold Account otherwise. If Inventory Asset Account is not set, or no cost of goods sold account can be found this way, Flexnet creates inventory SKUs as untracked items.

Flexnet does not change an existing Xero item between tracked and untracked. It keeps whichever type the item already has.

Refresh Reference Data

The account and tax rate lists come from Xero. Flexnet loads them when you connect. Refresh them after you add or change accounts or tax rates in Xero.

  • In Account Mappings, select Refresh Data.

  • In Reference Data at the bottom of the Configuration tab, select Refresh All Data.

Reference Data shows when the lists were Last synced and how many Income accounts, Expense accounts, Inventory accounts, and Tax rates Flexnet holds. Inventory accounts only appears when Flexnet staff have turned on the Inventory module.

Flexnet only lists active Xero accounts and tax rates. Archived accounts do not appear.

Troubleshooting

Save Mappings Is Unavailable

Flexnet has no Xero accounts yet and shows "No reference data available." Select Refresh Data, then choose your accounts.

An Account or Tax Rate Is Missing from the List

Check that it is active in Xero and is the right type for the field, then select Refresh Data.

Xero Items Are Not Tracked as Inventory

Check that Inventory Item Type (SKU → Xero Item) is on under Sync Behavior, that Inventory Asset Account and Cost of Goods Sold Account are both set, and that the SKU's classification is Inventory. Existing untracked Xero items stay untracked.

Related Articles