Order status
curl --request GET \
--url https://partners.inra.co.th/v1/orders/{order_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://partners.inra.co.th/v1/orders/{order_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://partners.inra.co.th/v1/orders/{order_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://partners.inra.co.th/v1/orders/{order_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://partners.inra.co.th/v1/orders/{order_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://partners.inra.co.th/v1/orders/{order_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://partners.inra.co.th/v1/orders/{order_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"order_id": 123,
"order_date": "2023-11-07T05:31:56Z",
"status_code": 123,
"status": "<string>",
"database": true,
"complete_date": "2023-11-07T05:31:56Z",
"kind": "database",
"company_id": 123,
"company_name": "<string>",
"reference": "<string>",
"content_type": "basic",
"speed": "normal",
"expected_working_days": 123,
"expected_due_date": "2023-12-25",
"subject": {
"company_name": "<string>",
"local_name": "<string>",
"address": "<string>",
"registration_number": "<string>",
"country_code": "<string>",
"phone": "<string>",
"website": "<string>"
},
"cancellation": {
"code": "<string>",
"reason": "<string>"
},
"links": {
"order": "<string>",
"report": "<string>"
},
"report": {
"company_id": 123,
"identification_details": {
"company_name": "<string>",
"local_name": "<string>",
"local_name_language": "<string>",
"registration_number": "<string>",
"established_date": "2023-12-25",
"legal_form": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"security_symbol": "<string>",
"business_address": {
"address": "<string>",
"phone": "<string>",
"fax": "<string>",
"email": "<string>",
"website": "<string>",
"address_detail": {
"street": "<string>",
"sub_district": "<string>",
"district": "<string>",
"province": "<string>",
"post_code": "<string>",
"country": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"country_code": "<string>"
}
},
"registered_address": "<string>",
"former_names": [
{
"name": "<string>",
"date": "2023-12-25"
}
]
},
"last_update": "2023-12-25",
"report_type": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"request_type": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"order_information": {
"customer_name": "<string>",
"customer_ref": "<string>",
"report_type": "<string>",
"receiving_date": "2023-12-25",
"issuing_date": "2023-12-25"
},
"monitoring_events": [
{
"code": "<string>",
"description": "<string>"
}
],
"personnel_details": {
"board_of_directors": {
"directors": [
{
"full_name": "<string>",
"position": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"auth_symbol": "<string>",
"litigation_records": [
{
"accept_date": "2023-12-25",
"case_type": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"case_number": "<string>",
"claim_type": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"claim_description": "<string>",
"court": "<string>",
"petitioners": "<string>",
"planner": "<string>",
"amount": {
"value": "<string>",
"currency": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"display_units": "<string>",
"item": 123
}
}
]
}
],
"authorized_signature": "<string>",
"note": {
"formatted_text": "<string>",
"formatted_html": "<string>"
}
},
"top_managements": [
{
"full_name": "<string>",
"nationality": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"age": 123,
"position": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"education": {
"formatted_text": "<string>",
"formatted_html": "<string>"
},
"experience": {
"formatted_text": "<string>",
"formatted_html": "<string>"
},
"others": {
"formatted_text": "<string>",
"formatted_html": "<string>"
},
"status": {
"formatted_text": "<string>",
"formatted_html": "<string>"
},
"litigation_records": [
{
"accept_date": "2023-12-25",
"case_type": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"case_number": "<string>",
"claim_type": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"claim_description": "<string>",
"court": "<string>",
"petitioners": "<string>",
"planner": "<string>",
"amount": {
"value": "<string>",
"currency": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"display_units": "<string>",
"item": 123
}
}
]
}
]
},
"operation_details": {
"operation_state": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"primary_business": "<string>",
"isc_codes": [
{
"code": "<string>",
"name": "<string>",
"main": true,
"revision": "<string>"
}
],
"nace_codes": [
{
"code": "<string>",
"name": "<string>",
"main": true,
"revision": "<string>"
}
],
"total_employees": 123,
"major_customers": [
{
"name": "<string>",
"country": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
}
}
],
"major_suppliers": [
{
"name": "<string>",
"country": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
}
}
],
"brand_names": [
{
"brand": "<string>",
"description": "<string>"
}
],
"bankers": [
{
"name": "<string>",
"branches": [
"<string>"
]
}
],
"bankers_note": {
"formatted_text": "<string>",
"formatted_html": "<string>"
},
"insurers": [
{
"name": "<string>",
"type": "<string>"
}
],
"manpowers": [
{
"type": "<string>",
"amount": 123
}
],
"manpowers_note": {
"formatted_text": "<string>",
"formatted_html": "<string>"
},
"locations": [
{
"type": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"location": "<string>"
}
],
"locations_note": {
"formatted_text": "<string>",
"formatted_html": "<string>"
},
"branches": [
{
"name": "<string>",
"location": "<string>"
}
],
"related_parties": [
{
"relationship_type": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"registration_number": "<string>",
"name": "<string>"
}
],
"recent_performance": {
"date": "2023-12-25",
"currency": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"items": [
{
"name": "<string>",
"value": "<string>"
}
]
},
"litigation_records": [
{
"accept_date": "2023-12-25",
"case_type": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"case_number": "<string>",
"claim_type": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"claim_description": "<string>",
"court": "<string>",
"petitioners": "<string>",
"planner": "<string>",
"amount": {
"value": "<string>",
"currency": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"display_units": "<string>",
"item": 123
}
}
],
"history": {
"formatted_text": "<string>",
"formatted_html": "<string>"
},
"award": {
"formatted_text": "<string>",
"formatted_html": "<string>"
},
"business_activity": {
"formatted_text": "<string>",
"formatted_html": "<string>"
},
"production_capacity": {
"formatted_text": "<string>",
"formatted_html": "<string>"
},
"revenue_breakdown": {
"formatted_text": "<string>",
"formatted_html": "<string>"
},
"import_note": {
"formatted_text": "<string>",
"formatted_html": "<string>"
},
"export_note": {
"formatted_text": "<string>",
"formatted_html": "<string>"
},
"additional_information": {
"formatted_text": "<string>",
"formatted_html": "<string>"
},
"comment": {
"formatted_text": "<string>",
"formatted_html": "<string>"
}
},
"financial_details": {
"financial_summary": {
"registered_capital": {
"value": "<string>",
"currency": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"display_units": "<string>",
"item": 123
},
"paid_up_capital": {
"value": "<string>",
"currency": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"display_units": "<string>",
"item": 123
},
"total_revenues": {
"value": "<string>",
"currency": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"display_units": "<string>",
"item": 123
},
"operation_profit": {
"value": "<string>",
"currency": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"display_units": "<string>",
"item": 123
},
"earning_before_income_tax": {
"value": "<string>",
"currency": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"display_units": "<string>",
"item": 123
},
"net_profit": {
"value": "<string>",
"currency": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"display_units": "<string>",
"item": 123
}
},
"financial_history": [
{
"year": 123,
"assets": "<string>",
"loans": "<string>",
"liability": "<string>",
"deposits": "<string>",
"equity": "<string>",
"sales": "<string>",
"gross_income": "<string>",
"net_profit": "<string>",
"debt_to_equity": "<string>",
"loans_vs_deposits": "<string>",
"loans_vs_deposits_units": "<string>",
"defensive_interval": 123,
"npls_vs_loans": "<string>"
}
],
"currency": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"capital_variations": [
{
"date": "2023-12-25",
"description": "<string>",
"amount": {
"value": "<string>",
"currency": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"display_units": "<string>",
"item": 123
}
}
],
"capital_variations_note": {
"formatted_text": "<string>",
"formatted_html": "<string>"
},
"share_structure": {
"date": "2023-12-25",
"number_of_shareholders": {
"thais": 123,
"foreigners": 123,
"total": 123
},
"shareholding": {
"thais": 123,
"foreigners": 123,
"total": 123
}
},
"major_shareholders": {
"shareholders": [
{
"name": "<string>",
"nationality": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"country": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"shareholding": 123,
"percentage": "<string>"
}
],
"other_shareholders": {
"shareholding": 123,
"percentage": "<string>"
},
"note": {
"formatted_text": "<string>",
"formatted_html": "<string>"
}
},
"partners": [
{
"name": "<string>",
"nationality": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"amount": {
"value": "<string>",
"currency": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"display_units": "<string>",
"item": 123
},
"percentage": "<string>",
"unlimited_partner": true
}
],
"auditors": [
{
"name": "<string>"
}
],
"auditors_note": {
"formatted_text": "<string>",
"formatted_html": "<string>"
},
"financial_statement": {
"template": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"type_description": "<string>",
"consolidated": true,
"currency": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"display_units": "<string>",
"items": [
{
"item_code": "<string>",
"name": "<string>",
"item_type": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"is_custom": true,
"parent_code": "<string>",
"indent_level": 123,
"unit": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"amounts": [
{
"value": "<string>",
"date": "2023-12-25",
"item": 123,
"currency": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"display_units": "<string>"
}
]
}
],
"note": {
"formatted_text": "<string>",
"formatted_html": "<string>"
}
},
"statement_of_cashflow": {
"template": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"currency": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"label": "<string>",
"items": [
{
"item_code": "<string>",
"name": "<string>",
"item_type": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"is_custom": true,
"parent_code": "<string>",
"indent_level": 123,
"unit": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"amounts": [
{
"value": "<string>",
"date": "2023-12-25",
"item": 123,
"currency": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"display_units": "<string>"
}
]
}
],
"note": {
"formatted_text": "<string>",
"formatted_html": "<string>"
}
},
"financial_analysis": [
{
"description": "<string>",
"items": [
{
"subject": "<string>",
"status": "<string>",
"value": "<string>",
"industrial_average": "<string>",
"comment": "<string>"
}
]
}
],
"brief_financial_statement": {
"template": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"type_description": "<string>",
"consolidated": true,
"currency": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"display_units": "<string>",
"account_dates": [
"2023-12-25"
],
"items": [
{
"item_code": "<string>",
"name": "<string>",
"item_type": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"is_custom": true,
"parent_code": "<string>",
"indent_level": 123,
"unit": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"amounts": [
{
"value": "<string>",
"date": "2023-12-25",
"item": 123,
"currency": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"display_units": "<string>"
}
]
}
]
},
"full_financial_statement": {
"template": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"type_description": "<string>",
"consolidated": true,
"currency": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"items": [
{
"item_code": "<string>",
"parent_code": "<string>",
"is_custom": true,
"level": 123,
"level_order": 123,
"name": "<string>",
"amounts": [
{
"value": "<string>",
"date": "2023-12-25",
"item": 123,
"currency": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"display_units": "<string>"
}
]
}
]
}
},
"credit_rating": {
"rating_score": "<string>",
"rating_symbol": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"credit_limit": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"credit_limit_text": "<string>",
"definition": "<string>",
"credit_risk": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"credit_recommendation": "<string>",
"rating_outlook": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"rating_pd": "<string>",
"rating_pd_unit": "<string>",
"rating_definitions_url": "<string>"
},
"charts": [
{
"name": "<string>",
"type": "<string>",
"width": "<string>",
"height": "<string>",
"unit": "<string>",
"mime": "<string>",
"content": "<string>"
}
],
"summary": {
"financial_condition": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"business_size": "<string>"
},
"awards": {
"certifications": [
{
"type": "<string>",
"date_issued": "2023-12-25",
"issuer": "<string>"
}
],
"boi_privileges": [
{
"products": "<string>",
"date": "2023-12-25"
}
]
},
"remarks": [
{
"text": "<string>"
}
],
"credit_request": {
"request": "<string>",
"credit_opinion": "<string>",
"max_credit": "<string>"
},
"suggested_credit_limit_history": [
{
"date": "2023-12-25",
"suggested_credit_limit": "<string>",
"fs_year": "<string>"
}
]
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}Order status
Return one order of this client.
Database orders are always Completed and include the report. Offline
orders are Active (0) until INRA completes them (Completed, 1, with
the report) or cancels them (Cancelled, 2, with cancellation).
GET
/
v1
/
orders
/
{order_id}
Order status
curl --request GET \
--url https://partners.inra.co.th/v1/orders/{order_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://partners.inra.co.th/v1/orders/{order_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://partners.inra.co.th/v1/orders/{order_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://partners.inra.co.th/v1/orders/{order_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://partners.inra.co.th/v1/orders/{order_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://partners.inra.co.th/v1/orders/{order_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://partners.inra.co.th/v1/orders/{order_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"order_id": 123,
"order_date": "2023-11-07T05:31:56Z",
"status_code": 123,
"status": "<string>",
"database": true,
"complete_date": "2023-11-07T05:31:56Z",
"kind": "database",
"company_id": 123,
"company_name": "<string>",
"reference": "<string>",
"content_type": "basic",
"speed": "normal",
"expected_working_days": 123,
"expected_due_date": "2023-12-25",
"subject": {
"company_name": "<string>",
"local_name": "<string>",
"address": "<string>",
"registration_number": "<string>",
"country_code": "<string>",
"phone": "<string>",
"website": "<string>"
},
"cancellation": {
"code": "<string>",
"reason": "<string>"
},
"links": {
"order": "<string>",
"report": "<string>"
},
"report": {
"company_id": 123,
"identification_details": {
"company_name": "<string>",
"local_name": "<string>",
"local_name_language": "<string>",
"registration_number": "<string>",
"established_date": "2023-12-25",
"legal_form": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"security_symbol": "<string>",
"business_address": {
"address": "<string>",
"phone": "<string>",
"fax": "<string>",
"email": "<string>",
"website": "<string>",
"address_detail": {
"street": "<string>",
"sub_district": "<string>",
"district": "<string>",
"province": "<string>",
"post_code": "<string>",
"country": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"country_code": "<string>"
}
},
"registered_address": "<string>",
"former_names": [
{
"name": "<string>",
"date": "2023-12-25"
}
]
},
"last_update": "2023-12-25",
"report_type": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"request_type": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"order_information": {
"customer_name": "<string>",
"customer_ref": "<string>",
"report_type": "<string>",
"receiving_date": "2023-12-25",
"issuing_date": "2023-12-25"
},
"monitoring_events": [
{
"code": "<string>",
"description": "<string>"
}
],
"personnel_details": {
"board_of_directors": {
"directors": [
{
"full_name": "<string>",
"position": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"auth_symbol": "<string>",
"litigation_records": [
{
"accept_date": "2023-12-25",
"case_type": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"case_number": "<string>",
"claim_type": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"claim_description": "<string>",
"court": "<string>",
"petitioners": "<string>",
"planner": "<string>",
"amount": {
"value": "<string>",
"currency": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"display_units": "<string>",
"item": 123
}
}
]
}
],
"authorized_signature": "<string>",
"note": {
"formatted_text": "<string>",
"formatted_html": "<string>"
}
},
"top_managements": [
{
"full_name": "<string>",
"nationality": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"age": 123,
"position": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"education": {
"formatted_text": "<string>",
"formatted_html": "<string>"
},
"experience": {
"formatted_text": "<string>",
"formatted_html": "<string>"
},
"others": {
"formatted_text": "<string>",
"formatted_html": "<string>"
},
"status": {
"formatted_text": "<string>",
"formatted_html": "<string>"
},
"litigation_records": [
{
"accept_date": "2023-12-25",
"case_type": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"case_number": "<string>",
"claim_type": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"claim_description": "<string>",
"court": "<string>",
"petitioners": "<string>",
"planner": "<string>",
"amount": {
"value": "<string>",
"currency": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"display_units": "<string>",
"item": 123
}
}
]
}
]
},
"operation_details": {
"operation_state": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"primary_business": "<string>",
"isc_codes": [
{
"code": "<string>",
"name": "<string>",
"main": true,
"revision": "<string>"
}
],
"nace_codes": [
{
"code": "<string>",
"name": "<string>",
"main": true,
"revision": "<string>"
}
],
"total_employees": 123,
"major_customers": [
{
"name": "<string>",
"country": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
}
}
],
"major_suppliers": [
{
"name": "<string>",
"country": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
}
}
],
"brand_names": [
{
"brand": "<string>",
"description": "<string>"
}
],
"bankers": [
{
"name": "<string>",
"branches": [
"<string>"
]
}
],
"bankers_note": {
"formatted_text": "<string>",
"formatted_html": "<string>"
},
"insurers": [
{
"name": "<string>",
"type": "<string>"
}
],
"manpowers": [
{
"type": "<string>",
"amount": 123
}
],
"manpowers_note": {
"formatted_text": "<string>",
"formatted_html": "<string>"
},
"locations": [
{
"type": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"location": "<string>"
}
],
"locations_note": {
"formatted_text": "<string>",
"formatted_html": "<string>"
},
"branches": [
{
"name": "<string>",
"location": "<string>"
}
],
"related_parties": [
{
"relationship_type": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"registration_number": "<string>",
"name": "<string>"
}
],
"recent_performance": {
"date": "2023-12-25",
"currency": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"items": [
{
"name": "<string>",
"value": "<string>"
}
]
},
"litigation_records": [
{
"accept_date": "2023-12-25",
"case_type": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"case_number": "<string>",
"claim_type": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"claim_description": "<string>",
"court": "<string>",
"petitioners": "<string>",
"planner": "<string>",
"amount": {
"value": "<string>",
"currency": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"display_units": "<string>",
"item": 123
}
}
],
"history": {
"formatted_text": "<string>",
"formatted_html": "<string>"
},
"award": {
"formatted_text": "<string>",
"formatted_html": "<string>"
},
"business_activity": {
"formatted_text": "<string>",
"formatted_html": "<string>"
},
"production_capacity": {
"formatted_text": "<string>",
"formatted_html": "<string>"
},
"revenue_breakdown": {
"formatted_text": "<string>",
"formatted_html": "<string>"
},
"import_note": {
"formatted_text": "<string>",
"formatted_html": "<string>"
},
"export_note": {
"formatted_text": "<string>",
"formatted_html": "<string>"
},
"additional_information": {
"formatted_text": "<string>",
"formatted_html": "<string>"
},
"comment": {
"formatted_text": "<string>",
"formatted_html": "<string>"
}
},
"financial_details": {
"financial_summary": {
"registered_capital": {
"value": "<string>",
"currency": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"display_units": "<string>",
"item": 123
},
"paid_up_capital": {
"value": "<string>",
"currency": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"display_units": "<string>",
"item": 123
},
"total_revenues": {
"value": "<string>",
"currency": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"display_units": "<string>",
"item": 123
},
"operation_profit": {
"value": "<string>",
"currency": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"display_units": "<string>",
"item": 123
},
"earning_before_income_tax": {
"value": "<string>",
"currency": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"display_units": "<string>",
"item": 123
},
"net_profit": {
"value": "<string>",
"currency": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"display_units": "<string>",
"item": 123
}
},
"financial_history": [
{
"year": 123,
"assets": "<string>",
"loans": "<string>",
"liability": "<string>",
"deposits": "<string>",
"equity": "<string>",
"sales": "<string>",
"gross_income": "<string>",
"net_profit": "<string>",
"debt_to_equity": "<string>",
"loans_vs_deposits": "<string>",
"loans_vs_deposits_units": "<string>",
"defensive_interval": 123,
"npls_vs_loans": "<string>"
}
],
"currency": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"capital_variations": [
{
"date": "2023-12-25",
"description": "<string>",
"amount": {
"value": "<string>",
"currency": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"display_units": "<string>",
"item": 123
}
}
],
"capital_variations_note": {
"formatted_text": "<string>",
"formatted_html": "<string>"
},
"share_structure": {
"date": "2023-12-25",
"number_of_shareholders": {
"thais": 123,
"foreigners": 123,
"total": 123
},
"shareholding": {
"thais": 123,
"foreigners": 123,
"total": 123
}
},
"major_shareholders": {
"shareholders": [
{
"name": "<string>",
"nationality": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"country": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"shareholding": 123,
"percentage": "<string>"
}
],
"other_shareholders": {
"shareholding": 123,
"percentage": "<string>"
},
"note": {
"formatted_text": "<string>",
"formatted_html": "<string>"
}
},
"partners": [
{
"name": "<string>",
"nationality": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"amount": {
"value": "<string>",
"currency": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"display_units": "<string>",
"item": 123
},
"percentage": "<string>",
"unlimited_partner": true
}
],
"auditors": [
{
"name": "<string>"
}
],
"auditors_note": {
"formatted_text": "<string>",
"formatted_html": "<string>"
},
"financial_statement": {
"template": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"type_description": "<string>",
"consolidated": true,
"currency": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"display_units": "<string>",
"items": [
{
"item_code": "<string>",
"name": "<string>",
"item_type": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"is_custom": true,
"parent_code": "<string>",
"indent_level": 123,
"unit": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"amounts": [
{
"value": "<string>",
"date": "2023-12-25",
"item": 123,
"currency": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"display_units": "<string>"
}
]
}
],
"note": {
"formatted_text": "<string>",
"formatted_html": "<string>"
}
},
"statement_of_cashflow": {
"template": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"currency": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"label": "<string>",
"items": [
{
"item_code": "<string>",
"name": "<string>",
"item_type": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"is_custom": true,
"parent_code": "<string>",
"indent_level": 123,
"unit": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"amounts": [
{
"value": "<string>",
"date": "2023-12-25",
"item": 123,
"currency": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"display_units": "<string>"
}
]
}
],
"note": {
"formatted_text": "<string>",
"formatted_html": "<string>"
}
},
"financial_analysis": [
{
"description": "<string>",
"items": [
{
"subject": "<string>",
"status": "<string>",
"value": "<string>",
"industrial_average": "<string>",
"comment": "<string>"
}
]
}
],
"brief_financial_statement": {
"template": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"type_description": "<string>",
"consolidated": true,
"currency": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"display_units": "<string>",
"account_dates": [
"2023-12-25"
],
"items": [
{
"item_code": "<string>",
"name": "<string>",
"item_type": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"is_custom": true,
"parent_code": "<string>",
"indent_level": 123,
"unit": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"amounts": [
{
"value": "<string>",
"date": "2023-12-25",
"item": 123,
"currency": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"display_units": "<string>"
}
]
}
]
},
"full_financial_statement": {
"template": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"type_description": "<string>",
"consolidated": true,
"currency": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"items": [
{
"item_code": "<string>",
"parent_code": "<string>",
"is_custom": true,
"level": 123,
"level_order": 123,
"name": "<string>",
"amounts": [
{
"value": "<string>",
"date": "2023-12-25",
"item": 123,
"currency": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"display_units": "<string>"
}
]
}
]
}
},
"credit_rating": {
"rating_score": "<string>",
"rating_symbol": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"credit_limit": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"credit_limit_text": "<string>",
"definition": "<string>",
"credit_risk": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"credit_recommendation": "<string>",
"rating_outlook": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"rating_pd": "<string>",
"rating_pd_unit": "<string>",
"rating_definitions_url": "<string>"
},
"charts": [
{
"name": "<string>",
"type": "<string>",
"width": "<string>",
"height": "<string>",
"unit": "<string>",
"mime": "<string>",
"content": "<string>"
}
],
"summary": {
"financial_condition": {
"code": "<string>",
"name": "<string>",
"name_local": "<string>"
},
"business_size": "<string>"
},
"awards": {
"certifications": [
{
"type": "<string>",
"date_issued": "2023-12-25",
"issuer": "<string>"
}
],
"boi_privileges": [
{
"products": "<string>",
"date": "2023-12-25"
}
]
},
"remarks": [
{
"text": "<string>"
}
],
"credit_request": {
"request": "<string>",
"credit_opinion": "<string>",
"max_credit": "<string>"
},
"suggested_credit_limit_history": [
{
"date": "2023-12-25",
"suggested_credit_limit": "<string>",
"fs_year": "<string>"
}
]
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}Authorizations
BearerAuthOAuth2
Response
Successful Response
One order. Database orders are Completed at once and carry the report.
Offline orders start Active (status_code 0) without a report while INRA staff
check and create the real order; the report is attached once INRA completes
it (status_code 1). status_code 2 means the
order was cancelled and cancellation says why.

