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

# NPWP Details Extraction

> Perform OCR on an Indonesian NPWP (tax identification) card and return the extracted fields.



## OpenAPI

````yaml api-reference/openapi.json POST /api/v3/verifications/indonesia/npwp-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/npwp-details-extraction:
    post:
      tags:
        - OCR
      summary: NPWP Details Extraction
      description: >-
        Perform OCR on an Indonesian NPWP (tax identification) card and return
        the extracted fields, including the NPWP number, registered name,
        address, and tax office (KPP).
      operationId: indonesiaNpwpDetailsExtractionV3
      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 NPWP 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 NPWP details extraction processed successfully
          headers:
            Content-Type:
              schema:
                type: string
                example: application/json
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IdnNpwpDetailsExtractionV3Response'
              example:
                success: true
                message: Indonesia NPWP details extraction processed successfully
                data:
                  outcome: extracted
                  fields:
                    npwp: '0123456789012000'
                    name: PT CONTOH SEJAHTERA
                    nik: null
                    address: >-
                      JALAN MELATI RAYA NO. 10, RT 001/RW 002, SUKAMAJU,
                      CILODONG, KOTA BOGOR, JAWA BARAT, 16913
                    kpp: KPP PRATAMA BOGOR
                    registration_date: '2022-06-03'
                  missingFields: []
                verificationStatus: VERIFIED
                verificationStatusCode: 3
                trustFlowId: 0
                trustValidationId: '{your_trust_validation_id}'
                verificationType: npwp_details_extraction
                metadata: null
                createdAt: 2026-07-21 05:47:42+0000
components:
  schemas:
    IdnNpwpDetailsExtractionV3Response:
      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:
                npwp:
                  type: string
                  description: NPWP tax identification number.
                name:
                  type: string
                  description: Registered name on the NPWP card.
                nik:
                  type: string
                  nullable: true
                  description: >-
                    Indonesian National Identity Number (NIK), if present on the
                    card.
                address:
                  type: string
                  description: Registered address on the NPWP card.
                kpp:
                  type: string
                  description: Tax office (Kantor Pelayanan Pajak) that issued the card.
                registration_date:
                  type: string
                  description: Registration date in `YYYY-MM-DD` format.
            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.

````