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

> Verify an Indonesian tax identifier (NPWP) against government records. Accepts both NPWP (15 digit) and NIK (16 digit) number



## OpenAPI

````yaml api-reference/openapi.json POST /api/v3/verifications/indonesia/npwp-validation
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
        enum:
          - integrate
          - api.ph
        description: >-
          IDmeta environment subdomain. Use `api.ph` for
          portalph.idmetagroup.com and `integrate` for verify.idmetagroup.com.
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-validation:
    post:
      tags:
        - Government Data
      summary: NPWP Verification
      description: >-
        Verify an Indonesian tax identifier (NPWP). Accepts 15 or 16 characters.
        If you submit 15 characters, prepend `0` to the value before sending
        (for example, `123456789012345` becomes `0123456789012345`).
      operationId: indonesiaNpwpValidationV3
      parameters:
        - name: Accept
          in: header
          required: false
          schema:
            type: string
            default: application/json
        - name: Content-Type
          in: header
          required: false
          schema:
            type: string
            default: application/json
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IdnNpwpValidationRequest'
            examples:
              default:
                summary: NPWP verification request
                value:
                  trustFlowId: 0
                  trustValidationId: '{your_trust_validation_id}'
                  npwp: <string>
      responses:
        '200':
          description: Indonesia NPWP verification processed successfully
          headers:
            Content-Type:
              schema:
                type: string
                example: application/json
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IdnNpwpValidationResponse'
              example:
                success: true
                message: Indonesia NPWP verification processed successfully
                data:
                  npwp: <string>
                  nama: <string>
                  alamat: <string>
                  statusWp: AKTIF
                  statusSpt: VALID
                verificationStatus: VERIFIED
                verificationStatusCode: 3
                trustFlowId: 0
                trustValidationId: '{your_trust_validation_id}'
                verificationType: idn_npwp_validation
                metadata: null
                createdAt: 2026-06-23 13:06:38+0000
components:
  schemas:
    IdnNpwpValidationRequest:
      type: object
      required:
        - trustFlowId
        - trustValidationId
        - npwp
      properties:
        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.
        npwp:
          type: string
          minLength: 15
          maxLength: 16
          description: >-
            Indonesian tax identifier (NPWP). Must be 15 or 16 characters. If
            you submit 15 characters, prepend `0` to the value before sending.
    IdnNpwpValidationResponse:
      type: object
      required:
        - success
        - message
        - data
        - verificationStatus
        - verificationStatusCode
        - trustFlowId
        - trustValidationId
        - verificationType
      properties:
        success:
          type: boolean
        message:
          type: string
        data:
          type: object
          properties:
            npwp:
              type: string
            nama:
              type: string
            alamat:
              type: string
            statusWp:
              type: string
            statusSpt:
              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.

````