Back to Collection Items
; This example assumes the Chilkat API to have been previously unlocked.
; See Global Unlock Sample for sample code.
$oHttp = ObjCreate("Chilkat.Http")
Local $bSuccess
$oHttp.BasicAuth = True
$oHttp.Login = "{{secretId}}"
$oHttp.Password = "{{secretPassword}}"
$oSbResponseBody = ObjCreate("Chilkat.StringBuilder")
$bSuccess = $oHttp.QuickGetSb("https://domain.com/api/tax-status/",$oSbResponseBody)
If ($bSuccess = False) Then
ConsoleWrite($oHttp.LastErrorText & @CRLF)
Exit
EndIf
$oJResp = ObjCreate("Chilkat.JsonObject")
$oJResp.LoadSb($oSbResponseBody)
$oJResp.EmitCompact = False
ConsoleWrite("Response Body:" & @CRLF)
ConsoleWrite($oJResp.Emit() & @CRLF)
Local $iRespStatusCode = $oHttp.LastStatus
ConsoleWrite("Response Status Code = " & $iRespStatusCode & @CRLF)
If ($iRespStatusCode >= 400) Then
ConsoleWrite("Response Header:" & @CRLF)
ConsoleWrite($oHttp.LastHeader & @CRLF)
ConsoleWrite("Failed." & @CRLF)
Exit
EndIf
; 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
Local $sId
Local $sLink
Local $sCollected_at
Local $sPlace_and_date_of_issuance
Local $sOfficial_name
Local $sId_cif
Local $sRfc
Local $sCurp
Local $sName
Local $sFirst_last_name
Local $sSecond_last_name
Local $sStart_operations_date
Local $sStatus_padron
Local $sLast_status_change_date
Local $sCommercial_name
Local $sSocial_name
Local $sV_Email
Local $sPhone
Local $sPostal_code
Local $sStreet_type
Local $sStreet
Local $sExterior_number
Local $sInterior_number
Local $sSuburb
Local $sLocality
Local $sMunicipality
Local $sState
Local $sValue
Local $sObligation
Local $sExpiration
Local $sInitial_date
Local $sEnd_date
Local $sPersonal_information
Local $sDigital_stamp
Local $sDigital_stamp_chain
Local $sPdf
Local $iJ
Local $iCount_j
Local $sEconomic_activityValue
Local $sEnd_dateValue
Local $sInitial_dateValue
Local $sOrderValue
Local $sPercentageValue
Local $sRegimenValue
Local $sCount = $oJResp.StringOf("count")
Local $sV_next = $oJResp.StringOf("next")
Local $sPrevious = $oJResp.StringOf("previous")
Local $i = 0
Local $iCount_i = $oJResp.SizeOfArray("results")
While $i < $iCount_i
$oJResp.I = $i
$sId = $oJResp.StringOf("results[i].id")
$sLink = $oJResp.StringOf("results[i].link")
$sCollected_at = $oJResp.StringOf("results[i].collected_at")
$sPlace_and_date_of_issuance = $oJResp.StringOf("results[i].place_and_date_of_issuance")
$sOfficial_name = $oJResp.StringOf("results[i].official_name")
$sId_cif = $oJResp.StringOf("results[i].id_cif")
$sRfc = $oJResp.StringOf("results[i].tax_payer_information.rfc")
$sCurp = $oJResp.StringOf("results[i].tax_payer_information.curp")
$sName = $oJResp.StringOf("results[i].tax_payer_information.name")
$sFirst_last_name = $oJResp.StringOf("results[i].tax_payer_information.first_last_name")
$sSecond_last_name = $oJResp.StringOf("results[i].tax_payer_information.second_last_name")
$sStart_operations_date = $oJResp.StringOf("results[i].tax_payer_information.start_operations_date")
$sStatus_padron = $oJResp.StringOf("results[i].tax_payer_information.status_padron")
$sLast_status_change_date = $oJResp.StringOf("results[i].tax_payer_information.last_status_change_date")
$sCommercial_name = $oJResp.StringOf("results[i].tax_payer_information.commercial_name")
$sSocial_name = $oJResp.StringOf("results[i].tax_payer_information.social_name")
$sV_Email = $oJResp.StringOf("results[i].tax_payer_information.email")
$sPhone = $oJResp.StringOf("results[i].tax_payer_information.phone")
$sPostal_code = $oJResp.StringOf("results[i].address.postal_code")
$sStreet_type = $oJResp.StringOf("results[i].address.street_type")
$sStreet = $oJResp.StringOf("results[i].address.street")
$sExterior_number = $oJResp.StringOf("results[i].address.exterior_number")
$sInterior_number = $oJResp.StringOf("results[i].address.interior_number")
$sSuburb = $oJResp.StringOf("results[i].address.suburb")
$sLocality = $oJResp.StringOf("results[i].address.locality")
$sMunicipality = $oJResp.StringOf("results[i].address.municipality")
$sState = $oJResp.StringOf("results[i].address.state")
$sValue = $oJResp.StringOf("results[i].address.between_street.value")
$sObligation = $oJResp.StringOf("results[i].obligations.obligation")
$sExpiration = $oJResp.StringOf("results[i].obligations.expiration")
$sInitial_date = $oJResp.StringOf("results[i].obligations.initial_date")
$sEnd_date = $oJResp.StringOf("results[i].obligations.end_date")
$sPersonal_information = $oJResp.StringOf("results[i].personal_information")
$sDigital_stamp = $oJResp.StringOf("results[i].digital_stamp")
$sDigital_stamp_chain = $oJResp.StringOf("results[i].digital_stamp_chain")
$sPdf = $oJResp.StringOf("results[i].pdf")
$iJ = 0
$iCount_j = $oJResp.SizeOfArray("results[i].economic_activity")
While $iJ < $iCount_j
$oJResp.J = $iJ
$sEconomic_activityValue = $oJResp.StringOf("results[i].economic_activity[j].economic_activity.value")
$sEnd_dateValue = $oJResp.StringOf("results[i].economic_activity[j].end_date.value")
$sInitial_dateValue = $oJResp.StringOf("results[i].economic_activity[j].initial_date.value")
$sOrderValue = $oJResp.StringOf("results[i].economic_activity[j].order.value")
$sPercentageValue = $oJResp.StringOf("results[i].economic_activity[j].percentage.value")
$iJ = $iJ + 1
Wend
$iJ = 0
$iCount_j = $oJResp.SizeOfArray("results[i].regimens")
While $iJ < $iCount_j
$oJResp.J = $iJ
$sEnd_dateValue = $oJResp.StringOf("results[i].regimens[j].end_date.value")
$sInitial_dateValue = $oJResp.StringOf("results[i].regimens[j].initial_date.value")
$sRegimenValue = $oJResp.StringOf("results[i].regimens[j].regimen.value")
$iJ = $iJ + 1
Wend
$i = $i + 1
Wend
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]"
}
]
}