A loja já está disponível

Construímos máquinas Workstation AI para websites, agentes de IA e treino de LLM – configure e compre online.

Obter preços para revendedores
Produtos de IA
Laboratórios de IAAgentes OpenAIAgentes ClaudeBot GrokCRM nativo de IA Workstation AIMarketingTodos os produtos
Soluções de IA
IA aplicadaAgentes de IAIA generativaAutomação com IAFormação em IAPacotes de IA para PMELaboratório de IA empresarialWorkstations de IAHardware e software NVIDIAComputação acelerada NVIDIAIA privadaCloud privada de GPUClusters de GPUIA na edgeIA por setor
Serviços de IA
Modernização de plataformasEngenharia digitalFundações de dados e IAOperações autónomasConsultoria de IAAutomação DevOpsCibersegurançaDesenvolvimento de softwareCriação de agentesConfiguração de MLOpsLeasing de GPUCloud privada de GPU
Sobre nós
EmpresaA nossa históriaParceirosHistórias de clientes
Centros de dados de IA
Centros de dados de IACloud privada de GPUClusters de GPULeasing de GPU
Perspetivas sobre IASérie JevLaboratório de benchmarksSeleção de modelos
Notas técnicas
Documentação
Sistema operativo LinuxUbuntuRed Hat Enterprise LinuxSUSE LinuxAlpine LinuxDebian, Rocky e AlmaLinux
Plataformas de IA na cloudAWS e Amazon BedrockGoogle Cloud e Vertex AIMicrosoft Azure e AI FoundryClouds de GPU e marketplaces
Centros de dados de IA privadosPara escritórios de advogadosPara empresas de contabilidadePlataformas on-premisesCloud totalmente protegida
FerramentasRing PromoterJobshout
Notícias
Blogue
Contacte-nosIniciar sessão

Workstations de IA, software de IA multiagente, infraestrutura de GPU e soluções de agentes inteligentes para empresas modernas.

Contacte-nos

Soluções de IA

IA aplicadaAgentes de IAIA generativaAutomação com IAFormação em IAPacotes de IA para PMELaboratório de IA empresarialIA por setor

Produtos

Todos os produtosCRM e ERP nativos de IA Workstation AIMarketingAgentes OpenAIRing PromoterJobshout

Empresa

Sobre nósEmpresaCentros de dados de IAPorquê a WorkstationParceirosHistórias de clientesPreçosContactoTenthMatrix

Recursos

Perspetivas sobre IANotas técnicasDocumentaçãoSistema operativo LinuxPlataformas de IA na cloudCentros de dados de IA privadosBloguePesquisarMapa do site
Escritório na Bélgica
Workstation SRL, Rue Vanderkindere 34, 1180 Uccle, BrusselsBE 0751.518.683Seg – Sex: 9h00 – 18h00 CET
+32 492 45 67 46
Sede no Reino Unido
77-79 Marlowes, Hemel Hempstead HP1 1LFIndicações – saia na junção 20 da M25 (Outer London)N.º de registo da empresa: 11641870Seg – Sex: 9h00 – 18h00 GMT
+44 7515 356 146
Escritório na Índia
#159 Sector 9, Pocket 1, DDA Flats, 110077 Dwarka, New Delhi
+91 98881 98841
Escritório em Taiwan
3F, No. 2-4, Aisi Rd., Ren'ai Dist., Keelung City 200, Taiwan基隆市仁愛區愛四路2之4號3樓Seg – Sex: 9h00 – 18h00, hora de Taiwan (GMT+8)
+886 926 892 701+32 492 45 67 46
Escritório na Estónia
Aleksander Puškini tn 30-25, 20306 Narva, EstoniaSeg - Sex: 9h00 - 18h00, hora da Estónia (EET)
+32 492 45 67 46

© 2000-2026 Balinder Singh Walia. Todos os direitos reservados.

O sítio web Workstation e todo o seu conteúdo, bem como as APIs e plugins associados, são protegidos por direitos de autor de Balinder Singh Walia. balinder.walia@gmail.com

PrivacidadeEliminação de dadosCookiesTermos de serviçoMapa do site

NVIDIA, o logótipo NVIDIA, RTX, RTX PRO, Blackwell, CUDA, NVLink, MGX, Omniverse, Spectrum-X, Quantum, BlueField, DGX e HGX são marcas comerciais e/ou marcas registadas da NVIDIA Corporation nos EUA e noutros países. AMD, o logótipo AMD Arrow, EPYC, Instinct, Ryzen e Threadripper são marcas comerciais da Advanced Micro Devices, Inc. Dell e PowerEdge são marcas comerciais da Dell Inc. ou das suas subsidiárias. Intel e Xeon são marcas comerciais da Intel Corporation ou das suas subsidiárias. AMAX, AceleMax e LiquidMax são marcas comerciais da AMAX Engineering Corporation. Todos os outros nomes de produtos, logótipos e marcas são propriedade dos respetivos proprietários. Utilizamo-los apenas para identificar os produtos que descrevemos, fornecemos ou suportamos; a sua utilização não significa que os respetivos proprietários nos recomendem.

Loading blog...

Início / Blogues
FilemytaxSelf AssessmentHmrcMtdAIAccountingAutomationFinOpsTax ReturnCognoai

Can an AI System Process and File a Self Assessment Tax Return to HMRC Automatically?

Demonstrating FileMyTax — an AI-powered pipeline from bank PDFs to HMRC MTD filing, built by Workstation for CognoAI

Balinder Walia20 de maio de 20265 min read
FileMyTax AI to HMRC Self Assessment - cover diagram

A short, skim-readable companion. For the full deep dive with architecture, HMRC OAuth, curl examples, and limitations, read the long article. Not tax advice.

Can AI file your Self Assessment to HMRC?

Every January the same question appears: can an AI read my bank statements and submit my UK tax return? The practical answer from a system we built for CognoAI — published here as FileMyTax — is yes for preparation, not for unattended filing. AI can extract transactions from PDFs, classify them into HMRC Self Assessment categories, reconcile balances, and compute 2025-26 tax deterministically; a human still reviews, an accountant still signs off, and the taxpayer still completes HMRC OAuth before anything reaches production MTD.

Workstation developed the underlying platform; CognoAI owns the intellectual property. This post explains what that looks like in six API calls — without using product names owned elsewhere.

FileMyTax AI to HMRC Self Assessment cover

Watch the demo

Bank PDF through classification and calculation to HMRC MTD sandbox — with review gates in the UI.

The six-step pipeline

FileMyTax workflow: client, ingest, AI, tax engine, HMRC, audit

  1. Upload — POST /fastapi/api/upload sends the PDF to MinIO via nginx.
  2. Extract — pdfplumber for native tables; Claude Vision for scans.
  3. Classify — LLM maps lines to SA expense categories with confidence scores.
  4. Reconcile — balance checks and income/expense roll-ups.
  5. Calculate — deterministic 2025-26 income tax + Class 4 NI (no LLM in maths).
  6. File — POST /fastapi/api/file to HMRC MTD after OAuth and human approval.

JWT auth comes from opsapi; NINO is encrypted at rest; Gatus on port 8085 watches every service.

Who built it

CognoAI owns the system IP and product direction. Workstation built the Dockerised platform — nginx path routing, FastAPI AI services, opsapi auth, PostgreSQL, MinIO, Gatus monitoring, and the Next.js review UI. We publish under the name FileMyTax to describe the demo; we do not use other CognoAI product names in this write-up.

Why AI helps — and where it stops

AI wins on speed and consistency across hundreds of bank lines, anomaly flagging, and mapping messy descriptions to HMRC categories. It does not replace judgement: transfers vs rent, capital vs revenue, and personal vs business still need eyes. The tax engine is pure Python with DECIMAL fields — the same separation we insist on for regulated finance: LLM for language, code for law.

In testing we used fictional HSBC-style landlord statement fixtures (synthetic data only) with high turnover scenarios to stress extraction — including lessons where pdfplumber picked the wrong column (balance vs paid-in). Those failures are why reconciliation and review exist.

Architecture at a glance

One nginx on localhost fronts everything: Next.js for humans, FastAPI for AI and filing, opsapi for login and encrypted NINO. PostgreSQL stores statements and classified transactions; MinIO holds PDFs. The tax calculator applies UK 2025/26 bands in Python — personal allowance taper, income tax, Class 4 NI — with DECIMAL(18,2) money fields. That split is intentional: regulators and accountants need reproducible maths, not probabilistic tokens.

Benefits for finance teams

  • Speed — hundreds of lines classified in minutes, not days in Excel.
  • Consistency — same HMRC category rules on every row.
  • Anomalies — reconciliation surfaces balance and mapping errors early.
  • Audit trail — processing status, confidence, overrides with reasons.
  • Privacy — local stack option without passing statements through a SaaS tenant.
  • Accountant time — reviewers see a draft return, not raw PDFs.

HMRC MTD in one paragraph

Save NINO via opsapi, initiate OAuth, fetch businesses and obligations, then file in sandbox until your accountant is happy. Fraud prevention headers and token refresh are handled server-side. Flip HMRC_ENVIRONMENT=production only when you mean it.

Disclaimers

  • Not tax advice. Get a UK accountant to review before live submission.
  • FileMyTax is the demonstration name in this article; other CognoAI product names are separate — do not conflate them.
  • Fictional bank data where test fixtures are mentioned.
  • No unattended filing — human gate before POST /api/file.

What you will see in the video

The YouTube walkthrough shows the Next.js UI: upload a statement, watch extraction and classification progress, inspect confidence scores, run calculate for tax year 2025-26, connect HMRC in sandbox, and pause at the file step until a human confirms. That pause is the product decision — not a missing feature. Fully unattended submission would be faster and legally fragile.

Landlords with multiple rental accounts and sole traders with mixed personal and business lines are the primary audience. Finance ops teams supporting them get the same pipeline: fewer CSV exports, fewer all-nighters before 31 January, more time explaining numbers instead of finding them.

Try it safely

Clone the stack, run ./start.sh, paste the curl examples from the long article, and stay in HMRC sandbox until your accountant has walked through a full return. Set HMRC_ENVIRONMENT=sandbox, create a test user if needed, and treat POST /api/file like a production missile — because in live mode, it is.

If nginx port 80 is busy, use NGINX_HOST_PORT=8080. If JWT suddenly fails, verify opsapi and FastAPI share the same secret. If reconciliation shouts, fix PDF column mapping before overriding classifications — that order saves hours.

OAuth is not optional

HMRC will not accept a filing from a background cron job with only a National Insurance number. The taxpayer must authorise your application through Government Gateway, which returns tokens the backend stores and refreshes. FileMyTax surfaces that flow in settings: save an encrypted NINO, open the HMRC authorisation URL, return via callback, fetch businesses and obligations, then file. Fraud prevention headers ride along on every API call — device ID, user agent, and the rest of the Gov-* set the platform forwards from the client.

That is why "automatic" in marketing slides really means automatic preparation with a deliberate human and OAuth gate at the end. The engineering is still valuable: the six curl steps are repeatable, testable in sandbox, and observable in Gatus.

Read the long version

The long article covers attribution, architecture SVG, full curl examples, the benefits table, OAuth steps, limitations, Gatus monitoring, 2025-26 tax parameters, and roadmap. Watch the YouTube demo and visit cognoai.uk for product context; Workstation for engineering.

Execute-o na sua própria máquina

Máquinas que executam IA para declarações de impostos localmente

Os extratos bancários são dos dados mais sensíveis que tem. Um LLM local consegue extrair cada transação e classificá-la nas categorias de rendimentos e despesas do Self Assessment do HMRC sem que os extratos saiam do seu escritório. Cada máquina abaixo executa os passos de extrair, classificar e reconciliar deste artigo. O botão coloca-a no seu cesto com a adesão Trade adicionada e abre o checkout — pode remover o Trade aí antes de pagar.

  • NVIDIA

    NVIDIA DGX Spark

    GB10 Grace Blackwell com 128 GB de memória unificada. Executa classificadores da classe 70B e um modelo de visão para extratos digitalizados lado a lado — dimensionado para um gabinete que submete declarações de muitos clientes.

    Adicionar ao cesto com Trade
  • Apple

    Apple Mac Studio — M5 Max, 36 GB

    Um computador de secretária silencioso para um trabalhador independente ou um pequeno gabinete. Modelos 8B–14B no Ollama ou MLX classificam as transações de um ano fiscal completo e assinalam para revisão tudo aquilo de que não têm a certeza.

    Adicionar ao cesto com Trade
  • AMD Ryzen

    Workstation Creator AI — AMD Ryzen 9 9950X + RTX 5090

    Uma torre AMD Ryzen de 16 núcleos com uma GPU de 32 GB, fornecida com Ubuntu e a pilha CUDA instalados. OCR e classificação em lote rápidos quando processa extratos em grande volume.

    Adicionar ao cesto com Trade

Adesão Trade: a sua garantia alargada, com um engenheiro de IA em linha

Uma garantia de hardware cobre as peças. O Trade trata de pôr a sua IA fiscal a funcionar e de a manter a funcionar: tempo ilimitado de engenheiro por telefone, chat e email para configuração, drivers, Ollama e vLLM, e para ajustar o classificador às suas categorias do HMRC. Também tem devoluções em 60 dias em vez de 30, desconto em todas as encomendas elegíveis, um bloqueio de preço de 90 dias nos orçamentos e acesso antecipado de 24 horas a novo stock. Sem contrato — cancele em dois cliques.

Ver a adesão Trade →

Adesão Trade

  • Um engenheiro de IA em linha, todo o ano
  • Devoluções em 60 dias em vez de 30
  • Desconto em todas as encomendas elegíveis
  • Bloqueio de preço de 90 dias nos orçamentos
Aderir ao Trade