Create a PY Tax Override
    • 25 Sep 2024
    • 1 Minute to read
    • Dark
      Light

    Create a PY Tax Override

    • Dark
      Light

    Article summary

    Post
    /hcm-rest-api/rest/1/pytaxemp

    Create Tax Overrrides

    Security
    HTTP
    Type basic

    Basic authentication

    Header parameters
    Content-Type
    string
    Exampleapplication/vnd.oracle.adf.resourceItem+json
    Body parameters
    object
    Example{ "TxpEmpNo": "801", "TxpTaxCode": "FWT", "TxpWrlCode": "ALL", "TxpStateCode": "ALL", "TxpCalcmeth": "02", "TxpEffectiveDate": "2023-01-10", "TxpLastUpdDate": "2023-01-10T21:36:53-05:00", "TxpUser": "ARCORO", "TxpVUuid": "" }
    TxpEffectiveDate
    null

    Effective Date (Starting date for the tax override)

    TxpEmpNo
    string

    Employee Number – Must be a valid employee code from the PYEMPLOYEE_TABLE (EMP_NO) table.

    TxpTaxCode
    string

    Tax Code – Must be a valid tax code from the PYTAX (TAX_CODE) table: - If the State code is ‘ALL’, then it is a Federal tax. - If using a valid State code and Work Location is ‘ALL’, then it is a State tax. - If using a valid State code and Work Location code, then it is a Local Tax.

    TxpUser
    string

    User who last updated this record.

    TxpVUuid
    string

    Unique ID of Row,Leave Blank

    TxpStateCode
    string

    State Code – Must be a valid state code from the PYSTATE (STA_STATE_CODE) table or ‘ALL’ for Federal tax.

    TxpCalcmeth
    string

    Calculation Method – This will be validated through Vertex.

    TxpWrlCode
    string

    Work Location Code – Must be valid values from the PYWORKLOC (WRL_CODE) table.

    TxpLastUpdDate
    null

    Date when the record was last updated.

    Responses
    201

    Created

    Headers
    Content-Type
    string
    Exampleapplication/vnd.oracle.adf.resourceitem+json
    {
      "TxpEmpNo": "801",
      "TxpStateCode": "ALL",
      "TxpWrlCode": "ALL",
      "TxpTaxCode": "FWT",
      "TxpEffectiveDate": "2023-01-10",
      "TxpTaxAmount": null,
      "TxpAmtType": null,
      "TxpCalcmeth": "02",
      "TxpAltCalcCode": null,
      "TxpAddPrimExempAmt": null,
      "TxpAddSuplExempAmt": null,
      "TxpOvrdRglrTaxRate": null,
      "TxpOvrdSuplTaxRate": null,
      "TxpAddRglrTaxRate": null,
      "TxpAddSuplTaxRate": null,
      "TxpOvrdRglrExempAmt": null,
      "TxpOvrdSuplExempAmt": null,
      "TxpMaxWage": null,
      "TxpMaxDedOvrdAmt": null,
      "TxpExcludeFlag": null,
      "TxpUser": "ARCORO",
      "TxpLastUpdDate": "2023-01-11T02:36:53Z",
      "TxpTaxType": null,
      "TxpJurintType": null,
      "TxpExemptFlag": null,
      "TxpVUuid": "F2A6825A90AF617EE05316821FAC03A9",
      "links": [
        {
          "rel": "self",
          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/hcm-rest-api/rest/1/pytaxemp/F2A6825A90AF617EE05316821FAC03A9",
          "name": "pytaxemp",
          "kind": "item"
        },
        {
          "rel": "canonical",
          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/hcm-rest-api/rest/1/pytaxemp/F2A6825A90AF617EE05316821FAC03A9",
          "name": "pytaxemp",
          "kind": "item"
        }
      ]
    }
    object