Tax Assurance.
Designing VAT and SST returns a finance team can trust enough to sign. Built with AI agents, country by country, across Saudi Arabia, Malaysia and France.
A VAT or SST return is a legal declaration with someone’s name on it. Before filing, a tax team reconciles its books against the government’s e-invoice records, finds what disagrees, and decides what to fix.
Tax Assurance is where they do that. It lives on CTAI, Clear’s AI platform, where boards are built with agents rather than handed to engineering. I designed it and built it one country at a time, working with each customer’s tax team.
That is too much for one case study. These are the six calls that mattered most.
Two dashboards became one product
I had built reconciliation and SST filing as two separate dashboards. Side by side, they read the same data, and a tax team only reconciles in order to file. Keeping them apart meant finding every document twice, and trusting two boards to agree.
So I merged them, with reconciliation and filing as two sections of one navigation. The cost was a bigger board whose navigation had to carry two jobs. That combined board became Tax Assurance, and every board since follows the same chain.
The ledger on one side, the authority's e-invoice record on the other.
Matched, mismatched, missing, awaiting confirmation. Never two outcomes, never none.
So reconciliation and filing are one piece of work, not two tools.
From the number on the form to the documents behind it, filtered.
Eighteen findings instead of three buckets
A client told us the reconciliation looked too simple. They were right. Matched, mismatched and missing were cosmetic.
So the buckets became eighteen findings drawn from how ZATCA actually treats documents, from a missing cryptographic stamp to a credit note with no original. Each carries its own rule for tax at risk and its own next step. Each is decided once, in the query that reads the data, so the summary, the list and the filters cannot disagree.
My manager’s push did the rest. The board now opens on a verdict: not ready to file, how many documents are holding it up, and how much VAT is at risk.
An agent that never touches the filing
Every board is built with an agent. I wrote the logic agent that maps an account’s own tables onto a fixed contract and checks the maths, and the rendering skill that draws everything a person sees. A new board starts as a prompt, not a sprint.
The same thinking decided what the board hands to agents. Auditing e-invoices against ZATCA’s own cleared feed is a real need, but that feed is not in the workspace. So instead of building it in, the board writes the prompt for an agent, and states the boundary on screen: the agent’s work does not change this filing. The agent gets the one-off work. It never touches the number being filed.
One shape, three countries
Saudi Arabia, Malaysia and France share almost nothing: different returns, different rates, different government records. Everything that belongs to a country lives in its own logic. Everything a person sees comes from one system, so a new country means new rules, not a new product.
The differences became small, deliberate rules. In Malaysia, the posted tax code sets the rate, so a customer’s mapping correction can never move a filed number. In France, the CA3 form shows the return as the books state it, and every difference lives on its own screen. The person signing can always tell what they are declaring from what is still in dispute.



Trusted on a real prospect’s data
A Malaysian device distributor then tested it on their own e-invoices, with no ledger at all. Almost everything they sell sits outside SST, so the return covers a thin slice of what was invoiced.
So the overview proves where every invoiced line went before it shows the return: taxable, credit notes, out of scope, not validated, adding up to everything invoiced. When two of my early figures turned out wrong, the corrections went onto the screen and to the stakeholder, with the cause. With a prospect deciding whether to trust you, the correction is part of the product.
A design system that checks itself
By France, my own design system had drifted across three documents that disagreed on more than twenty points. That was survivable while I was the only builder. It was not once PMs, engineers and agents were building with it.
So I ruled once on every conflict, cut 72,000 characters of guidance to a manifest of about 160 lines, and made conformance code: 26 checks, each broken on purpose once to prove it can fail. The checks are a floor. Whether a screen is clear enough to sign from is still my call.
In market with six customers
Tax Assurance is live with six customers across Saudi Arabia, Malaysia and France, and PMs and engineers now build boards on the same system.
Every company shown in this case study is invented and every figure generated, except the prospect section, where all visuals are masked and the business is described generically.
Back to work