# 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 ฝรั่ง

- **Type:** Skill
- **Install:** `agentstack add skill-boom-vitt-claude-thai-business-skills-thai-financial-projection`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [Boom-Vitt](https://agentstack.voostack.com/s/boom-vitt)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [Boom-Vitt](https://github.com/Boom-Vitt)
- **Source:** https://github.com/Boom-Vitt/claude-thai-business-skills/tree/main/skills/thai-financial-projection
- **Website:** https://github.com/Boom-Vitt/claude-thai-business-skills

## Install

```sh
agentstack add skill-boom-vitt-claude-thai-business-skills-thai-financial-projection
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Thai Financial Projection — SME P&L with correct tax tier

ปัญหาที่เจอบ่อยที่สุดในงานที่ปรึกษา: Claude (หรือ template ที่เถ้าแก่หามาจาก internet) ใช้ corporate tax 20% flat — ทั้งที่ SME ไทย (ทุนชำระ ≤5M, รายได้ ≤30M ต่อปี) เสีย **0% ที่กำไรสุทธิ 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 เงื่อนไข:
1. **ทุนชำระแล้ว** ≤ 5,000,000 บาท
2. **รายได้รวม** ≤ 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 โดยประมาณ

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [Boom-Vitt](https://github.com/Boom-Vitt)
- **Source:** [Boom-Vitt/claude-thai-business-skills](https://github.com/Boom-Vitt/claude-thai-business-skills)
- **License:** MIT
- **Homepage:** https://github.com/Boom-Vitt/claude-thai-business-skills

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-boom-vitt-claude-thai-business-skills-thai-financial-projection
- Seller: https://agentstack.voostack.com/s/boom-vitt
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
