/thai-invoice:thai-invoicefrom thai-invoice
Drafts Thai tax invoices, receipts, quotations, credit/debit notes, and withholding-tax certificates (ภ.ง.ด.3/53) compliant with Revenue Code §86/4. Handles VAT 7% and WHT rate calculations per category.
Ships in thai-invoice. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This skill drafts Thai tax invoices compliant with Revenue Code §86/4, plus quotations, receipts, credit/debit notes, and withholding-tax certificates (ภ.ง.ด.3/53). It applies the correct VAT 7% and WHT rates per category and matches Revenue Department wording. Use it whenever you need bookkeeping-grade Thai accounting documents — never improvise the legal phrasing or VAT/WHT math; pull from this skill.
A full ใบกำกับภาษี MUST contain all seven elements. Quote the Thai exactly:
Note: a short-form (อย่างย่อ) invoice can omit buyer TIN and address when issued by a retailer at the point of sale — but the seller must be approved by Revenue.
| Service | Form | Rate (resident) |
|---|---|---|
| บริการทั่วไป (services) | ภ.ง.ด.3 / 53 | 3% |
| ค่าเช่าอสังหาริมทรัพย์ | ภ.ง.ด.3 / 53 | 5% |
| ค่าโฆษณา | ภ.ง.ด.3 / 53 | 2% |
| ค่าขนส่ง | ภ.ง.ด.3 / 53 | 1% |
| ค่าวิชาชีพอิสระ (lawyer, accountant, etc.) | ภ.ง.ด.3 | 3% |
| ดอกเบี้ย/เงินปันผล | ภ.ง.ด.2 | 10%/15% |
ภ.ง.ด.3 = WHT cert for individuals receiving payment. ภ.ง.ด.53 = WHT cert for juristic entities (บริษัท/ห้างหุ้นส่วน). WHT base = pre-VAT amount.
INV-2026-0001)Revenue Department's electronic tax-document program. As of 2026 still optional — no mandatory rollout has been announced — but adopters got VAT/WHT deductibility incentives that ran through 31 Dec 2025. Two tracks; pick by annual revenue:
Track 1 — e-Tax Invoice by Email (small business, revenue ≤ 30M baht/year)
[email protected])Track 2 — e-Tax Invoice & e-Receipt (full system, any size; mandatory path for large firms)
Data elements = same seven items as Sec 86/4 (above) plus a valid digital signature (Track 2) or ETDA time stamp (Track 1) and the seller's e-Tax registration ID. No paper original is required once issued electronically.
Archival: keep XML/PDF + signature/timestamp for 5 years (Revenue Code §87/3); 7 years if under audit. Buyer may claim input VAT from the electronic copy — no paper needed.
What changes vs paper invoice: signing step, XML schema validation, RD upload (Track 2 only), and electronic archival. Numbering rules, content rules, and credit/debit-note rules are unchanged.
These are the monthly แบบแสดงรายการ that aggregate the invoices and WHT certificates issued during the period. From 1 Jan 2025 the Revenue Department requires WHT returns to be filed via e-Filing.
| Form | Purpose | Who/what | Filed by | Paper due | e-File due |
|---|---|---|---|---|---|
| ภ.พ.30 | Monthly VAT return | VAT-registered seller; output VAT − input VAT | VAT registrant | 15th of next month | 23rd of next month |
| ภ.ง.ด.1 | WHT on salary (Revenue Code §50(1)) | Employer → employees | Employer | 7th of next month | 15th of next month |
| ภ.ง.ด.1ก | Annual salary-WHT reconciliation | Same as ภ.ง.ด.1, full-year roll-up | Employer | end of February | end of February |
| ภ.ง.ด.3 | WHT on payments to individuals (§3 ter, §50(2)) | Payer → บุคคลธรรมดา | Payer | 7th of next month | 15th of next month |
| ภ.ง.ด.53 | WHT on payments to juristic persons | Payer → บริษัท/ห้างหุ้นส่วน | Payer | 7th of next month | 15th of next month |
| ภ.ง.ด.2 | WHT on interest/dividends | Payer of interest/dividends | Payer | 7th of next month | 15th of next month |
Practical link: every ใบกำกับภาษี you issue feeds the output-VAT side of ภ.พ.30; every ใบกำกับภาษี you receive feeds input VAT. Every WHT certificate you issue (ภ.ง.ด.3 / 53 booklet) feeds the corresponding monthly return; ภ.ง.ด.1 aggregates the WHT line on payroll slips. The skill produces the source documents — the periodic returns are a separate accounting step.
See:
templates/tax-invoice-full.md — full ใบกำกับภาษี (Tax Invoice)templates/quotation.md — ใบเสนอราคา (Quotation)templates/wht-certificate.md — หนังสือรับรองการหักภาษี ณ ที่จ่าย (ภ.ง.ด.3/53)calc.py — Decimal-based helpers:
calculate_vat(subtotal, rate=Decimal("0.07")) → {subtotal, vat, total}calculate_vat_inclusive(total, rate=Decimal("0.07")) → backs out VAT from a VAT-inclusive totalcalculate_wht(amount, rate) → {amount, wht, net_payable}WHT_RATES constant for the common categoriespython calc.py for a self-testKnown limit: calc.py operates on a single transaction. It does not model return-level aggregation — e.g. summing many invoices' output VAT minus input VAT into a ภ.พ.30 total, or rolling WHT certificates into ภ.ง.ด.3/53 monthly totals. That belongs in the user's bookkeeping system, not this skill.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
thai-tax, vat, withholding-tax, invoice-generation, accounting-documents
npx claudepluginhub boom-vitt/claude-thai-skills --plugin thai-invoice2 plugins in one repository ship this exact skill · first indexed Oct 22, 2026
Other plugins' skills for the same job