Skip to content

Activity Types

Retrieves fiscal receipt data from the fiscal system.
Endpoint

Method: POST
URL: BASE_URL/merchant/fiscalization/activity-types/
Header:

http
Authorization: Bearer <ACCESS_TOKEN>

Request Parameters

ParameterTypeRequiredDescription
pinflstringYesIndividual’s PINFL (JSHSHIR)
activityTypeintYesType of activity to validate

Activity Types

ValueDescription
1Checks whether it is an individual entrepreneur (YATT)
2Checks whether the person is self-employed
3Checks whether the income exceeds 100 million

Request example

json
{
  "pinfl": "12345678901234",
  "activityType": 1
}

Response example

Activity Type: 1

json
{
    "result": {
        "success": false,
        "reason": "Ушбу ПИНФЛда ЯТТ аниқланмади",
        "data": 200
    }
}

Activity Type: 2

json
{
    "result": {
        "success": true,
        "reason": "Success",
        "data": null
    }
}

Activity Type: 3

json
{
    "result": {
        "success": true,
        "reason": "Success",
        "data": {
            "status": true,
            "activityNames": [
                "Lorem Ipsum is simply dummy text"
            ]
        }
    }
}