thaitaxrefund

Thai tax refund checker


Keywords
thai, tax, refund
License
MIT
Install
pip install thaitaxrefund==0.3

Documentation

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": "",
}