List CamInvoice Member
Description
This endpoint is used to list CamInvoice member information by searching for businesses.
GET {BaseURL}/api/v1/business?keyword={keyword}&limit={limit}
Content-Type: application/json
Authorization: "Bearer {access_token}"
Method
GET
Headers
- Content-Type:
application/json
- Authorization:
Bearer {access_token}
Request Query Parameter
Field | Type | Description |
---|---|---|
keyword | String | A keyword to search for entities (e.g., name, TIN, etc.) |
limit | number | The maximum number of businesses to return in the result |
Response
HTTP Status 200 (OK)
Response Array of Business where Business field describe below
Field | Description |
---|---|
endpoint_id | The main identifier of an entity or CamInvoice ID |
entity_id | For business, this is the unique ID provided by the Ministry of Commerce. For the government, this is their unique ID for their entity/department. |
tin | The Tax Identification Number (TIN) of an entity. |
company_name_en | Entity Name in English |
company_name_kh | Entity Name in Khmer |
entity_type | The type of an entity that can either be private(businesses) or public sector (government) |