vat-worksheet
Skill1 starsChanged 35 days agoMITView on GitHub
Sums sales and purchase lines from a CSV into a VAT worksheet. Sales VAT minus purchase VAT is the amount due. Use when someone has a spreadsheet of invoices and wants the VAT totals at 15% or at the rate on each row. Rounds half-up to 0.01 per line. A worksheet for review, not a filed return and not tax advice.
In this repository13 other files it gives its agents.
- agent-ready-siteSkill
- arabic-copySkill
- arabic-localizationSkill
- arabic-seoSkill
- client-briefSkill
- design-tokens-extractorSkill
- freelance-quoteSkill
- product-sheetSkill
- rtl-uiSkill
- shared-server-deploySkill
- ui-inventorySkill
- video-readerSkill
- zatca-invoiceSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Add up the VAT already on a list of sales and purchases.
- Very specific: line 22
Use columns kind (sale or purchase) and either net or gross.
- Very specific: line 23
If vat is filled, keep it.
- Distinctive: line 35
Do not drop a line because it looks small.
- Distinctive: line 36
Do not change a VAT amount that was already on the row.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
VAT worksheet
Add up the VAT already on a list of sales and purchases. Compute 15% only when a row has a net amount and no VAT figure.
When to use
- A CSV of sales and purchases needs one VAT total.
- The user asks what VAT is due from a spreadsheet.
When not to use
- Building or validating a ZATCA e-invoice. Use zatca-invoice. That skill rounds by VAT category, which is a different rule from summing lines.
- Deciding whether a supply is taxable. Ask a Saudi tax adviser. Do not guess.
Workflow
- Use columns
kind(saleorpurchase) and eithernetorgross. Optional:vat,vat_rate(default0.15),note. - If
vatis filled, keep it. If it is empty andnetis filled, VAT is net × rate, half-up to 0.01. If onlygrossis filled, net is gross / (1 + rate), and VAT is gross minus net. - Run:
python scripts/vat_worksheet.py lines.csv --out summary.csv- Report sales net, sales VAT, purchases net, purchases VAT, and VAT due. VAT due = sales VAT − purchase VAT. Say when the number is negative.
- Say this is a worksheet. It does not file anything.
Rules
- Do not drop a line because it looks small.
- Do not change a VAT amount that was already on the row.
- Rate
0means no VAT on that row. Do not replace it with 15%.
Done check
- The line count in the summary matches the CSV.
- VAT due equals sales VAT minus purchase VAT.
- The reply says this is not a filed return.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

