Get all withholding tax documents.
เรียกดูข้อมูลเอกสารใบหัก ณ ที่จ่ายทั้งหมดในระบบ
Request
- Base URLhttps://openapi.flowaccount.com/v1
- Authnone declared. Required headers: Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Query current page document withholding tax. <br>Example Pattern: <ex>/withholding-taxes?currentPage=1 </ex><ex>/withholding-taxes?currentPage=1&pageSize=20</ex>
Query document withholding tax list amount per page. <br>Example Pattern: <ex> /withholding-taxes?pageSize=20 </ex>
Query document by Contact Name or Project Name or Document Serial. <br>Example Pattern: <ex> /withholding-taxes?searchString=WHT2021010001</ex>
Query document range type. <br>0 = all<br>1 = Current Month<br>3 = Previous Month<br>5 = Date Range<br>7 = Current Year<br>9 = Previous Year<br>15 = Fiscal Year<br>Example Query Current Month: <ex> /expenses?pageSize=20¤tPage=1&range=1</ex>
Query document by month.<br>Example Query Previous Month: <ex> /expenses?pageSize=20¤tPage=1&range=1&month=5&year=2021</ex>
Query document by year.<br>Example Query Previous Year: <ex> /expenses?currentPage=1&pageSize=20&range=9&year=2020</ex>
Query document by startDate to endDate.<br>Example Query Date Range: <ex> /expenses?currentPage=1&pageSize=20&range=5&startDate=2021-05-20&endDate=2021-05-22</ex>
Query document by startDate to endDate.<br>Example Query Date Range: <ex> /expenses?currentPage=1&pageSize=20&range=5&startDate=2021-05-20&endDate=2021-05-22</ex>
Headers
Response
200 response
Example response
{
"data": {
"list": [
{
"contactTaxId": "1234567890123",
"contactEmail": "contact@email.com",
"contactNumber": "099-999-9999",
"publishedOn": "2026-05-25",
"textOther": "2020",
"isDelete": "false"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.