Tax Invoice logo

Tax Invoice

Community
Mikedev115
tax-invoice

The fields a Thai full-form tax invoice (ใบกำกับภาษีแบบเต็มรูป) must legally carry, and how its VAT is shown. Use when the brief asks for ใบกำกับภาษี, a tax invoice, or an invoice that a Thai buyer will claim input VAT against.

Overview

PublisherMikedev115
RepositoryAetox-Harness
Skill nametax-invoice
Stars
142
Forks
28
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by Mikedev115 on GitHub. Read the source before you install it.

Installation

Install the Tax Invoice AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Mikedev115/Aetox-Harness/tree/main/internal/subagent/profiles/agents/doc/skills/tax-invoice
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Mikedev115/Aetox-Harness.git /tmp/Aetox-Harness
mkdir -p .claude/skills
cp -r /tmp/Aetox-Harness/internal/subagent/profiles/agents/doc/skills/tax-invoice .claude/skills/tax-invoice
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Tax Invoice in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Tax Invoice on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Tax Invoice is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

ใบกำกับภาษีแบบเต็มรูป

A tax invoice is not a document about a sale — it is the buyer's evidence for claiming input VAT back. A missing required field does not make it look unfinished; it makes the buyer's claim fail. That is the only failure mode of this job worth designing around, and it is invisible on the page.

Required — the document is invalid without these

Eight from ประมวลรัษฎากร มาตรา 86/4, and two more that ประกาศอธิบดีกรมสรรพากร เกี่ยวกับภาษีมูลค่าเพิ่ม (ฉบับที่ 199) added for full-form invoices:

#FieldNote
1The words ใบกำกับภาษีProminent. Not a subtitle, not "Invoice / ใบกำกับภาษี" in small type
2Seller's ชื่อ, ที่อยู่, เลขประจำตัวผู้เสียภาษีอากร13 digits
3Buyer's ชื่อ, ที่อยู่
4เลขที่ (and เล่มที่, if the seller books them)Sequential, and the seller's, never invented
5ชื่อ ชนิด ประเภท ปริมาณ และมูลค่า of each line
6จำนวนภาษีมูลค่าเพิ่ม, แยกออกจากมูลค่าอย่างชัดแจ้งIts own line, never folded into a total
7วัน เดือน ปี ที่ออกใบกำกับภาษี
8Anything else the Revenue Department has prescribedWhich is what the next two are
9Buyer's เลขประจำตัวผู้เสียภาษีอากรฉบับที่ 199 — the field most often left off
10สำนักงานใหญ่ or สาขาที่ NNNNN for both partiesฉบับที่ 199 — names the establishment that sold and bought

Fields 9 and 10 are why a tax invoice that looks complete is often rejected. If the brief does not supply them, ask for them or leave them blank and say so — never fill them with something plausible.

The arithmetic

Prices are per line: ปริมาณ × ราคาต่อหน่วย. The invoice shows มูลค่าสินค้า/บริการ, then ภาษีมูลค่าเพิ่ม 7% on its own line, then จำนวนเงินรวมทั้งสิ้น. Three numbers, in that order, never two.

If the brief gives VAT-inclusive prices, the base is total × 100/107 and the VAT is total × 7/107. Say in your reply which way you read the prices — the same figures mean two different invoices depending on the answer, and the person who finds out later is the accountant.

Withholding tax does not belong on a tax invoice. It is deducted at payment and evidenced by a separate หนังสือรับรองการหักภาษี ณ ที่จ่าย. Putting it here produces a document that reconciles against nothing.

Never infer

The tax ID, the invoice number, the branch code, and any price. Each of these is a fact the seller holds; a plausible one is worse than a blank, because a blank is a question the user answers in a second and a wrong tax ID is a claim that fails months later at the buyer's end.

The skeleton, and what is not the skeleton

Required is the field list above and the three-line money block. Everything else is yours: how the header reads, whether the lines carry a description column, what the payment terms paragraph says, whether there is a note about delivery.

Write the document the brief actually asks for. A form that dictated its own sentences would hand the same invoice to a freelancer billing one line and to a supplier shipping forty, which is the reason this is a field list and not a template.

Building it

The parties go in a plain two-column table — seller left, buyer right, each cell holding the name, address, tax ID and branch on their own lines. Plain because this is a layout, not data, and a grid of boxes around a company address reads as a mistake.

The document metadata — เลขที่, วันที่ — goes in a second plain table, or in the right-hand cell above. Wherever it sits, the words ใบกำกับภาษี are a heading and unmistakable, which is requirement 1 and the one thing on the page that is not negotiable.

The goods go in a lineitems block with four column labels (รายการ · จำนวน · ราคาต่อหน่วย · จำนวนเงิน), align: ["","right","right","right"] and widths: [4,1,2,2]. Its totals are the three the law requires:

{"label": "มูลค่าสินค้า/บริการ",  "kind": "subtotal"}
{"label": "ภาษีมูลค่าเพิ่ม 7%",   "kind": "rate", "rate": 0.07}
{"label": "จำนวนเงินรวมทั้งสิ้น", "kind": "total"}

Every one of those figures is calculated for you. Do not compute any of them, and do not send an amount — there is no field for one, deliberately.

A logo and a signature image are still not in the tool. Do not approximate them, and do not line anything up by padding with spaces: a column spaced by hand comes apart in the reader's own copy of Word.


Sources checked 2026-08-08: มาตรา 86/4, ประกาศอธิบดีฯ (ฉบับที่ 199). This file covers the full-form tax invoice only — ใบกำกับภาษีอย่างย่อ (ม.86/6), ใบลดหนี้ (ม.86/10) and ใบเพิ่มหนี้ (ม.86/9) each carry a different required list and are not described here.

Frequently asked questions

What does the Tax Invoice AI skill do?

The fields a Thai full-form tax invoice (ใบกำกับภาษีแบบเต็มรูป) must legally carry, and how its VAT is shown. Use when the brief asks for ใบกำกับภาษี, a tax invoice, or an invoice that a Thai buyer will claim input VAT against.

Why use Tax Invoice on TypingMind?

Because you install it once and use it with any model. Tax Invoice is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Tax Invoice in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Mikedev115/Aetox-Harness/tree/main/internal/subagent/profiles/agents/doc/skills/tax-invoice. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Tax Invoice?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Tax Invoice?

As many as you like. As long as a model supports skills, you can use Tax Invoice with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Tax Invoice AI skill free?

It is published on GitHub by Mikedev115. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇