Wolters Kluwer CCH® SureTax®

    Show / Hide Table of Contents

    SureTax Config API

    POST LegalEntities

    POST LegalEntities

    Overview

    The POST LegalEntities API endpoint facilitates the process of creating a new legal entity. The new legal entity will be active immediately upon creation and the entity code will be shown in the response.

    OperationId: POST LegalEntities

    Authorization Method(s): OAuth

    Verb: POST

    End Point: /api/v1/Account/LegalEntities


    Request Body
    Request Model
    Display NameField NameField Type
    Parent Entity Code parentEntityCodestring
    Entity Name *entityNamestring
    Fein *feinstring
    Website websitestring
    Notification Business Email *notificationBusinessEmailstring
    Entity Description *entityDescriptionstring
    Entity Address *entityAddressentityAddress
    Contact Numbers *contactNumbersarray[contactNumber]
    Contact Persons *contactPersonsarray[contactPerson]
    entityAddress
    Display NameField NameField Type
    Address1 *address1string
    Address2 address2string
    City *citystring
    State *statestring
    Country *countrystring
    Zipcode *zipcodestring
    Plus4 plus4string
    contactNumber
    Display NameField NameField Type
    Contact Number Type *contactNumberTypestring
    Contact Phone Number *contactPhoneNumberstring
    contactPerson
    Display NameField NameField Type
    Person Type *personTypestring
    Person Name *personNamestring
    Email Address *emailAddressstring

    Example Request

    The following is an json request for this operation.

    {
      "parentEntityCode": "000001817",
      "entityName": "testentity",
      "contactNumbers": [
        {
          "contactNumberType": "BusinessOther2",
          "contactPhonenumber": "8148128234"
        }
      ],
      "entityAddress": {
        "address1": "address1",
        "address2": "string",
        "city": "city",
        "state": "TX",
        "country": "US",
        "zipcode": "12345",
        "plus4": "1234"
      },
      "contactPersons": [
        {
          "personType": "Primary",
          "personName": "testname",
          "emailAddress": "test@test.com"
        }
      ],
      "fein": "1234567890",
      "website": "www.test.com",
      "notificationBusinessEmail": "business@wk.com",
      "entityDescription": "entity description"
    }

    *Mandatory parameter


    AddLegalEntitiesResponse

    Overview

    Represents the response containing the new legal entity.

    AddLegalEntitiesResponse
    Display NameField NameField Type
    Data dataarray[AddLegalEntityResponseObject]
    AddLegalEntityResponseObject
    Display NameField NameField Type
    Legal Entity Code legalEntityCodestring
    Entity Name entityNamestring

    Example Response

    The following is an example response you can expect for this operation

    {
      "data": [
        {
          "legalEntityCode": "000001847",
          "entityName": "test entity"
        }
      ]
    }
    Response Codes
    Response codes in an API indicate the outcome of a request. They are three-digit numbers returned by the server to help the client understand if the request was successful, encountered an error, or needs further action. This operation has the following possible responses.

    code description
    201 The API Response contains the newly created legal entity code.
    400 Bad request. Invalid parameters or missing required information.
    401 Unauthorized access. The request requires user authentication.
    500 Internal server error. An error occurred while processing the request.




    Enter Environment Credentials








    Wolters Kluwer Product Name - Page anchor links toWolters Kluwer Product Name - Page anchor links to
    © Wolters Kluwer and/or its affiliates. All rights reserved.