> For the complete documentation index, see [llms.txt](https://developer.fraudcheck.co.za/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.fraudcheck.co.za/commercial-service/identity/statutory-details-on-file.md).

# Business Details

Business Details retrieves the statutory filing history and director information held on record for a registered business. It returns formal statutory log entries (changes to company structure, filings, and status updates) together with a structured list of directors. Use it to verify the regulatory filing history of a company and confirm the current directorship.

## When to use this

* Verifying a company's statutory compliance and filing history
* Confirming the director list as recorded on statutory documents
* Auditing changes to company structure (name changes, status changes, capital changes)

## How it works

| Property              | Value                                                                |
| --------------------- | -------------------------------------------------------------------- |
| Response type         | `Synchronous`                                                        |
| Typical response time | < 5s                                                                 |
| Result retrieval      | `GET /commercial-service/statutory-details-on-file/{transaction_id}` |
| Consent required      | `Yes`                                                                |
| Region                | South Africa                                                         |

## Authentication

```http
Authorization: Bearer {your_access_token}
```

## Endpoints

```http
POST /commercial-service/statutory-details-on-file
GET  /commercial-service/statutory-details-on-file/{transaction_id}
```

## Request

### Headers

| Header          | Required | Value              |
| --------------- | -------- | ------------------ |
| `Authorization` | Yes      | `Bearer {token}`   |
| `Content-Type`  | Yes      | `application/json` |

### Body parameters

| Field                          | Type    | Required | Description                                                |
| ------------------------------ | ------- | -------- | ---------------------------------------------------------- |
| `CompanyName`                  | string  | Yes\*    | Registered company name. Required if no `CompanyRegNo`.    |
| `CompanyRegNo`                 | string  | Yes\*    | Company registration number. Required if no `CompanyName`. |
| `EnquiryReason`                | string  | Yes      | Reason code for the enquiry.                               |
| `ConsentObtainedByDataSubject` | boolean | Yes      | Must be `true`. Confirms POPIA consent.                    |
| `ReferenceNo`                  | string  | No       | Your own reference.                                        |

### Example request

```json
{
  "CompanyName": "Example Company (Pty) Ltd",
  "CompanyRegNo": "2021/123456/07",
  "EnquiryReason": "CreditInformationQuery",
  "ConsentObtainedByDataSubject": true
}
```

## Response

### Response fields

| Field                      | Type    | Description                                 |
| -------------------------- | ------- | ------------------------------------------- |
| `success`                  | boolean | `true` if the API call succeeded.           |
| `transaction_id`           | string  | Unique identifier for this request.         |
| `searched_name`            | string  | Company name that was searched.             |
| `searched_registration_no` | string  | Registration number that was searched.      |
| `enquiry_reason`           | string  | Enquiry reason code used.                   |
| `statutory_logs_count`     | integer | Number of statutory log entries returned.   |
| `directors_count`          | integer | Number of director records returned.        |
| `statutory_details`        | object  | Statutory filing details.                   |
| `directors`                | array   | Director records from the statutory filing. |

### `statutory_details` key fields

The `statutory_details` object contains the statutory filing details. Key fields include:

| Field                | Description                                            |
| -------------------- | ------------------------------------------------------ |
| `business_name`      | Registered business name.                              |
| `registration_no`    | Company registration number.                           |
| `registration_date`  | Date the company was registered.                       |
| `business_status`    | Current registration status.                           |
| `business_type`      | Entity type (e.g. Private Company, Close Corporation). |
| `financial_year_end` | Financial year-end month.                              |
| `registered_address` | Registered office address.                             |
| `previous_names`     | List of previous company names and change dates.       |
| `statutory_logs`     | Array of statutory events filed with CIPC.             |

### `directors[]` key fields

| Field              | Description                          |
| ------------------ | ------------------------------------ |
| `surname`          | Director's surname.                  |
| `forename1`        | Director's first name.               |
| `id_number`        | South African identity number.       |
| `date_of_birth`    | Date of birth.                       |
| `appointment_date` | Date appointed.                      |
| `director_type`    | Type of directorship.                |
| `director_status`  | Active, Resigned, etc.               |
| `address`          | Address as per the statutory filing. |

### Example response

```json
{
  "success": true,
  "transaction_id": "e1f2a3b4-c5d6-7890-efab-901234567890",
  "searched_name": "Example Company (Pty) Ltd",
  "searched_registration_no": "2021/123456/07",
  "enquiry_reason": "01",
  "statutory_logs_count": 3,
  "directors_count": 2,
  "statutory_details": {
    "business_name": "Example Company (Pty) Ltd",
    "registration_no": "2021/123456/07",
    "registration_date": "2021-01-15",
    "business_status": "Active",
    "business_type": "Private Company",
    "financial_year_end": "February",
    "registered_address": "1 Main Road, Sandton, Gauteng, 2196",
    "statutory_logs": [
      {
        "log_date": "2021-01-15",
        "log_type": "Registration",
        "description": "Company registered"
      },
      {
        "log_date": "2023-03-10",
        "log_type": "Director Change",
        "description": "New director appointed"
      }
    ]
  },
  "directors": [
    {
      "surname": "Smith",
      "forename1": "John",
      "id_number": "8601015800086",
      "appointment_date": "2021-01-15",
      "director_type": "Executive",
      "director_status": "Active"
    },
    {
      "surname": "Dlamini",
      "forename1": "Sipho",
      "id_number": "9203025800080",
      "appointment_date": "2023-03-10",
      "director_type": "Executive",
      "director_status": "Active"
    }
  ]
}
```

## Retrieving results later

```http
GET /commercial-service/statutory-details-on-file/{transaction_id}
```

Use the `transaction_id` from the POST response to retrieve the result again at any time.

## Errors

| HTTP | Code            | Meaning                              | Action                               |
| ---- | --------------- | ------------------------------------ | ------------------------------------ |
| 401  | `unauthorized`  | Token missing or expired             | Refresh your access token            |
| 403  | `forbidden`     | Account lacks access to this service | Contact your account manager         |
| 422  | `invalid_input` | Required field missing or invalid    | See `details.field`                  |
| 500  | `server_error`  | Unexpected error                     | Retry; contact support if persistent |

## Code examples

{% tabs %}
{% tab title="cURL" %}

```bash
BASE_URL="https://commercial-service-api.fraudcheckonline.co.za/commercial-service"

curl -X POST "$BASE_URL/statutory-details-on-file" \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "CompanyName": "Example Company (Pty) Ltd",
    "CompanyRegNo": "2021/123456/07",
    "EnquiryReason": "01",
    "ConsentObtainedByDataSubject": true
  }'
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

BASE_URL = "https://commercial-service-api.fraudcheckonline.co.za/commercial-service"

response = requests.post(
    f"{BASE_URL}/statutory-details-on-file",
    headers={
        "Authorization": f"Bearer {access_token}",
        "Content-Type": "application/json",
    },
    json={
        "CompanyName": "Example Company (Pty) Ltd",
        "CompanyRegNo": "2021/123456/07",
        "EnquiryReason": "01",
        "ConsentObtainedByDataSubject": True,
    },
)
data = response.json()
```

{% endtab %}

{% tab title="JavaScript (Node.js)" %}

```javascript
const BASE_URL = "https://commercial-service-api.fraudcheckonline.co.za/commercial-service";

const response = await fetch(`${BASE_URL}/statutory-details-on-file`, {
  method: "POST",
  headers: {
    Authorization: `Bearer ${accessToken}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    CompanyName: "Example Company (Pty) Ltd",
    CompanyRegNo: "2021/123456/07",
    EnquiryReason: "01",
    ConsentObtainedByDataSubject: true,
  }),
});
const data = await response.json();
```

{% endtab %}
{% endtabs %}

## Compliance & consent

* Obtain explicit consent from the data subject before submitting a request.
* Set `ConsentObtainedByDataSubject` to `true` to confirm consent has been captured.
* Retain proof of consent in line with POPIA requirements.

## FAQ

<details>

<summary>What client timeout should I configure?</summary>

Up to 30 seconds.

</details>

<details>

<summary>How does this differ from Principal Details?</summary>

Statutory Details on File focuses on formal statutory filings submitted to CIPC - registration events, name changes, and structural updates - along with the directors recorded in those filings. Principal Details is focused on the consumer bureau records for directors, including adverse and linked-entity data.

</details>

## Changelog

| Date       | Version | Change           |
| ---------- | ------- | ---------------- |
| 2026-04-21 | v1.0    | Initial release. |
