Codelayer API Documentation

  • Introduction

    • General
    • Version History
  • API Reference

    • System

      • License request
      • Register Device
      • Authentication
      • Settings
    • HR Details

      • Employee Attendance
      • Employee Leave Summary
      • Employee List
      • Employee Payrevision
      • Employee Payroll
      • Employee Relieving
      • Employee TDS Calculated
      • Employee TDS Deducted
      • Employee Transfer
      • Employees Edited
    • Estate

      • Labor

        • Details
        • Register Face
      • Sync

        • Download Face File
        • Get Labor
        • Get Tasks
        • Post Muster
      • Authentication
      • Firm List
    • FrontOffice Poabs

      • Gatepass Save
    • Response Codes
Codelayer API Documentation
Employee TDS Calculated

TDS calculated from TDS system

URL

hrdetails/emp_tdstobededucted

Method

POST

Request Media type

application/json

Response Media type

application/json

Request Parameters
Parameter Data Type Min Max M/O Sample Value Comments
key String 32 32 M CKWguDWrEzOiP9YWO3Vg7GkYYuNbRzdU Key obtained from authentiaction.
tdstobecollected Array M TDS calculated
tdsdate String 10 10 M 2019-11-30 Last Day of the month in YYYY-MM-DD Format
unitid Integer 1 M 45 Unitid from Firm list
empid String 1 6 M 4960 Employee ID
tdsamount Decimal M 0.0 Calculated TDS Amount
itamount Decimal M 0.0 IT amount
scamount Decimal M 0.0 SC amount
cessamount Decimal M 0.0 CESS amount
tdsinterestamount Decimal M 0.0 TDS interest amount
tdsotheramount Decimal M 0.0 TDS other amount
tdstotalamount Decimal M 0.0 TDS total amount

 

Response Values
Name Data Type Min Length Max Length M/O Sample Value Comments
status String 1 100 M TDS Data Added. TDS Data Added.

 

Sample Request
{
    "key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq",
    "tdstobecollected": [
        {
            "tdsdate": "2019-11-30",
            "unitid": "45",
            "empid": "4960",
            "tdsamount": "0.0",
            "itamount": "0.0",
            "scamount": "0.0",
            "cessamount": "0.0",
            "tdsinterestamount": "0.0",
            "tdsotheramount": "0.0",
            "tdstotalamount": "0.0"
        }
    ]
}
Sample Success Response
{
    "status": "TDS Data Added.",
    "e": 200,
    "msg": "Success"
}
Sample Failure Responses
{
    "e": 400,
    "msg": "Bad Request."
}