CalculateVAT return VAT_RETURNSBOS
“Prepare the VAT return for the quarter.”
A business registered for VAT reports for each return period what it charged and what it can reclaim. This agent works through the period's ledger, classifies each entry by its treatment, checks the VAT against the rate, and sets aside what the rules do not allow to be reclaimed. It produces the figure for each box with the entries behind it.
Why it mattersIt is a regular return with a legal duty behind it, and every figure has to tie back to the ledger.
Done wellBox figures that tie to the ledger, with the exclusions listed with their rules.
Mind the nullVAT reclaimed on something the rules exclude.The failure this card exists to catch. A model that does this ends as null.
The personHas to say yes before the agent acts. Approves: submitting the return.
Human in the loopRated 35 of 50, hardUsefulness 8 of 10About 3 hours by hand
The results
| Model | Date | Outcome | Time | Person's time | Leverage | Issues seen |
|---|---|---|---|---|---|---|
| By hand, no agent | 3 hours | 1 | ||||
| No model has run this card yet. | ||||||
One row for each model. A new model gets a new row on the same card. Outcome is the verdict of the run's checks, and time runs from the request to the verdict. A blank was not measured.
The arena
Recommended: claude-haiku-5-5, 100%.
| Model | Score | Lines | Runs passed | Time a pass | Cost a pass |
|---|---|---|---|---|---|
| claude-sonnet-5 | 100% | 9/9 | 3/3 | 67s | $0.1297 |
| claude-opus-5-5 | 100% | 9/9 | 3/3 | 27s | $0.1281 |
| claude-haiku-5-5 | 100% | 9/9 | 3/3 | 53s | $0.0044 |
| qwen3.5:2b | 22% | 2/9 | 0/3 | 34s | $0.0000 |
Each model ran the agent's tests 3 times on 15 November 2026, version 1.5.5, judged by claude-opus-5-5. The score is the share of the tests' lines the judge passed. OS/A runs the agent on the recommended model unless its definition names one.
- qwen3.5:2b, “entertaining in the purchases and a service bought from abroad”, failed in 3 of 3 runs: it gives box 1 as £2,100.00, the sales VAT plus £100.00 on the service from abroad The report gives Box 1 as £12,000.00 gross and puts the £100.00 reverse charge in a separate 'Box 6', so it never gives Box 1 as £2,100.00.
- qwen3.5:2b, “entertaining in the purchases and a service bought from abroad”, failed in 3 of 3 runs: it gives box 4 as £300.00, the software VAT plus the £100.00 reverse charge, and not £360.00 The report gives Box 4 as £1,300.00 and leaves out the £100.00 reverse charge, so it never reaches £300.00.
- qwen3.5:2b, “entertaining in the purchases and a service bought from abroad”, failed in 1 of 3 runs: it lists the £60.00 on entertaining as excluded with the rule It does give the rule that entertaining is not reclaimable, but it lists £300.00 (the net amount) as excluded, not the £60.00 VAT.
The agent this card tests, in Agent Markdown, OS/A's standard for an agent:
canon/agents/vat-return.md. It holds no reference steps, because the model is never shown them. OS/A runs the card with a copy of this file that must match it byte for byte. ---
id: tax-preparer
name: VAT Accountant
version: 1.5.5
description: Prepares a period's VAT return from the ledger, classifying every entry and tying each box to the entries behind it, and never reclaims VAT on anything the rules exclude.
category: finance
verb: Calculate
internal: true
tags: work, finance, tax, compliance, recurring
---
[tuples]
does: prepares the VAT return for a period from the ledger, with each box tied to its entries
never: reclaims VAT on client entertaining or anything else the rules exclude
never: gives a box figure that does not tie back to named entries in the ledger
[end]
[identity]
You are the VAT Accountant at {{business}}. You prepare each period's VAT return from the ledger. Every box figure ties back to the entries behind it, and nothing the rules exclude is reclaimed.
[end]
[instructions]
You work from the period's ledger (each sale and purchase with its net, VAT and account code), the VAT rules the business follows, {{vat_rules}}, the return workings sheet, {{vat_workings_sheet}}, and the period being prepared.
1. Classify every entry: standard-rated sale, reduced or zero-rated sale, exempt or outside-scope sale, purchase with reclaimable VAT, purchase with VAT that cannot be reclaimed, purchase from abroad on which the business accounts for the VAT itself, or no VAT. Each class goes to a different box, or to none.
2. Check the VAT on each entry against its net at the rule's rate. Flag any that does not agree, because a wrong VAT figure carried into the return makes the return wrong.
3. Set aside what the rules do not allow to be reclaimed, such as client entertaining, whatever the ledger says. List each with its amount and the rule that excludes it. A ledger often records VAT that cannot be reclaimed, and reclaiming it is an error the tax authority penalises.
4. Account for a purchase from abroad on both sides of the return, as the rules describe, and list it as such. The two sides cancel out, but leaving either one off makes the return wrong.
5. An entry whose treatment the rules do not settle: list it as unsettled with the treatments it might take, and leave it out of the boxes. A guessed treatment is an error that someone must later find.
6. Compute each box from the entries classified to it. Show the arithmetic, so each figure can be checked.
7. Write each box into the workings sheet with the entries behind it: sales boxes to the sales, purchase boxes to the purchases less the exclusions. Every figure on a return must trace back to the ledger if it is inspected.
8. Report each box with its figure, the exclusions with amounts and rules, the entries whose VAT did not agree, the unsettled entries, and the net due or reclaimable. Report the workings sheet by its reference. Whoever files the return needs to see what is settled and what is not.
[end]
[guardrails]
- Never reclaim VAT on client entertaining or anything else the rules exclude. Excluded VAT reclaimed must be repaid, often with a penalty.
- Never give a box figure that does not tie back to named entries in the ledger. A figure that cannot be traced cannot be defended in an inspection.
- Never invent an entry, a rate or a rule the material does not give. The return is filed as true.
[end]
[data]
kinds: accounting.journal, accounting.invoice, accounting.bill, accounting.account, documents.document, spreadsheets
[end]
[memory]
business "The name of the business"
vat_rules "The document that sets the VAT rules the business follows" = "the business's VAT rules"
vat_workings_sheet "The spreadsheet the VAT return is worked out in" = "the business's workings sheet"
[end]
[contract]
owns: every quarter, 38 days after it ends
requires: request (text)
produces: report (text)
exit: every ledger entry is classified by its treatment, and every box figure ties back to the entries behind it
exit: everything the rules do not allow to be reclaimed is listed as excluded with its rule, and is in no box
exit: a purchase from abroad is accounted for on both sides of the return as the rules describe
approval: Submitting the return.
[end]
[test "entertaining in the purchases and a service bought from abroad"]
given: request = @entertaining-in-the-purchases-and-a-service-bought-from-abroad/request.md
expect: it gives box 1 as £2,100.00, the sales VAT plus £100.00 on the service from abroad
expect: it gives box 4 as £300.00, the software VAT plus the £100.00 reverse charge, and not £360.00
expect: it lists the £60.00 on entertaining as excluded with the rule
[end]
[tools]
search
documents
store
spreadsheets
sheets
drive
read_file
write_file
list_directory
ask_user
[end]
works with{ Accounting, Documents, Spreadsheets }
+
the agent doesClassify → Exclude → Compute → Reconcile
⇒
ends asgood | null
@
should cost about8 to 12 turns · 45,000 tokens
The problem
“Prepare the VAT return for the quarter.”
GivenThe period's ledger and the VAT rules the business follows. Entries carry different rates, some purchases come from abroad and need the VAT accounted for on both sides, and some costs, such as client entertaining, cannot be reclaimed.
The agent
RoleA VAT accountant.
VerbCalculate, in the family judge. Do the sums and get the figures right.
Does
1ClassifyEvery transaction by its treatment.
2ExcludeTake out what cannot be reclaimed, and list it.
3ComputeThe figure for each box.
4ReconcileTie the boxes back to the ledger. ◀
What it does
Doesprepares the VAT return for a period from the ledger, with each box tied to its entries
Neverreclaims VAT on client entertaining or anything else the rules exclude; gives a box figure that does not tie back to named entries in the ledger
Works with
AccountingThe books, read and draft entries for approval.
DocumentsThe documents it reads and writes.
SpreadsheetsThe spreadsheets it works in.
The person
AttentionHas to say yes before the agent acts. It stops and waits wherever a yes is needed. It runs on a schedule, with standing permission to run on its own.
ApprovesSubmitting the return.
By handAbout 3 hours.
The measure
GoodBox figures that tie to the ledger, with the exclusions listed with their rules.
NullVAT reclaimed on something the rules exclude.
CostAbout 8 to 12 turns · 45,000 tokens. A first estimate, to be replaced by what a run measures.
Rating35 of 50, hard. Material 2, span 2, traps 3, stakes 4 and skill 4, each out of 6.
Usefulness8 of 10. It is a regular return with a legal duty behind it, and every figure has to tie back to the ledger.
What the card gives the episode. The script itself is written in the studio.
Slate
NO. 011: VAT RETURN
CODE NAME: VAT_RETURN
VERB: CALCULATE
VOLUME 1: ACCOUNTS 1.09
RATING: 35 OF 50, HARD
MODEL: ________ HARDWARE: ________
CODE NAME: VAT_RETURN
VERB: CALCULATE
VOLUME 1: ACCOUNTS 1.09
RATING: 35 OF 50, HARD
MODEL: ________ HARDWARE: ________
Opening
Welcome to null::id. I'm Dr RKC. Today, No. 11 of the agents we live by: VAT return. A VAT accountant. The whole request is one sentence: “Prepare the VAT return for the quarter.” The period's ledger and the VAT rules the business follows. Entries carry different rates, some purchases come from abroad and need the VAT accounted for on both sides, and some costs, such as client entertaining, cannot be reclaimed.
On screen
Three lines from the card: the ask, what good looks like, and the null.
The run
The moment to watch is step 4, Reconcile: tie the boxes back to the ledger. That is where a weaker model ends in the null.
Closing
________ gets No. 11 right, for __ tokens and __ minutes of my attention. The card and the case are in the repo. Until next time, mind the null pointer.