v1

latestOpenAPI 3.0.22026-07-2432112226.7 KB
NPWP

Extract NPWP

The purpose of OCR is to extract information from NPWP image. The result will be in “text” format. All the data inside NPWP will be extracted.

You will receive a response consists of message and an error code if the request fails to process. The following is a list of error codes. <br>

Error statusError codeDescription
200NPWP_NOT_DETECTEDImage is not detected as NPWP
400INVALID_PAYLOADNo value in payload
400INVALID_PAYLOAD_IMAGE_FORMATInvalid image format
400INSUFFICIENT_QUOTAQuota is not sufficient to continue
500INTERNAL_SERVER_ERRORInternal server error
post/ocr/npwp

Headers

App-IDstring required
API-Keystring required

Response

Successful Response

Messagestring

Message indicating the status of the request to be processed

Example response

{
  "Message": "Success Extract NPWP data"
}