thai-invoice

thai-invoice is a skill for Claude Code, Codex from ntaffzii/Skill-Agents. It costs 183 tokens per session (1,975 once invoked), scanned A, original, MIT.

A set of instructions for creating Thai tax documents, including invoices, receipts, quotations, credit and debit notes, and withholding-tax certificates. It also covers common VAT and withholding-tax calculations.

In plain words
What is it for?
Drafting Thai or bilingual tax documents, calculating 7% VAT, calculating withholding tax, and preparing related certificates.
Why use it?
It helps avoid missing required fields, using the wrong tax calculation, or mixing Thai and English wording incorrectly in these documents.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Drafting Thai or bilingual tax documents, calculating 7% VAT, calculating withholding tax, and preparing related certificates.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ntaffzii/skill-agents/thai-invoice
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ntaffzii/Skill-Agents --skill thai-invoice
Clone the repo
git clone --depth 1 https://github.com/ntaffzii/Skill-Agents

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for thai-invoice

README.md
[![agentmods](https://agentmods.dev/badge/skills/ntaffzii/skill-agents/thai-invoice/github.svg)](https://agentmods.dev/skills/ntaffzii/skill-agents/thai-invoice)
Your own site
<a href="https://agentmods.dev/skills/ntaffzii/skill-agents/thai-invoice"><img src="https://agentmods.dev/badge/skills/ntaffzii/skill-agents/thai-invoice/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for thai-invoice

Your own site · 80×15
<a href="https://agentmods.dev/skills/ntaffzii/skill-agents/thai-invoice"><img src="https://agentmods.dev/badge/skills/ntaffzii/skill-agents/thai-invoice.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 183 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,975 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00183 $0.01975
Opus 5 $0.00092 $0.00988
Sonnet 5 $0.00037 $0.00395
Haiku 4.5 $0.00018 $0.00198

Measured 9d ago against content hash f7e1bf87bedf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

thai-invoice scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (calc.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/thai/thai-invoice/SKILL.md · 107 lines

How it starts

The opening of the file, as written. The whole thing — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Thai Tax Documents (ใบกำกับภาษี / ใบเสร็จ / ใบเสนอราคา / WHT)

Overview

Thai tax invoices, quotations, and WHT certificates follow specific structural rules (Revenue Code §86/4) and specific VAT/WHT math. A model without this skill tends to skip the mandatory VAT line, guess a WHT rate, or produce Thai-English hybrid documents that omit the required Thai phrase. This skill supplies the required fields, the current common VAT/WHT rates, and a Decimal-based calculator so totals don't drift.

Not legal or tax advice. This skill drafts documents and does arithmetic; it does not replace a licensed accountant or the Revenue Department for a real filing.

When to use

  • ออกใบกำกับภาษีให้ลูกค้านิติบุคคลหรือบุคคลธรรมดา
  • คำนวณ VAT 7% (แยกจากราคา หรือถอดจากราคารวม)
  • คำนวณภาษีหัก ณ ที่จ่าย และออกหนังสือรับรอง (ภ.ง.ด.3/53)
  • เขียนใบเสนอราคา / ใบลดหนี้ / ใบเพิ่มหนี้
  • Drafting a bilingual Thai-English invoice for a foreign buyer

When NOT to use

  • The task needs the monthly return (ภ.พ.30, ภ.ง.ด.1/3/53) aggregated across many transactions — this skill produces the source document, not the filing; point the user to their bookkeeping system
  • The task is generic (non-Thai) invoicing with no VAT/WHT/Revenue Code requirement — plain markdown-report is enough

Required fields — full tax invoice (Revenue Code §86/4)

A full ใบกำกับภาษี must contain all seven elements (quote the Thai labels exactly):

  1. คำว่า "ใบกำกับภาษี" ในที่ที่เห็นได้ชัดเจน
  2. ชื่อ ที่อยู่ และเลขประจำตัวผู้เสียภาษีอากรของผู้ออก
  3. ชื่อ ที่อยู่ ของผู้ซื้อ (+ เลขประจำตัวผู้เสียภาษีถ้ามี)
  4. หมายเลขลำดับและเล่ม (ถ้ามี)
  5. ชื่อ ชนิด ประเภท ปริมาณ และมูลค่าของสินค้า/บริการ
  6. จำนวนภาษีมูลค่าเพิ่ม แยกออกจากมูลค่าสินค้า/บริการให้ชัดเจน
  7. วัน เดือน ปี ที่ออกใบกำกับภาษี — use thai-date-format for the formal date string

A short-form (อย่างย่อ) invoice may omit buyer address/TIN when issued at point of sale by an approved retailer.

VAT

  • Reduced rate currently applied: 7% (statutory rate under the Revenue Code is 10%; the 7% rate is set by a renewable Royal Decree — do not treat 7% as permanent, see Known limitations)
  • VAT-exempt items (Sec 81): basic unprocessed agricultural products, education, healthcare, books, public transport — do not add VAT and do not issue ใบกำกับภาษี for these; use ใบส่งของ/บิลเงินสด instead
  • Only a VAT-registered seller (ผู้ประกอบการจดทะเบียน VAT) may issue ใบกำกับภาษี

Read the full file on GitHub · 107 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 107 lines · 183 tokens per session scan A f7e1bf87bedf

Subscribe to this mod's changes

thai-invoice is a skill published in the GitHub repository ntaffzii/Skill-Agents (4 stars, last pushed yesterday), licensed MIT. It adds 183 tokens to every session and 1,975 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.