Chilkat Online Tools

DataFlex / Belvo API Docs / List

Back to Collection Items

Use ChilkatAx-9.5.0-win32.pkg

Procedure Test
    Handle hoHttp
    Boolean iSuccess
    Variant vSbResponseBody
    Handle hoSbResponseBody
    Handle hoJResp
    Integer iRespStatusCode
    String sId
    String sLink
    String sCollected_at
    String sPlace_and_date_of_issuance
    String sOfficial_name
    String sId_cif
    String sRfc
    String sCurp
    String sName
    String sFirst_last_name
    String sSecond_last_name
    String sStart_operations_date
    String sStatus_padron
    String sLast_status_change_date
    String sCommercial_name
    String sSocial_name
    String sV_Email
    String sPhone
    String sPostal_code
    String sStreet_type
    String sStreet
    String sExterior_number
    String sInterior_number
    String sSuburb
    String sLocality
    String sMunicipality
    String sState
    String sValue
    String sObligation
    String sExpiration
    String sInitial_date
    String sEnd_date
    String sPersonal_information
    String sDigital_stamp
    String sDigital_stamp_chain
    String sPdf
    Integer j
    Integer iCount_j
    String sEconomic_activityValue
    String sEnd_dateValue
    String sInitial_dateValue
    String sOrderValue
    String sPercentageValue
    String sRegimenValue
    String sCount
    String sV_next
    String sPrevious
    Integer i
    Integer iCount_i
    String sTemp1

    // This example assumes the Chilkat API to have been previously unlocked.
    // See Global Unlock Sample for sample code.

    Get Create (RefClass(cComChilkatHttp)) To hoHttp
    If (Not(IsComObjectCreated(hoHttp))) Begin
        Send CreateComObject of hoHttp
    End

    Set ComBasicAuth Of hoHttp To True
    Set ComLogin Of hoHttp To "{{secretId}}"
    Set ComPassword Of hoHttp To "{{secretPassword}}"

    Get Create (RefClass(cComChilkatStringBuilder)) To hoSbResponseBody
    If (Not(IsComObjectCreated(hoSbResponseBody))) Begin
        Send CreateComObject of hoSbResponseBody
    End
    Get pvComObject of hoSbResponseBody to vSbResponseBody
    Get ComQuickGetSb Of hoHttp "https://domain.com/api/tax-status/" vSbResponseBody To iSuccess
    If (iSuccess = False) Begin
        Get ComLastErrorText Of hoHttp To sTemp1
        Showln sTemp1
        Procedure_Return
    End

    Get Create (RefClass(cComChilkatJsonObject)) To hoJResp
    If (Not(IsComObjectCreated(hoJResp))) Begin
        Send CreateComObject of hoJResp
    End
    Get pvComObject of hoSbResponseBody to vSbResponseBody
    Get ComLoadSb Of hoJResp vSbResponseBody To iSuccess
    Set ComEmitCompact Of hoJResp To False

    Showln "Response Body:"
    Get ComEmit Of hoJResp To sTemp1
    Showln sTemp1

    Get ComLastStatus Of hoHttp To iRespStatusCode
    Showln "Response Status Code = " iRespStatusCode
    If (iRespStatusCode >= 400) Begin
        Showln "Response Header:"
        Get ComLastHeader Of hoHttp To sTemp1
        Showln sTemp1
        Showln "Failed."
        Procedure_Return
    End

    // Sample JSON response:
    // (Sample code for parsing the JSON response is shown below)

    // {
    //   "count": "<integer>",
    //   "next": "<string>",
    //   "previous": "<string>",
    //   "results": [
    //     {
    //       "id": "<uuid>",
    //       "link": "<uuid>",
    //       "collected_at": "<dateTime>",
    //       "place_and_date_of_issuance": "<string>",
    //       "official_name": "<string>",
    //       "id_cif": "<string>",
    //       "tax_payer_information": {
    //         "rfc": "<string>",
    //         "curp": "<string>",
    //         "name": "<string>",
    //         "first_last_name": "<string>",
    //         "second_last_name": "<string>",
    //         "start_operations_date": "<string>",
    //         "status_padron": "<string>",
    //         "last_status_change_date": "<string>",
    //         "commercial_name": "<string>",
    //         "social_name": "<string>",
    //         "email": "<string>",
    //         "phone": "<string>"
    //       },
    //       "address": {
    //         "postal_code": "<string>",
    //         "street_type": "<string>",
    //         "street": "<string>",
    //         "exterior_number": "<string>",
    //         "interior_number": "<string>",
    //         "suburb": "<string>",
    //         "locality": "<string>",
    //         "municipality": "<string>",
    //         "state": "<string>",
    //         "between_street": {
    //           "value": "<Error: Too many levels of nesting to fake this schema>"
    //         }
    //       },
    //       "economic_activity": [
    //         {
    //           "economic_activity": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "end_date": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "initial_date": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "order": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "percentage": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           }
    //         },
    //         {
    //           "economic_activity": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "end_date": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "initial_date": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "order": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "percentage": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           }
    //         }
    //       ],
    //       "regimens": [
    //         {
    //           "end_date": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "initial_date": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "regimen": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           }
    //         },
    //         {
    //           "end_date": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "initial_date": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "regimen": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           }
    //         }
    //       ],
    //       "obligations": {
    //         "obligation": "<string>",
    //         "expiration": "<string>",
    //         "initial_date": "<string>",
    //         "end_date": "<string>"
    //       },
    //       "personal_information": "<object>",
    //       "digital_stamp": "<string>",
    //       "digital_stamp_chain": "<string>",
    //       "pdf": "<binary>"
    //     },
    //     {
    //       "id": "<uuid>",
    //       "link": "<uuid>",
    //       "collected_at": "<dateTime>",
    //       "place_and_date_of_issuance": "<string>",
    //       "official_name": "<string>",
    //       "id_cif": "<string>",
    //       "tax_payer_information": {
    //         "rfc": "<string>",
    //         "curp": "<string>",
    //         "name": "<string>",
    //         "first_last_name": "<string>",
    //         "second_last_name": "<string>",
    //         "start_operations_date": "<string>",
    //         "status_padron": "<string>",
    //         "last_status_change_date": "<string>",
    //         "commercial_name": "<string>",
    //         "social_name": "<string>",
    //         "email": "<string>",
    //         "phone": "<string>"
    //       },
    //       "address": {
    //         "postal_code": "<string>",
    //         "street_type": "<string>",
    //         "street": "<string>",
    //         "exterior_number": "<string>",
    //         "interior_number": "<string>",
    //         "suburb": "<string>",
    //         "locality": "<string>",
    //         "municipality": "<string>",
    //         "state": "<string>",
    //         "between_street": {
    //           "value": "<Error: Too many levels of nesting to fake this schema>"
    //         }
    //       },
    //       "economic_activity": [
    //         {
    //           "economic_activity": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "end_date": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "initial_date": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "order": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "percentage": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           }
    //         },
    //         {
    //           "economic_activity": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "end_date": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "initial_date": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "order": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "percentage": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           }
    //         }
    //       ],
    //       "regimens": [
    //         {
    //           "end_date": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "initial_date": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "regimen": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           }
    //         },
    //         {
    //           "end_date": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "initial_date": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "regimen": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           }
    //         }
    //       ],
    //       "obligations": {
    //         "obligation": "<string>",
    //         "expiration": "<string>",
    //         "initial_date": "<string>",
    //         "end_date": "<string>"
    //       },
    //       "personal_information": "<object>",
    //       "digital_stamp": "<string>",
    //       "digital_stamp_chain": "<string>",
    //       "pdf": "<binary>"
    //     }
    //   ]
    // }

    // Sample code for parsing the JSON response...
    // Use this online tool to generate parsing code from sample JSON: Generate JSON Parsing Code

    Get ComStringOf Of hoJResp "count" To sCount
    Get ComStringOf Of hoJResp "next" To sV_next
    Get ComStringOf Of hoJResp "previous" To sPrevious
    Move 0 To i
    Get ComSizeOfArray Of hoJResp "results" To iCount_i
    While (i < iCount_i)
        Set ComI Of hoJResp To i
        Get ComStringOf Of hoJResp "results[i].id" To sId
        Get ComStringOf Of hoJResp "results[i].link" To sLink
        Get ComStringOf Of hoJResp "results[i].collected_at" To sCollected_at
        Get ComStringOf Of hoJResp "results[i].place_and_date_of_issuance" To sPlace_and_date_of_issuance
        Get ComStringOf Of hoJResp "results[i].official_name" To sOfficial_name
        Get ComStringOf Of hoJResp "results[i].id_cif" To sId_cif
        Get ComStringOf Of hoJResp "results[i].tax_payer_information.rfc" To sRfc
        Get ComStringOf Of hoJResp "results[i].tax_payer_information.curp" To sCurp
        Get ComStringOf Of hoJResp "results[i].tax_payer_information.name" To sName
        Get ComStringOf Of hoJResp "results[i].tax_payer_information.first_last_name" To sFirst_last_name
        Get ComStringOf Of hoJResp "results[i].tax_payer_information.second_last_name" To sSecond_last_name
        Get ComStringOf Of hoJResp "results[i].tax_payer_information.start_operations_date" To sStart_operations_date
        Get ComStringOf Of hoJResp "results[i].tax_payer_information.status_padron" To sStatus_padron
        Get ComStringOf Of hoJResp "results[i].tax_payer_information.last_status_change_date" To sLast_status_change_date
        Get ComStringOf Of hoJResp "results[i].tax_payer_information.commercial_name" To sCommercial_name
        Get ComStringOf Of hoJResp "results[i].tax_payer_information.social_name" To sSocial_name
        Get ComStringOf Of hoJResp "results[i].tax_payer_information.email" To sV_Email
        Get ComStringOf Of hoJResp "results[i].tax_payer_information.phone" To sPhone
        Get ComStringOf Of hoJResp "results[i].address.postal_code" To sPostal_code
        Get ComStringOf Of hoJResp "results[i].address.street_type" To sStreet_type
        Get ComStringOf Of hoJResp "results[i].address.street" To sStreet
        Get ComStringOf Of hoJResp "results[i].address.exterior_number" To sExterior_number
        Get ComStringOf Of hoJResp "results[i].address.interior_number" To sInterior_number
        Get ComStringOf Of hoJResp "results[i].address.suburb" To sSuburb
        Get ComStringOf Of hoJResp "results[i].address.locality" To sLocality
        Get ComStringOf Of hoJResp "results[i].address.municipality" To sMunicipality
        Get ComStringOf Of hoJResp "results[i].address.state" To sState
        Get ComStringOf Of hoJResp "results[i].address.between_street.value" To sValue
        Get ComStringOf Of hoJResp "results[i].obligations.obligation" To sObligation
        Get ComStringOf Of hoJResp "results[i].obligations.expiration" To sExpiration
        Get ComStringOf Of hoJResp "results[i].obligations.initial_date" To sInitial_date
        Get ComStringOf Of hoJResp "results[i].obligations.end_date" To sEnd_date
        Get ComStringOf Of hoJResp "results[i].personal_information" To sPersonal_information
        Get ComStringOf Of hoJResp "results[i].digital_stamp" To sDigital_stamp
        Get ComStringOf Of hoJResp "results[i].digital_stamp_chain" To sDigital_stamp_chain
        Get ComStringOf Of hoJResp "results[i].pdf" To sPdf
        Move 0 To j
        Get ComSizeOfArray Of hoJResp "results[i].economic_activity" To iCount_j
        While (j < iCount_j)
            Set ComJ Of hoJResp To j
            Get ComStringOf Of hoJResp "results[i].economic_activity[j].economic_activity.value" To sEconomic_activityValue
            Get ComStringOf Of hoJResp "results[i].economic_activity[j].end_date.value" To sEnd_dateValue
            Get ComStringOf Of hoJResp "results[i].economic_activity[j].initial_date.value" To sInitial_dateValue
            Get ComStringOf Of hoJResp "results[i].economic_activity[j].order.value" To sOrderValue
            Get ComStringOf Of hoJResp "results[i].economic_activity[j].percentage.value" To sPercentageValue
            Move (j + 1) To j
        Loop

        Move 0 To j
        Get ComSizeOfArray Of hoJResp "results[i].regimens" To iCount_j
        While (j < iCount_j)
            Set ComJ Of hoJResp To j
            Get ComStringOf Of hoJResp "results[i].regimens[j].end_date.value" To sEnd_dateValue
            Get ComStringOf Of hoJResp "results[i].regimens[j].initial_date.value" To sInitial_dateValue
            Get ComStringOf Of hoJResp "results[i].regimens[j].regimen.value" To sRegimenValue
            Move (j + 1) To j
        Loop

        Move (i + 1) To i
    Loop



End_Procedure

Curl Command

curl -X GET
	-u '{{secretId}}:{{secretPassword}}'
https://domain.com/api/tax-status/

Postman Collection Item JSON

{
  "name": "List",
  "request": {
    "method": "GET",
    "header": [
    ],
    "url": {
      "raw": "{{baseUrl}}/api/tax-status/",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "api",
        "tax-status",
        ""
      ]
    },
    "description": "Get a paginated list of all existing tax status in your Belvo account. We return up to 100 results per page."
  },
  "response": [
    {
      "name": "Ok",
      "originalRequest": {
        "method": "GET",
        "header": [
          {
            "description": "Added as a part of security scheme: basic",
            "key": "Authorization",
            "value": "Basic <credentials>"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/tax-status",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "tax-status"
          ]
        }
      },
      "status": "OK",
      "code": 200,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n\t\"count\": \"<integer>\",\n\t\"next\": \"<string>\",\n\t\"previous\": \"<string>\",\n\t\"results\": [\n\t\t{\n\t\t\t\"id\": \"<uuid>\",\n\t\t\t\"link\": \"<uuid>\",\n\t\t\t\"collected_at\": \"<dateTime>\",\n\t\t\t\"place_and_date_of_issuance\": \"<string>\",\n\t\t\t\"official_name\": \"<string>\",\n\t\t\t\"id_cif\": \"<string>\",\n\t\t\t\"tax_payer_information\": {\n\t\t\t\t\"rfc\": \"<string>\",\n\t\t\t\t\"curp\": \"<string>\",\n\t\t\t\t\"name\": \"<string>\",\n\t\t\t\t\"first_last_name\": \"<string>\",\n\t\t\t\t\"second_last_name\": \"<string>\",\n\t\t\t\t\"start_operations_date\": \"<string>\",\n\t\t\t\t\"status_padron\": \"<string>\",\n\t\t\t\t\"last_status_change_date\": \"<string>\",\n\t\t\t\t\"commercial_name\": \"<string>\",\n\t\t\t\t\"social_name\": \"<string>\",\n\t\t\t\t\"email\": \"<string>\",\n\t\t\t\t\"phone\": \"<string>\"\n\t\t\t},\n\t\t\t\"address\": {\n\t\t\t\t\"postal_code\": \"<string>\",\n\t\t\t\t\"street_type\": \"<string>\",\n\t\t\t\t\"street\": \"<string>\",\n\t\t\t\t\"exterior_number\": \"<string>\",\n\t\t\t\t\"interior_number\": \"<string>\",\n\t\t\t\t\"suburb\": \"<string>\",\n\t\t\t\t\"locality\": \"<string>\",\n\t\t\t\t\"municipality\": \"<string>\",\n\t\t\t\t\"state\": \"<string>\",\n\t\t\t\t\"between_street\": {\n\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"economic_activity\": [\n\t\t\t\t{\n\t\t\t\t\t\"economic_activity\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"end_date\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"initial_date\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"order\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"percentage\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"economic_activity\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"end_date\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"initial_date\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"order\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"percentage\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"regimens\": [\n\t\t\t\t{\n\t\t\t\t\t\"end_date\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"initial_date\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"regimen\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"end_date\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"initial_date\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"regimen\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"obligations\": {\n\t\t\t\t\"obligation\": \"<string>\",\n\t\t\t\t\"expiration\": \"<string>\",\n\t\t\t\t\"initial_date\": \"<string>\",\n\t\t\t\t\"end_date\": \"<string>\"\n\t\t\t},\n\t\t\t\"personal_information\": \"<object>\",\n\t\t\t\"digital_stamp\": \"<string>\",\n\t\t\t\"digital_stamp_chain\": \"<string>\",\n\t\t\t\"pdf\": \"<binary>\"\n\t\t},\n\t\t{\n\t\t\t\"id\": \"<uuid>\",\n\t\t\t\"link\": \"<uuid>\",\n\t\t\t\"collected_at\": \"<dateTime>\",\n\t\t\t\"place_and_date_of_issuance\": \"<string>\",\n\t\t\t\"official_name\": \"<string>\",\n\t\t\t\"id_cif\": \"<string>\",\n\t\t\t\"tax_payer_information\": {\n\t\t\t\t\"rfc\": \"<string>\",\n\t\t\t\t\"curp\": \"<string>\",\n\t\t\t\t\"name\": \"<string>\",\n\t\t\t\t\"first_last_name\": \"<string>\",\n\t\t\t\t\"second_last_name\": \"<string>\",\n\t\t\t\t\"start_operations_date\": \"<string>\",\n\t\t\t\t\"status_padron\": \"<string>\",\n\t\t\t\t\"last_status_change_date\": \"<string>\",\n\t\t\t\t\"commercial_name\": \"<string>\",\n\t\t\t\t\"social_name\": \"<string>\",\n\t\t\t\t\"email\": \"<string>\",\n\t\t\t\t\"phone\": \"<string>\"\n\t\t\t},\n\t\t\t\"address\": {\n\t\t\t\t\"postal_code\": \"<string>\",\n\t\t\t\t\"street_type\": \"<string>\",\n\t\t\t\t\"street\": \"<string>\",\n\t\t\t\t\"exterior_number\": \"<string>\",\n\t\t\t\t\"interior_number\": \"<string>\",\n\t\t\t\t\"suburb\": \"<string>\",\n\t\t\t\t\"locality\": \"<string>\",\n\t\t\t\t\"municipality\": \"<string>\",\n\t\t\t\t\"state\": \"<string>\",\n\t\t\t\t\"between_street\": {\n\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"economic_activity\": [\n\t\t\t\t{\n\t\t\t\t\t\"economic_activity\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"end_date\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"initial_date\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"order\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"percentage\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"economic_activity\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"end_date\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"initial_date\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"order\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"percentage\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"regimens\": [\n\t\t\t\t{\n\t\t\t\t\t\"end_date\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"initial_date\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"regimen\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"end_date\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"initial_date\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"regimen\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"obligations\": {\n\t\t\t\t\"obligation\": \"<string>\",\n\t\t\t\t\"expiration\": \"<string>\",\n\t\t\t\t\"initial_date\": \"<string>\",\n\t\t\t\t\"end_date\": \"<string>\"\n\t\t\t},\n\t\t\t\"personal_information\": \"<object>\",\n\t\t\t\"digital_stamp\": \"<string>\",\n\t\t\t\"digital_stamp_chain\": \"<string>\",\n\t\t\t\"pdf\": \"<binary>\"\n\t\t}\n\t]\n}"
    },
    {
      "name": "Unauthorized",
      "originalRequest": {
        "method": "GET",
        "header": [
          {
            "description": "Added as a part of security scheme: basic",
            "key": "Authorization",
            "value": "Basic <credentials>"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/tax-status",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "tax-status"
          ]
        }
      },
      "status": "Unauthorized",
      "code": 401,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "[\n\t{\n\t\t\"code\": \"<string>\",\n\t\t\"message\": \"<string>\",\n\t\t\"request_id\": \"<string>\"\n\t},\n\t{\n\t\t\"code\": \"<string>\",\n\t\t\"message\": \"<string>\",\n\t\t\"request_id\": \"<string>\"\n\t}\n]"
    }
  ]
}