servers / thailand-e-tax-invoices-leceipt-create-poll-download
Thailand e-Tax Invoices (Leceipt create, poll & download) MCP server
communitystreamable_httpremotewrite capablehealthy
Thailand Leceipt e-Tax: AI agents create, poll and download e-Tax Invoices, stateless BYO.
01Tools · 3
How to read this: tool names here are observed from a live tools/list handshake. The Risk label is a heuristic inferred from the tool name (write/destructive verbs), not from executing the tool — a conservative guess, not a verified capability. We never escalate risk from a description. Found one that's wrong? Tell us — we fix on report.
| Tool | Risk | Side effects | Approval |
|---|---|---|---|
| create_invoice Create a Thai e-Tax Invoice / Tax Invoice (ใบกำกับภาษี) through Leceipt — the POST /etax/documents/invoices-taxinvoices call. You pass the buyer + line items in plain fields; this server computes the Thai VAT 7% math locally (to show you the totals and enforce the owner amount policy), assembles the Leceipt document, and — in live mode — submits it. Leceipt then SIGNS it with your account certificate (CA) and files it with the Thai Revenue Department, returning a JOB you poll with query_job. In x-leceipt-mode=test (the default) NOTHING is submitted: you get the computed totals + the exact assembled payload back (a local dry-run) so you can review before going live. Result (live): accepted=true with a job_id -> poll query_job until status "complete", then download_document. percentVat per line is 7 / 0 / -1 only. Credential header (set once in your MCP client, per-request, never stored): x-leceipt-api-key = the API key you generated in your OWN Leceipt account (Settings -> "Connection to API" -> "Generating API Key"; self-signup at my.leceipt.com/signup). Your company profile and signing certificate (CA — TDID/INET) live inside YOUR Leceipt account — this server never sees them. Mode header x-leceipt-mode: test (default = LOCAL dry-run, assembles + computes VAT but does NOT submit; Leceipt has no sandbox host) | live (submits to Leceipt -> Thai Revenue Department, real fiscal effect; requires x-leceipt-api-key). Optional owner-policy headers x-agentpay-max-amount / x-agentpay-approval-above / x-agentpay-allowed-tools. | write | true | unknown |
| query_job Poll the status of a Leceipt document job — the GET /etax/jobs/{id} call. Use the job_id returned by create_invoice (live mode). status enum: "processing" (Leceipt is still creating/signing the document) | "complete" (finished — the file is ready). When complete, the result carries file_id which you pass to download_document. Requires x-leceipt-api-key (this always hits Leceipt, so a key is needed even though the default mode is test). Credential header (set once in your MCP client, per-request, never stored): x-leceipt-api-key = the API key you generated in your OWN Leceipt account (Settings -> "Connection to API" -> "Generating API Key"; self-signup at my.leceipt.com/signup). Your company profile and signing certificate (CA — TDID/INET) live inside YOUR Leceipt account — this server never sees them. Mode header x-leceipt-mode: test (default = LOCAL dry-run, assembles + computes VAT but does NOT submit; Leceipt has no sandbox host) | live (submits to Leceipt -> Thai Revenue Department, real fiscal effect; requires x-leceipt-api-key). Optional owner-policy headers x-agentpay-max-amount / x-agentpay-approval-above / x-agentpay-allowed-tools. | read | false | unknown |
| download_document Download a finished Thai e-Tax document (PDF/XML) by its fileId — the GET /etax/files/{fileId} call. Use the file_id returned by query_job once its status is "complete". Returns { content_type, size_bytes, content_base64 } — base64-decode content_base64 to get the file bytes (the signed PDF/XML you hand to the buyer / keep for the Revenue Department). Requires x-leceipt-api-key. Credential header (set once in your MCP client, per-request, never stored): x-leceipt-api-key = the API key you generated in your OWN Leceipt account (Settings -> "Connection to API" -> "Generating API Key"; self-signup at my.leceipt.com/signup). Your company profile and signing certificate (CA — TDID/INET) live inside YOUR Leceipt account — this server never sees them. Mode header x-leceipt-mode: test (default = LOCAL dry-run, assembles + computes VAT but does NOT submit; Leceipt has no sandbox host) | live (submits to Leceipt -> Thai Revenue Department, real fiscal effect; requires x-leceipt-api-key). Optional owner-policy headers x-agentpay-max-amount / x-agentpay-approval-above / x-agentpay-allowed-tools. | read | false | unknown |
02Install & source
https://inv-th.wishpool.app/mcp
remote_url- repohttps://github.com/junter1989k-ai/thailand-invoice-mcp
- homepagehttps://inv-th.wishpool.app/mcp
- licenseMIT
- adoption0 stars · 0 forks
03Access granted
Process payments · write
The access this server can exercise, inferred from its verified tools — not a declared OAuth scope.
05Provenance & freshness
sourcesOfficial MCP Registry [p1]
last_checked2026-07-10 09:21Z
next_check2026-07-11 14:08Z
cadenceevery 29h
verifiedtools_list:passed handshake:passed metadata:passed
index_statusindex — 9 unique facts >= 5
06Badge
Add the “as seen on MCPExplorer” badge to your README.
[](https://mcpexplorer.com/servers/thailand-e-tax-invoices-leceipt-create-poll-download)
Next step
This is one server. A loadout combines the right servers, governance, and proven plays for a whole job — assembled deliberately, not tool-dumped.
Explore loadouts →