Create a PY Tax Override
    • 19 Jun 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
    string

    Effective Date (Starting date for the tax override)

    πŸ’» UI Fieldname: TxpEffectiveDate

    TxpEmpNo
    string

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

    πŸ’» UI Fieldname: TxpEmpNo

    Max length16
    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.

    πŸ’» UI Fieldname: TxpTaxCode

    Max length4
    TxpUser
    string

    User who last updated this record.

    πŸ’» UI Fieldname: TxpUser

    Max length30
    TxpVUuid
    string

    Unique ID of Row,Leave Blank

    πŸ’» UI Fieldname: TxpVUuid

    Max length64
    TxpStateCode
    string

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

    πŸ’» UI Fieldname: TxpStateCode

    Max length4
    TxpCalcmeth
    string

    Calculation Method – This will be validated through Vertex.

    πŸ’» UI Fieldname: TxpCalcmeth

    Max length2
    TxpWrlCode
    string

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

    πŸ’» UI Fieldname: TxpWrlCode

    Max length15
    TxpLastUpdDate
    string

    Date when the record was last updated.

    πŸ’» UI Fieldname: TxpLastUpdDate

    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