Developer

Integrate your accounting software with an MTD bridging app: the AATAX API

Last updated: 30 November 2026

If you run accounting or bookkeeping software that keeps records for clients, and you act for them as an agent with your own agent services account, you can integrate it with AATAX as its MTD bridging app. Through the AATAX API, your product sends their Making Tax Digital (MTD) for Income Tax quarterly updates and tax returns to HMRC. Your software keeps working as it does. AATAX handles the HMRC side: authorisations, quarters, the submissions themselves, and the fraud prevention data HMRC requires with every call.

This guide is for product and engineering teams at accounting, bookkeeping and tax-tech companies. It covers what you need before you start, how the integration works step by step, and what HMRC expects of you along the way.

Key facts

Who it's forSoftware providers who act for clients as their agent, with an HMRC agent services account
What your software can doAdd and manage clients, keep their records, send quarterly updates, and file and amend the tax return
How it connectsA REST API with JSON, authorised with your practice's API key
TestingA free sandbox on HMRC's own test service, with test keys
Going liveLive keys on your practice's AATAX package, with the API add-on
HMRC connectionMade once, in AATAX, with your agent sign-in
Referenceapi.aatax.ai/api/v1/ext/docs

Who this is for

The API is for businesses that act for clients as their agent under MTD for Income Tax: bookkeeping platforms, accountancy software with an in-house team, and tax-tech companies that file on their customers' behalf.

You need an HMRC agent services account (ASA) and your Agent Reference Number. HMRC's guidance on applying for an agent services account lists what to have ready, including anti-money laundering supervision. Our MTD for accountants and agents guide goes through the agent rules in more detail.

If your customers file their own MTD updates rather than you acting for them, this API isn't the right fit: they need software they connect to HMRC themselves.

Why integrate with a bridging app rather than connect to HMRC directly

Connecting a product straight to HMRC's MTD APIs is a project of its own. HMRC asks software that sends MTD data to:

  • get production access approved for each API, after testing in HMRC's sandbox
  • send fraud prevention data with every call, in the format for how your software connects
  • keep up with new versions of HMRC's APIs and changes to its rules

AATAX is already listed as HMRC-recognised MTD for Income Tax software. Integrated through the API, it works as your software's MTD bridging app, and your software uses its HMRC connection: AATAX checks what you send, adds HMRC's fraud prevention data, sends it as your practice and keeps a record of every submission.

How it works

  1. Your practice has an AATAX account, connected to HMRC with your agent sign-in.
  2. Your practice adds the Practice API to its AATAX package, and an admin makes API keys.
  3. Your software calls the AATAX API with a key: to add clients, send records or figures, and file.
  4. AATAX sends each request to HMRC as your practice, as the agent your clients have authorised.

Everything your software sends also shows in AATAX, marked as sent by the API with the key's name, so your team can see and check it there too.

Step 1: set up your practice in AATAX

Create a practice account with your practice name and Agent Reference Number, then connect AATAX to HMRC by signing in with your agent services account. The connection belongs to the practice, not to one person.

Step 2: get API keys

Add the Practice API to your package in AATAX, under Practice → Package and billing: paying for it switches the API on. To build against the sandbox first, email hello@aatax.ai for a sandbox account. A practice admin then makes keys in AATAX, under Practice → API:

  • Test keys work only with the sandbox, which uses HMRC's test service and test clients.
  • Live keys work only with HMRC itself.
  • Each key has its own permissions: see clients, add and change clients, see records, change records, send quarterly updates, file year end. Give each system only what it needs.
  • A key can stop working after 10 or 30 days, or keep going until you revoke it, and can be limited to your servers' IP addresses.

A key belongs to the practice, not to the person who made it, so it keeps working when staff change. Make one key for each system, so you can revoke one without stopping the others.

Step 3: build against the sandbox

The sandbox runs at api.dev.aatax.ai with test keys and HMRC's test users, so you can build and test the whole journey, from adding a client to filing a tax return, without touching real taxpayers. HMRC's sandbox gives canned figures, so it's for testing your integration, not for checking tax.

The API reference lists every request and field, and has an OpenAPI file for generating a client in your language.

Step 4: add clients and get authorised

Your software adds a client with their name, National Insurance number, email and postcode. AATAX then asks HMRC for your practice's authorisation straight away. HMRC's guidance on authorising an agent explains what the client does: they get a link, sign in with their own details and confirm. The link expires after 21 days, and your software can ask again.

AATAX asks to be your clients' main agent. HMRC allows one main agent per client, and only the main agent can submit the tax return.

Your software can see where each client is at any time: authorised or waiting, their businesses, each quarter's status, and what's been sent. It can also change a client's name, email or phone, and archive clients who leave.

Step 5: records and quarterly updates

HMRC needs a quarterly update for each of a client's businesses: each trade, UK property and overseas property. Your software can send them in one of two ways.

Your own figuresFrom the client's records
What you sendThe running totals for the year so far, in HMRC's categoriesEach record (date, amount, category) as you keep it
Who works out the totalsYour softwareAATAX, as it does for its own users
Before sendingAn optional dry run shows exactly what would goA preview shows the figures, what's left out and why
Best forSoftware that already produces HMRC's figuresSoftware that keeps transactions and wants AATAX to total them

Records use HMRC's own category names, the same as the figures, so mapping your categories once covers both. Records you send also show in AATAX for your team.

When sending from records, the send carries the preview's ID. If any record changed after the preview, nothing is sent and you get the new preview, so nothing reaches HMRC that someone hasn't looked at.

Either way, AATAX is the bridging software between your accounting software and HMRC, and the API counts as a digital link: HMRC's guidance on creating digital records lists an API connection as one.

Step 6: year end and the tax return

At year end, your software works through the same steps as an accountant in AATAX:

  1. check what's left before the return can be filed
  2. confirm each business's year-end details, or that there's nothing to claim
  3. confirm the client's other income and any losses are dealt with
  4. ask HMRC to work out the tax, and get the calculation
  5. show the calculation to your client and get their approval
  6. file the tax return

HMRC says the main agent must share what's being submitted with the client and get their written confirmation that it's correct and complete before filing. So the filing request includes your statement that the client approved this calculation, and AATAX keeps it, with when and who, alongside what was sent. Filed returns can be amended the same way.

Built for production

  • Safe retries: requests that change something take an idempotency key, so retrying after a timeout never sends anything twice.
  • Clear errors: every error has a stable code your software can act on, with HMRC's own reason when HMRC refused something.
  • An audit trail: each request can say which of your users started it, and that's kept with what's sent to HMRC.
  • Limits: 300 requests a minute per key.

Pricing

The API is an add-on to your AATAX package, which is yearly and priced by how many clients you have. See our pricing page for the packages. Building against the sandbox is free, and for more than 1,000 clients, contact us at hello@aatax.ai and we'll arrange a package.

Frequently asked questions

Do I need an agent services account to use the AATAX API?

Yes. The API acts for your clients as your practice, their agent, so you need an HMRC agent services account and your Agent Reference Number. AATAX connects to HMRC with your agent sign-in.

Is AATAX bridging software?

Yes. Integrated with your accounting software through its API, AATAX works as an MTD bridging app: your software keeps the records or works out the figures, and AATAX sends the quarterly updates and tax returns to HMRC.

Does my software need to be recognised by HMRC?

Your clients' updates and tax returns are sent by AATAX, which is listed as HMRC-recognised MTD for Income Tax software. Your software sends its data to AATAX through the API, which HMRC counts as a digital link.

Can my software send figures it has already worked out?

Yes. Send the year-to-date totals in HMRC's categories for each quarter. Or send the records and let AATAX total them, with a preview before anything goes to HMRC.

Can the API file the tax return?

Yes, as the client's main agent, after your client has approved the calculation. Your request confirms the approval and AATAX keeps a record of it. Filed returns can be amended through the API too.

Is there a sandbox?

Yes. The sandbox uses HMRC's own test service and test users, with test keys, and it's free.

What about VAT returns?

The API covers MTD for Income Tax. VAT returns are in the AATAX app, as an add-on to your package.

Talk to us

For a sandbox account, or to talk through integrating your accounting software, email hello@aatax.ai.


Sources (checked 30 November 2026)

This page is general guidance for software providers and agents, not tax advice.