Thai financial projection
Skill Boom-Vitt/claude-thai-business-skills/skills/thai-financial-projection
คำนวน 3-yr P&L + cashflow สำหรับ SME ไทย ใช้ corporate tax tier ที่ถูกต้อง (0/15/20%), VAT cycle, SSO 5%+5%, ภงด.50/51 timing — ไม่ใช้ tax 20% flat แบบ template ฝรั่งFrom its SKILL.md
npx -y skills add Boom-Vitt/claude-thai-business-skills --skill thai-financial-projectionAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 15 stars15 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
7.2 KB, ~2.3k tokens by cl100k_base, as published. Nobody here has run it
Thai Financial Projection — SME P&L with correct tax tier
ปัญหาที่เจอบ่อยที่สุดในงานที่ปรึกษา: Claude (หรือ template ที่เถ้าแก่หามาจาก internet) ใช้ corporate tax 20% flat — ทั้งที่ SME ไทย (ทุนชำระ ≤5M, รายได้ ≤30M ต่อปี) เสีย 0% ที่กำไรสุทธิ <300k, 15% ที่ 300k-3M, แล้วค่อย 20%. ความแตกต่างปีละ 200-500k.
tax.py ใน skill นี้ทำ tier-correct calculation + รวม VAT cycle + SSO + WHT timing.
เมื่อ Claude เห็นคำขอแบบนี้
ทำ 3-yr P&L ร้านขายของออนไลน์ ทุนชำระ 1M รายได้ปีแรก 2.4M
เครื่องสำอางขายปีหนึ่ง 18M EBITDA 4.2M net profit หลังภาษีเท่าไหร่
ขั้นตอน (Claude ทำตามนี้)
-
เก็บ input ขั้นพื้นฐาน
- ประเภทกิจการ (บริษัทจำกัด / หจก. / sole prop)
- ทุนชำระแล้ว
- รายได้รวมต่อปี (ถ้าไม่ใช่ SME tier ใช้ flat 20%)
- ค่าใช้จ่ายรวม (COGS + opex + interest)
- จำนวนพนักงาน (สำหรับ SSO 5% + 5%)
- ขึ้น VAT แล้วหรือยัง (trigger ที่ 1.8M รายได้/ปี)
-
เรียก
tax.pyfrom tax import sme_corporate_tax, sso_employer_contribution, vat_breakeven -
คืน P&L 3 ปีในตาราง markdown พร้อม row "Income tax" ที่คำนวนถูกตาม tier
-
ข้อสังเกต
- ปีไหน gross revenue >30M ออกจาก SME tier → flag
- ปีไหน paid-up capital >5M ออกจาก SME tier → flag
- ถ้ายังไม่ได้ขึ้น VAT แต่ revenue จะแตะ 1.8M ปีนั้น → flag เดือนที่ trigger
- SSO cap ที่ฐานเงินเดือน 15,000฿/เดือน — ลูกจ้างที่ได้สูงกว่าจ่ายสูงสุด 750฿ ทั้งสองฝั่ง
ตัวอย่าง
Input
บริษัทจำกัด ทุนชำระ 2M รายได้ปีที่ 1 = 8M, ปีที่ 2 = 18M, ปีที่ 3 = 28M
ค่าใช้จ่ายรวม (ก่อนภาษี) = 60% ของรายได้
มีพนักงาน 6 คน เงินเดือนเฉลี่ย 22,000
ขึ้น VAT แล้ว
Output (sample)
| รายการ | ปี 1 (8M) | ปี 2 (18M) | ปี 3 (28M) |
|-----------------------|-----------:|-----------:|-----------:|
| รายได้ | 8,000,000 | 18,000,000 | 28,000,000 |
| ค่าใช้จ่าย | 4,800,000 | 10,800,000 | 16,800,000 |
| SSO นายจ้าง 5% | 54,000 | 54,000 | 54,000 |
| EBITDA | 3,146,000 | 7,146,000 | 11,146,000 |
| Net before tax | 3,146,000 | 7,146,000 | 11,146,000 |
| Income tax (SME tier) | 374,200 | 1,374,200 | ---- |
| Income tax (flat 20%) | ---- | ---- | 2,229,200 |
| Net after tax | 2,771,800 | 5,771,800 | 8,916,800 |
ข้อสังเกต:
- ปีที่ 3 รายได้ 28M ใกล้แตะเพดาน SME 30M — ถ้าปีที่ 4 เกินจะออกจาก SME tier ต้องวางแผน
- SSO นายจ้าง ฐาน 15,000 × 5% × 12 เดือน × 6 คน = 54,000 (พนักงานเงินเดือนเฉลี่ย 22k > 15k cap → ใช้ cap)
- ภงด.51 ครึ่งปีต้องประมาณการ — ถ้าประมาณต่ำกว่า 25% ของจริง โดน penalty 20%
SME tier rules ที่ใช้ใน tax.py
อ้างอิงประมวลรัษฎากร 2026 (พระราชกฤษฎีกาออกตามความในประมวลรัษฎากร ฉบับที่ว่าด้วย SME):
ต้องเข้าทั้ง 2 เงื่อนไข:
- ทุนชำระแล้ว ≤ 5,000,000 บาท
- รายได้รวม ≤ 30,000,000 บาท/ปี
ถ้าใช่ → ใช้ tier:
- กำไรสุทธิ ≤ 300,000 บาท → 0%
- กำไรสุทธิ 300,001 - 3,000,000 บาท → 15%
- กำไรสุทธิ > 3,000,000 บาท (ส่วนที่เกิน) → 20%
ถ้าไม่ใช่ SME → 20% flat.
Common mistakes ที่ Claude ทำ (ก่อนมี skill นี้)
- ใช้ flat 20% หมด — ผิด 374k - 1.4M ในปีแรกๆ ของ SME
- ลืม VAT trigger 1.8M (ขึ้นแล้วต้องยื่น ภพ.30 ทุกเดือน)
- ใส่ SSO 5% เต็มเงินเดือน — ลืม cap ที่ฐาน 15,000
- ลืมว่า ภงด.51 (กลางปี) ต้องประมาณรายได้ทั้งปี ถ้าประมาณต่ำเกิน 25% โดนปรับ
แหล่งอ้างอิง
- กรมสรรพากร — อัตราภาษีนิติบุคคล:
rd.go.th/52262.html - กรมสรรพากร — VAT:
rd.go.th/268.html - สำนักงานประกันสังคม — อัตราเงินสมทบ:
sso.go.th
ข้อจำกัด
- ไม่รวม BOI tax holiday — ถ้า client ได้ BOI ต้อง override tier
- ไม่รวม losses carry forward 5 ปี — ถ้ามี loss ต้องเพิ่ม manual
- ไม่รวม withholding tax timing (PIT/CIT receipts) — สมมุติ cash-basis โดยประมาณ
What ships with it: 1 file
5.5 KB alongside SKILL.md, 1 of them executable
- tax.pyruns5.5 KB
Gives 0 of the 12 instructions most finance skills give in ~2.3k tokens
Counted across 469 of the 469 authors here whose files we hold, read 2026-08-07
- Extract date vendor amount and descriptionin 15 of 469, across 3 files
- Scan folder for invoice filesin 14 of 469, across 2 files
- Rename files to standard formatin 14 of 469, across 2 files
- Show organization plan before movingin 14 of 469, across 2 files
- Generate summary CSVin 14 of 469, across 2 files
- Organize files by categoryin 13 of 469, across 1 file
- Preserve original filesin 13 of 469, across 1 file
- Flag files missing critical infoin 13 of 469, across 1 file
- Produce the requested output filein 9 of 469, across 4 files
- Build best, base, and worst case scenariosin 9 of 469, across 5 files
- Implement backoff if rate limit errors occurin 8 of 469, across 3 files
- Determine the weighted average cost of capitalin 8 of 469, across 4 files
Said here and by no other author read
- Collect business type, capital, revenue, expenses, and employee count
- Calculate corporate tax using SME tier rates
- Apply SSO employer contribution capped at 15,000 baht salary
- Return a three-year P&L in a markdown table
- Flag years where revenue exceeds 30 million baht
- Flag VAT registration trigger if revenue reaches 1.8 million baht
Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.