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

# Driving License Details Extraction

> Perform OCR on an Indonesian driving license (SIM) and return the extracted fields.



## OpenAPI

````yaml api-reference/openapi.json POST /api/v3/verifications/indonesia/driving-license-details-extraction
openapi: 3.0.3
info:
  title: IDmeta API
  description: IDmeta verification and integration API.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://{environment-subdomain}.idmetagroup.com
    description: Your environment (replace `{environment-subdomain}`)
    variables:
      environment-subdomain:
        default: integrate
        description: IDmeta environment subdomain
security:
  - bearerAuth: []
tags:
  - name: Processes
    description: Verification process endpoints
  - name: Trust Flow Links
    description: Trust Flow link generation endpoints
  - name: Compliance
    description: Compliance verification endpoints
  - name: Government Data
    description: Government data verification endpoints
  - name: Alternative Verifications
    description: Alternative verification and intelligence endpoints
  - name: OCR
    description: Document OCR extraction endpoints
paths:
  /api/v3/verifications/indonesia/driving-license-details-extraction:
    post:
      tags:
        - OCR
      summary: Driving License Details Extraction
      description: >-
        Perform OCR on an Indonesian driving license (SIM) and return the
        extracted fields, including license number, name, address, license type,
        and validity.
      operationId: indonesiaDrivingLicenseDetailsExtractionV3
      parameters:
        - name: Accept
          in: header
          required: false
          schema:
            type: string
            default: application/json
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              required:
                - documentImage
                - trustFlowId
                - trustValidationId
              properties:
                documentImage:
                  type: string
                  format: binary
                  description: Image file of the driving license document.
                trustFlowId:
                  type: integer
                  description: >-
                    Identifier used to categorize or group requests for tracking
                    or reporting.
                trustValidationId:
                  type: string
                  description: A unique ID used to identify your verification request.
      responses:
        '200':
          description: Indonesia driving license details extraction processed successfully
          headers:
            Content-Type:
              schema:
                type: string
                example: application/json
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/IdnDrivingLicenseDetailsExtractionV3Response
              example:
                success: true
                message: >-
                  Indonesia driving license details extraction processed
                  successfully
                data:
                  outcome: extracted
                  fields:
                    license_number: '123456789012'
                    name: BUDI SANTOSO
                    place_of_birth: BANDUNG
                    date_of_birth: '1990-01-15'
                    gender: PRIA
                    blood_type: null
                    address:
                      street: JL MELATI NO. 10 RT.01/02 SUKAMAJU CILODONG
                      rt: '01'
                      rw: '02'
                      village: SUKAMAJU
                      district: CILODONG
                    occupation: C02 SWASTA
                    license_type: C
                    valid_until: '2028-12-14'
                    issued_date: '2023-05-12'
                    issuing_place: KAPOLRES BANDUNG
                    province: JAWA BARAT
                    signature: null
                    photo: null
                  missingFields: []
                verificationStatus: VERIFIED
                verificationStatusCode: 3
                trustFlowId: 0
                trustValidationId: '{your_trust_validation_id}'
                verificationType: idn_driving_license_details_extraction
                metadata: null
                createdAt: 2026-07-30 03:45:25+0000
components:
  schemas:
    IdnDrivingLicenseDetailsExtractionV3Response:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        data:
          type: object
          properties:
            outcome:
              type: string
              description: Extraction outcome, for example `extracted`.
            fields:
              type: object
              properties:
                license_number:
                  type: string
                  description: Driving license (SIM) number.
                name:
                  type: string
                  description: Full name as printed on the license.
                place_of_birth:
                  type: string
                  description: Place of birth.
                date_of_birth:
                  type: string
                  description: Date of birth in `YYYY-MM-DD` format.
                gender:
                  type: string
                  description: >-
                    Gender as printed on the license, for example `PRIA` or
                    `WANITA`.
                blood_type:
                  type: string
                  nullable: true
                  description: Blood type, if present on the license.
                address:
                  type: object
                  description: Registered address components extracted from the license.
                  properties:
                    street:
                      type: string
                      description: Street address line.
                    rt:
                      type: string
                      description: RT (neighborhood unit).
                    rw:
                      type: string
                      description: RW (community unit).
                    village:
                      type: string
                      description: Village or kelurahan.
                    district:
                      type: string
                      description: District or kecamatan.
                occupation:
                  type: string
                  description: Occupation as printed on the license.
                license_type:
                  type: string
                  description: License class/type, for example `A`, `B`, or `C`.
                valid_until:
                  type: string
                  description: License expiry date in `YYYY-MM-DD` format.
                issued_date:
                  type: string
                  description: Date of issue in `YYYY-MM-DD` format.
                issuing_place:
                  type: string
                  description: Issuing police authority.
                province:
                  type: string
                  description: Issuing province or regional command.
                signature:
                  type: string
                  nullable: true
                  format: uri
                  description: URL of the cropped signature image, if available.
                photo:
                  type: string
                  nullable: true
                  format: uri
                  description: URL of the cropped photo image, if available.
            missingFields:
              type: array
              description: Fields that could not be extracted from the document.
              items:
                type: string
        verificationStatus:
          type: string
        verificationStatusCode:
          type: integer
        trustFlowId:
          type: integer
        trustValidationId:
          type: string
        verificationType:
          type: string
        metadata:
          nullable: true
        createdAt:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Use `Bearer {your_api_token}` in the Authorization header.

````