Skip to content
Bitaloka Docs
NPWP parser

NPWP parser

Validate and parse an NPWP tax number with its checksum.

Request

GET https://api.bitaloka.io/v1/npwp/{npwp}
Path parameter→ application/json

Parameters

NameTypeDescription
npwprequired text 15- or 16-digit NPWP; dots and dashes optional (09.254.294.3-407.000).Example: 092542943407000

Code samples

Generated from one source and tested against the live API.

curl -sS "https://api.bitaloka.io/v1/npwp/092542943407000" \
  -H "X-API-Key: $BITALOKA_API_KEY" \
  --fail-with-body

Uses: curl 7.x+ · example.sh

Response

Real response from the live API for the example request.

200 OK · application/json
{
  "valid": true,
  "input": "092542943407000",
  "normalized": "092542943407000",
  "format": "legacy-15",
  "type": "09",
  "typeLabel": "Bendahara / Instansi Pemerintah",
  "kpp": "254",
  "serial": "294",
  "checkDigit": "3",
  "branch": "407",
  "branchLabel": "Cabang 407",
  "status": "000",
  "checksumValid": true,
  "summary": "Bendahara / Instansi Pemerintah, KPP 254, Cabang 407, checksum valid",
  "errors": [],
  "warnings": []
}

Use from an AI agent

On the Bitaloka MCP server this service is the validate_npwp tool. MCP server →

Related services