API Reference
Get Member Detail

Get Member Detail

Description

This endpoint is used to retrieve detailed information about a specific business identified by their CamInvoice ID (endpoint_id).

GET {BaseURL}/api/v1/business/{endpoint_id}
Content-Type: application/json
Authorization: Bearer {access_token}

Method

GET

Headers

  • Content-Type: application/json
  • Authorization: Bearer {access_token}

Path Parameters

ParameterTypeDescriptionRequired
endpoint_idStringThe main identifier of this entity (CamInvoice ID). (e.g. KHUID00001234).Yes

Response

HTTP Status 200 (OK)

{
  "endpoint_id": "KHUID00001324",
  "company_name_en": "Expresso Co ltd",
  "company_name_kh": "អុិចសប្រេសូ",
  "entity_type": "PRIVATE_SECTOR",
  "entity_id": "000001234",
  "tin": "K001-3333333",
  "country": "KH",
}

Response Fields

Field NameDescription
endpoint_idThe main identifier of this entity (CamInvoice ID). (e.g. KHUID00001234).
company_name_enThe official name of the company in English.
company_name_khThe official name of the company in Khmer.
entity_typeThe type of an entity that can either be private(businesses) or public sector (government)
entity_idFor business, this is the unique ID provided by the Ministry of Commerce. For the government, this is their unique ID for their entity/department.
tinThe Tax Identification Number (TIN) of an entity.
countryThe country code where the company is located.

HTTP Status 404 (Not Found)

This response occurs when the specified endpoint_id does not exist.

Notes

  • Ensure the client handles the retrieval and display of business details appropriately.
  • The endpoint returns detailed information about a business identified by their endpoint_id.