Metadata-Version: 2.1
Name: thaitaxrefund
Version: 0.2
Summary: Thai tax refund checker
Home-page: https://github.com/kittinan/thai-tax-refund
Author: Kittinan Srithaworn
License: MIT
Project-URL: Bug Reports, https://github.com/kittinan/thai-tax-refund/issues
Project-URL: Source, https://github.com/kittinan/thai-tax-refund
Description: # thai-tax-refund
        check status for thai tax refund
        
        
        ## Installation
        ```bash
        pip install thaitaxrefund
        ```
        
        ## Usage
        ```python
        import thaitaxrefund
        
        thai_id = '1111111111111'
        thai_name = 'บิ๊ก'
        thai_surname = 'ตู่'
        result = thaitaxrefund.check(thai_id, thai_name, thai_surname, thai_year=2562)
        ```
        
        ### Example result
        ```json
        {
            "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": "",
        }
        ```
        
Keywords: thai tax refund
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
