> ## Documentation Index
> Fetch the complete documentation index at: https://docs.smartcomply.com/llms.txt
> Use this file to discover all available pages before exploring further.

# TIN entreprise

> Vérifiez le Numéro d'Identification Fiscale d'une entreprise nigériane.

<Note>
  TIN entreprise/commercial uniquement. Les recherches de TIN individuel ne sont prises en charge par aucun fournisseur derrière cet endpoint.
</Note>

L'endpoint TIN entreprise valide un Numéro d'Identification Fiscale commercial par rapport à la base de données de la FIRS (Federal Inland Revenue Service) et renvoie le nom du contribuable associé, le numéro d'enregistrement CAC, le bureau fiscal et les coordonnées.

<Note>
  `/api/onboarding/business/company_tin/` est un alias pour ce même endpoint et cette même vérification. Si vous êtes déjà intégré contre celui-ci, aucune modification n'est nécessaire — il continue de fonctionner. Pour les nouvelles intégrations, utilisez `/api/onboarding/nigeria_kyc/tin/` ci-dessus.
</Note>

## Endpoint

```
POST /api/onboarding/nigeria_kyc/tin/
```

## Requête

### En-têtes

| En-tête          | Valeur                | Requis |
| ---------------- | --------------------- | ------ |
| `x-access-token` | Votre clé secrète API | Oui    |
| `Content-Type`   | `application/json`    | Oui    |

### Paramètres de corps

| Paramètre                   | Type   | Requis | Description                                                                                   |
| --------------------------- | ------ | ------ | --------------------------------------------------------------------------------------------- |
| `tax_identification_number` | string | Oui    | Le Numéro d'Identification Fiscale de l'entreprise (format : `234123456-0001`, 8-14 chiffres) |

### Exemple

<CodeGroup>
  ```bash cURL theme={null}
  curl -X POST "https://adhere-api.smartcomply.com/api/onboarding/nigeria_kyc/tin/" \
    -H "x-access-token: YOUR_SECRET_KEY" \
    -H "Content-Type: application/json" \
    -d '{"tax_identification_number": "234123456-0001"}'
  ```

  ```python Python theme={null}
  import requests
  response = requests.post(
      "https://adhere-api.smartcomply.com/api/onboarding/nigeria_kyc/tin/",
      headers={"x-access-token": "YOUR_SECRET_KEY", "Content-Type": "application/json"},
      json={"tax_identification_number": "234123456-0001"},
  )
  ```
</CodeGroup>

## Réponse

### 200 OK

| Champ                 | Type   | Description                                 |
| --------------------- | ------ | ------------------------------------------- |
| `data.taxpayer_name`  | string | Nom du contribuable enregistré              |
| `data.cac_reg_number` | string | Numéro d'enregistrement CAC (si applicable) |
| `data.firstin`        | string | Premier TIN émis                            |
| `data.jittin`         | string | TIN de revenus conjoints (si applicable)    |
| `data.tax_office`     | string | Bureau fiscal assigné                       |
| `data.phone_number`   | string | Numéro de téléphone enregistré              |
| `data.email`          | string | E-mail enregistré (si disponible)           |
| `data.search`         | string | Le terme de recherche utilisé               |

```json theme={null}
{
  "status": "success",
  "data": {
    "search": "07012345678",
    "taxpayer_name": "FISAYOMI KAYODE NIG LTD",
    "cac_reg_number": "RC012345",
    "firstin": "12345678-0001",
    "jittin": "N/A",
    "tax_office": "MSTO ALIMOSHO",
    "phone_number": "08109110099",
    "email": ""
  },
  "message": "Tax Identification Number details retrieved successfully"
}
```

### 400 Bad Request

```json theme={null}
{
  "status": "failed",
  "data": [],
  "message": "Sorry, your check cannot be processed at the moment. Please try again in a few minutes"
}
```

### 401 Unauthorized

```json theme={null}
{
  "status": "failed",
  "message": "Authentication credentials were not provided."
}
```


## OpenAPI

````yaml POST /api/onboarding/nigeria_kyc/tin/
openapi: 3.0.3
info:
  title: Adhere API
  description: >-
    Identity verification, credit checks, transaction monitoring, and loan fraud
    detection across Africa.
  version: 3.0.0
servers:
  - url: https://adhere-api.smartcomply.com
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: Nigeria KYC
  - name: Kenya KYC
  - name: Ghana KYC
  - name: Rwanda KYC
  - name: Uganda KYC
  - name: Document Verification
  - name: Biometrics
  - name: Individual Credit
  - name: Business Credit
  - name: Transaction Monitoring
  - name: Transaction Screening
  - name: Transaction KYC
  - name: Loan Fraud
  - name: User Journey
paths:
  /api/onboarding/nigeria_kyc/tin/:
    post:
      tags:
        - Nigeria KYC
      summary: Tax Identification Number (TIN)
      operationId: tin
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - tax_identification_number
              properties:
                tax_identification_number:
                  type: string
                  description: >-
                    The company's Tax Identification Number (format:
                    234123456-0001, 8-14 digits)
                  example: 234123456-0001
      responses:
        '200':
          description: TIN verified
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  responses:
    BadRequest:
      description: Bad Request
      content:
        application/json:
          schema:
            type: object
            properties:
              status:
                type: string
                example: failed
              data:
                type: array
                items: {}
              message:
                type: string
    Unauthorized:
      description: Unauthorized
      content:
        application/json:
          schema:
            type: object
            properties:
              status:
                type: string
                example: failed
              message:
                type: string
                example: Authentication credentials were not provided.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-access-token
      description: Your Adhere API secret key

````