Skip to main content

Configuring Xero Tax Type Mappings

How to map your Xero tax types to reverse charge categories so Retention Track tracks retention correctly under UK Domestic Reverse Charge (DRC).

J
Written by James Coulson

Note: Tax type mappings are only used by workspaces in regions that support reverse charge VAT — currently the United Kingdom, for the Construction Industry Scheme's Domestic Reverse Charge (DRC). If your workspace is in Australia or New Zealand the Tax Type Mappings section will not appear on the company page, and there is nothing to configure.

Introduction

When you link a company to Xero, Retention Track reads each invoice's line items and uses the Xero tax type on every line to decide how to handle that line. For most lines this is straightforward — standard VAT lines have tax, zero-rated lines don't. Reverse charge lines are different: they have no tax on the invoice itself, but the underlying sale is still treated as taxable for retention purposes.

Tax type mappings tell Retention Track which of your Xero tax types should be treated as reverse charge. Once configured, Retention Track will recognise reverse charge invoices and credit notes automatically, calculate retention correctly against them, and pre-fill the correct tax type when you create new credit notes from them.

In this article we walk you through:

  1. What tax type mappings do

  2. When you need to configure them

  3. How they affect invoice and credit note handling

  4. Configuring tax type mappings — step-by-step walkthrough

  5. Worked example

  6. What happens if you skip this step

1. What tax type mappings do

A tax type mapping is a link between a tax type in your Xero chart of tax rates and one of two reverse charge categories in Retention Track:

  • Reverse Charge (Income) — tax types that apply to your sales, your Retention Debtors account, and your Retention Defect Liabilities account. In the UK these are typically DRCHARGE20 (Domestic Reverse Charge @ 20%) and DRCHARGE5 (Domestic Reverse Charge @ 5%).

  • Reverse Charge (Expense) — tax types that apply to your cost of goods sold. In the UK these are typically DRCHARGESUPPLY20 (Domestic Reverse Charge Supply @ 20%) and DRCHARGESUPPLY5 (Domestic Reverse Charge Supply @ 5%).

You can map more than one Xero tax type to each category — for example, both the 20% and the 5% DRC rates can be mapped to Reverse Charge (Income) at the same time. You can also leave a category empty if it doesn't apply.

Note: Mappings are configured per company, not per workspace. If you have more than one company linked to Xero, configure mappings on each company separately. Most users only have a single company and only need to do this once.

2. When you need to configure them

Configure tax type mappings if all of the following apply:

  • Your workspace is in the United Kingdom.

  • Your company is linked to Xero (see Connecting to Xero).

  • You — or any of the contractors you work with — raise invoices that use Domestic Reverse Charge for construction services.

If you only deal in standard-rated or zero-rated VAT, you don't need to configure these mappings — Retention Track will treat every line according to the tax shown on the invoice.

3. How they affect invoice and credit note handling

Retention Track checks the tax type on every line of every Xero invoice, credit note, and manual journal it imports. If the tax type matches one of your configured Reverse Charge (Income) mappings, that line is flagged as a reverse charge line.

This affects four things:

Retention calculation

A reverse charge invoice has no VAT on the face of the document, but the underlying sale is still subject to VAT for the purposes of retention. Retention Track calculates the effective tax on each line — zero for reverse charge lines, the standard rate for everything else — and uses this to derive the correct retention amount, both including and excluding VAT.

Without the mappings, Retention Track would treat a DRC invoice line as if VAT had been charged at the standard rate, which would overstate the retention figures.

Reverse charge badge on invoices and credit notes

When at least one line on a Xero invoice or credit note matches a Reverse Charge (Income) mapping, Retention Track marks the document as reverse charge throughout the app — on the contract's Payments tab, the invoice detail page, and the credit note detail page.

Defaults when creating new credit notes

When you create a credit note from a reverse charge Xero invoice (see Creating a Xero Credit Note), the Tax Type for Credit Note Line field is pre-filled with the same tax type as the originating invoice, drawn from your mappings. You can change it before submitting if needed, but the default ensures that retention released through a credit note carries the same VAT treatment as the original sale.

Amounts shown as inclusive vs exclusive of VAT

Throughout Retention Track, amounts on standard invoices are shown including VAT, while amounts on reverse charge invoices are shown excluding VAT. A small pill next to monetary fields indicates which convention applies. Correct tax type mappings are what allow Retention Track to make this distinction.

4. Configuring tax type mappings — step-by-step walkthrough

Opening the configuration page

From the workspace home, open Companies in the side menu and select the company you want to configure. Scroll down to the Xero Integration card on the company page.

Inside the Xero Integration card, click View Tax Type Mappings to expand the section. You'll see a summary of any mappings already configured (or a "No tax type mappings configured" message if it's the first time). Click the Configure button to open the configuration page.

Note: If the View Tax Type Mappings section is not visible on the Xero Integration card, your workspace is in a region that doesn't use reverse charge. The card will only show this section for UK workspaces with a Xero-linked company.

Selecting tax types

The configuration page has two sections, one for each reverse charge category:

  • Reverse Charge (Income)

  • Reverse Charge (Expense)

Each section shows a list of the active tax rates from your Xero organisation, with the tax type code shown as a blue badge, the display name, and the effective rate (e.g. 20% or 5%).

For each category, tick the box next to every tax rate that should be treated as reverse charge for that purpose. You can:

  • Select multiple tax types per category — for example, both DRCHARGE20 and DRCHARGE5 under Reverse Charge (Income).

  • Leave a category empty if none of your tax types apply — for instance, if you never raise reverse charge expenses.

  • Untick a previously-selected tax type to remove the mapping.

Saving

Click Save Mappings at the bottom of the page. Retention Track will store your selections against the company and return you to the company page. The new mappings take effect immediately for any invoices, credit notes, and manual journals imported from that point on, and any documents already in Retention Track that match the new mappings will start being treated as reverse charge.

Note: You can return to this page at any time to add, change, or remove mappings. Existing invoices and credit notes will be re-evaluated against your latest mappings the next time their figures are loaded.

5. Worked example

A UK subcontractor under CIS raises a Xero invoice to a main contractor for £10,000 of construction work, with retention of 5%. The invoice is marked as Domestic Reverse Charge in Xero — the line uses tax type DRCHARGE20 and no VAT is added to the document total.

In Retention Track:

  • With DRCHARGE20 mapped to Reverse Charge (Income): The invoice is flagged as reverse charge. Retention of 5% is calculated against the £10,000 net amount and tracked as £500 withheld in the Retention Debtors account. Amounts on the contract are shown excluding VAT.

  • Without the mapping: Retention Track treats the line as a normal sale, applies a 20% VAT assumption, and the retention figure is inflated to reflect a VAT amount that was never actually charged. The invoice is not flagged as reverse charge, and amounts are shown including a phantom VAT figure.

6. What happens if you skip this step

If your workspace doesn't deal in reverse charge invoices at all, skipping this step is safe — there's nothing to configure.

If you do receive (or raise) reverse charge invoices and the mappings are missing, retention figures across the contract — including outstanding balances, the amounts shown on the Payments tab, and the totals on the workspace dashboard — will be incorrect for any contract that contains a reverse charge invoice. Configuring the mappings is the single fix; once saved, the figures recalculate automatically.

If you're unsure which tax types apply in your Xero organisation, your accountant or bookkeeper will be able to confirm which rates you've set up for CIS Domestic Reverse Charge.

Need a hand? If you're not sure which tax types to pick, or you'd like us to double-check your configuration, our support team is happy to help. Send us a message through Fin (the chat bubble in the bottom-right of Retention Track) or email us, and we'll walk you through it.

Did this answer your question?