> ## 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.

# Indonesia Driving Licence Details Extraction

> Extract structured fields from an Indonesian driving licence (SIM) without creating a Trust Validation.



## OpenAPI

````yaml stateless-verification-api/document-ocr/idn-driving-license-details-extraction.openapi.json POST /api/v3/verifications/indonesia/driving-license-details-extraction-passthrough
openapi: 3.0.3
info:
  title: Document OCR API - Indonesia Driving Licence Details Extraction
  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: []
paths:
  /api/v3/verifications/indonesia/driving-license-details-extraction-passthrough:
    post:
      tags:
        - Document OCR
      summary: Indonesia Driving Licence Details Extraction
      description: >-
        Extract structured fields from an Indonesian driving licence (SIM)
        without creating a Trust Validation.
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
            example: Bearer {your_api_token}
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              required:
                - documentImage
              properties:
                documentImage:
                  type: string
                  format: binary
                  description: >-
                    The driving licence (SIM) image. JPG, JPEG, PNG, or PDF, up
                    to 2 MB. A base64 string (raw or `data:` URI) is also
                    accepted.
                metadata:
                  type: object
                  additionalProperties: true
                  description: Optional key-value pairs echoed back in the response.
      responses:
        '200':
          description: >-
            The document was processed. Check `data.outcome` and
            `verificationStatus` to determine the result.
          content:
            application/json:
              examples:
                extracted:
                  summary: extracted — VERIFIED
                  value:
                    success: true
                    message: >-
                      Indonesia driving license details extraction processed
                      successfully
                    data:
                      outcome: extracted
                      fields:
                        licenseNumber:
                          value: '870925120004'
                          confidence: 98.80%
                        name:
                          value: BUDI SANTOSO
                          confidence: 98.55%
                        placeOfBirth:
                          value: JAKARTA
                          confidence: 98.32%
                        dateOfBirth:
                          value: '1987-09-25'
                          confidence: 98.40%
                        gender:
                          value: PRIA
                          confidence: 99.05%
                        bloodType:
                          value: O
                          confidence: 95.10%
                        address:
                          street:
                            value: JL. MERPATI RAYA NO. 12
                            confidence: 96.44%
                          rt:
                            value: '003'
                            confidence: 98.20%
                          rw:
                            value: '007'
                            confidence: 98.20%
                          village:
                            value: KEBAYORAN LAMA UTARA
                            confidence: 96.90%
                          district:
                            value: KEBAYORAN LAMA
                            confidence: 97.35%
                        occupation:
                          value: KARYAWAN SWASTA
                          confidence: 95.60%
                        licenseType:
                          value: SIM A
                          confidence: 99.12%
                        validUntil:
                          value: '2027-09-25'
                          confidence: 98.05%
                        issuedDate:
                          value: '2022-09-25'
                          confidence: 97.70%
                        issuingPlace:
                          value: JAKARTA SELATAN
                          confidence: 98.15%
                        province:
                          value: METRO JAYA
                          confidence: 97.44%
                        signature: null
                        photo: null
                      missingFields: []
                    verificationStatus: VERIFIED
                    verificationStatusCode: 3
                    transactionId: 1e6b47ac-05d9-42f8-9c73-6a08b21fd5e7
                    verificationType: idn_driving_license_details_extraction
                    metadata: null
                    createdAt: '2026-09-01T05:18:29.000000Z'
                partial:
                  summary: partial — REVIEW_NEEDED
                  value:
                    success: true
                    message: >-
                      Indonesia driving license details extraction processed
                      successfully
                    data:
                      outcome: partial
                      fields:
                        licenseNumber: null
                        name:
                          value: BUDI SANTOSO
                          confidence: 98.55%
                        placeOfBirth:
                          value: JAKARTA
                          confidence: 98.32%
                        dateOfBirth:
                          value: '1987-09-25'
                          confidence: 98.40%
                        gender:
                          value: PRIA
                          confidence: 99.05%
                        bloodType:
                          value: O
                          confidence: 95.10%
                        address:
                          street:
                            value: JL. MERPATI RAYA NO. 12
                            confidence: 96.44%
                          rt:
                            value: '003'
                            confidence: 98.20%
                          rw:
                            value: '007'
                            confidence: 98.20%
                          village:
                            value: KEBAYORAN LAMA UTARA
                            confidence: 96.90%
                          district:
                            value: KEBAYORAN LAMA
                            confidence: 97.35%
                        occupation:
                          value: KARYAWAN SWASTA
                          confidence: 95.60%
                        licenseType:
                          value: SIM A
                          confidence: 99.12%
                        validUntil:
                          value: '2027-09-25'
                          confidence: 98.05%
                        issuedDate:
                          value: '2022-09-25'
                          confidence: 97.70%
                        issuingPlace:
                          value: JAKARTA SELATAN
                          confidence: 98.15%
                        province:
                          value: METRO JAYA
                          confidence: 97.44%
                        signature: null
                        photo: null
                      missingFields:
                        - licenseNumber
                    verificationStatus: REVIEW_NEEDED
                    verificationStatusCode: 2
                    transactionId: 1e6b47ac-05d9-42f8-9c73-6a08b21fd5e7
                    verificationType: idn_driving_license_details_extraction
                    metadata: null
                    createdAt: '2026-09-01T05:18:29.000000Z'
                rejected:
                  summary: rejected — REJECTED
                  value:
                    success: true
                    message: >-
                      Indonesia driving license details extraction processed
                      successfully
                    data:
                      outcome: rejected
                      fields:
                        licenseNumber: null
                        name: null
                        placeOfBirth: null
                        dateOfBirth: null
                        gender: null
                        bloodType: null
                        address:
                          street: null
                          rt: null
                          rw: null
                          village: null
                          district: null
                        occupation: null
                        licenseType: null
                        validUntil: null
                        issuedDate: null
                        issuingPlace: null
                        province: null
                        signature: null
                        photo: null
                      missingFields:
                        - licenseNumber
                        - name
                      errorReason: wrong_document_type
                      errorMessage: >-
                        The uploaded document does not appear to be a Driving
                        License
                    verificationStatus: REJECTED
                    verificationStatusCode: 1
                    transactionId: 1e6b47ac-05d9-42f8-9c73-6a08b21fd5e7
                    verificationType: idn_driving_license_details_extraction
                    metadata: null
                    createdAt: '2026-09-01T05:18:29.000000Z'
        '400':
          description: The request body or the submitted image failed validation.
          content:
            application/json:
              examples:
                unsupportedFileType:
                  summary: Unsupported file type
                  value:
                    success: false
                    code: VALIDATION_FAILED
                    message: Invalid Image, only JPG, JPEG, PNG and PDF are allowed
                    verificationStatus: FAILED
                    verificationStatusCode: 6
                    transactionId: f05a9c37-4b16-42e8-8d70-6ea3182bc594
                    verificationType: idn_driving_license_details_extraction
                    metadata: null
                    createdAt: '2026-09-01T06:16:52.000000Z'
        '500':
          description: >-
            The request could not be processed — either an internal error
            occurred, or the OCR source was unavailable. Check `code` to
            distinguish the two.
          content:
            application/json:
              examples:
                sourceUnavailable:
                  summary: SOURCE_UNAVAILABLE
                  value:
                    success: false
                    code: SOURCE_UNAVAILABLE
                    message: >-
                      Could not reach Mistral Document AI: Connection timed out
                      after 120000 milliseconds
                    verificationStatus: FAILED
                    verificationStatusCode: 6
                    transactionId: 27de6b05-a3f1-4c88-b092-e514ac7d3f6a
                    verificationType: idn_driving_license_details_extraction
                    metadata: null
                    createdAt: '2026-09-01T06:23:44.000000Z'
                internalError:
                  summary: INTERNAL_ERROR
                  value:
                    success: false
                    code: INTERNAL_ERROR
                    message: >-
                      An internal error has occurred while processing your
                      request. Please try again later.
                    verificationStatus: FAILED
                    verificationStatusCode: 6
                    transactionId: 27de6b05-a3f1-4c88-b092-e514ac7d3f6a
                    verificationType: idn_driving_license_details_extraction
                    metadata: null
                    createdAt: '2026-09-01T06:32:07.000000Z'
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Use your API token as a Bearer token in the `Authorization` header.

````