thai-tax-refund
check status for thai tax refund
https://www.rd.go.th/publish/27942.0.html
Installation
available on pip https://pypi.org/project/thaitaxrefund/
pip install thaitaxrefund
Usage
Command line usage
thaitaxrefund THAI_ID THAI_FIRSTNAME THAI_LASTNAME [--year=<THAI_YEAR> --json]
command line example
thaitaxrefund 1111111111111 บิ๊ก ตู่
import thaitaxrefund
thai_id = '1111111111111'
thai_name = 'บิ๊ก'
thai_surname = 'ตู่'
result = thaitaxrefund.check(thai_id, thai_name, thai_surname, thai_year=2562)
Example result
{
"process_text": "พิจารณาคืนภาษี",
"code": "MSG107",
"countByName": -1,
"countByNameNid": 1,
"countByNid": -1,
"criteria": {
"dln": "",
"fName": "บิ๊ก",
"formCode": "",
"lName": "ตู่",
"nid": "1111111111111",
"taxYear": "2562",
"tin": "",
"txpTtlText": ""
},
"formData": {
"dln": "ภงด91000000000000000000000",
"fName": "บิ๊ก",
"formCode": "ภงด91",
"lName": "ตู่",
"nid": "1111111111111",
"taxYear": "2562",
"tin": "1111111111",
"txpTtlText": "นาย"
},
"formDetailList": [
{
"effDate": "12/03/2563",
"ofcName": "กองบริหารการเสียภาษีทางอิเล็กทรอนิกส์",
"pndType": "ภ.ง.ด.91",
"seq": 1
}
],
"formSendDocDetail": null,
"ipAddress": "xxx.xxx.xxx.xxx",
"message": "อยู่ระหว่างดำเนินการ หากมีข้อสงสัย โปรดติดต่อ<br>สำนักงานสรรพากรพื้นที่กรุงเทพมหานคร 26<br>หมายเลขโทรศัพท์ 0-2454-8475,0-2454-8618-20 ต่อ 125-127,0-2454-8623-24 ต่อ 125-127",
"messageEN": "In process. Please contact Revenue Branch Office<br>Bangkok Area Revenue Office 26<br>Tel. 0-2454-8475,0-2454-8618-20 ต่อ 125-127,0-2454-8623-24 ต่อ 125-127",
"processPicName": "process_3",
"reqDoc": false,
"reqNewK39": false,
"searchPromptPay": false,
"uploadConsiderDoc": true,
"uploadDoc": false,
"urlReqNewK39": "",
"urlSearchPromptPay": "",
"urlUploadDocument": "",
}
Metadata
Release files for thaitaxrefund 0.4.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| thaitaxrefund-0.4.5.tar.gz | 3.5 kB | Without provenance | Details for thaitaxrefund-0.4.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| thaitaxrefund-0.4.5-py3-none-any.whl | Python 3 | none | any | Details for thaitaxrefund-0.4.5-py3-none-any.whl |
Total release size: 8.3 kB
Release files / thaitaxrefund-0.4.5.tar.gz
| Download URL | thaitaxrefund-0.4.5.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
44120ce49e1c7e4573062fc5d9207dce3f95b25f512611ee053af19aa5ede762
|
|
BLAKE2b-256 checksum How to use checksums |
d24f45422b5000b8a06fe31cd7d04ce8c81e6f6a6b0a2a2a725110fdd3820c4b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.10
|
Release files / thaitaxrefund-0.4.5-py3-none-any.whl
| Download URL | thaitaxrefund-0.4.5-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3b36adf96a9af646ae2d7556a75085aefdc1d44cce4acc6566b90e57d209ba1b
|
|
BLAKE2b-256 checksum How to use checksums |
cc42c2b4be25e5422f5b0a5c2cc6d3b1de3bb8175e690430374db094d3a9ffd2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.10
|
Security for thaitaxrefund 0.4.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.