FREEAI
All industries

Tax

Tax & accounting

Bank statements and receipts read by vision models behind a three-layer rule engine, with pluggable providers so no single model vendor can hold the platform hostage.

TAXDOCUMENT AIRULE ENGINE
Tax & accounting

The work as it is done today

A quarter of GST is decided by what sits in the bank statements and the receipts, and by whether the classification can be defended afterwards. The second half is the part people underestimate: getting the number is work, but being able to show why each line was treated the way it was is what makes the number usable.

Three layers, not one model

  • Extraction. Vision models read the statements and receipts, including the ones that arrive as a photograph of a printout.
  • Rules. A deterministic layer applies the classification logic and the checks that arithmetic should be doing — totals, GST components, date ranges, duplicate detection.
  • Evidence. Every decision keeps what it was based on, so a classification can be explained later without reconstructing it from memory.

The reason the rule layer is not inside the model is accountability. A rule can be read, argued with, and changed by the person who owns the tax position. A prompt cannot be reviewed the same way, and in this domain the ability to defend a treatment is part of the product.

Pluggable providers, deliberately

The extraction layer is built against an interface, not a vendor. Model providers can be swapped by configuration, and more than one can run for comparison on the same documents. This is not vendor-neutral idealism: model pricing and model availability both move, and a tax platform that has to be rewritten because a provider changed a policy is not a platform.

What it runs on

FastAPI and PostgreSQL, with migrations and deployment as part of the delivery rather than an afterthought. The boring parts are the ones that determine whether the system is still maintainable in year three.

Next industry

Transport & fleet

Is this your industry?

If the process above sounds like yours, describe what happens today. We will tell you which part a model can carry.

Send a request