---
title: "여권"
slug: "ai-application-service-ocr-ocrdocumentocr-passport"
updated: 2026-04-23T08:55:37Z
published: 2026-04-23T09:02:17Z
canonical: "api.ncloud-docs.com/ai-application-service-ocr-ocrdocumentocr-passport"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 여권

Classic/VPC 환경에서 이용 가능합니다.

특화 모델 엔진을 사용하여 국내 여권의 입력 정보(key-value)를 인식하고 추출합니다. 또한 외국 여권의 MRZ 영역 인식과 추출을 제공합니다.

## 요청

요청 형식을 설명합니다. 요청 형식은 다음과 같습니다.

| 메서드 | URI | 설명 |
| --- | --- | --- |
| POST | /id-card | 국내 여권 (신분증) |
| POST | /passport | 외국 여권 (Global) |

### 요청 헤더

CLOVA OCR API에서 공통으로 사용하는 헤더에 대한 정보는 [CLOVA OCR 요청 헤더](/docs/ai-application-service-ocr#%EC%9A%94%EC%B2%AD%ED%97%A4%EB%8D%94)를 참조해 주십시오.

### 요청 바디

요청 바디에 대한 설명은 다음과 같습니다.

#### `Content-Type: application/json`인 경우

요청 헤더 `Content-Type`이 `application/json`인 경우의 요청 바디에 대한 설명은 다음과 같습니다.

| 필드 | 타입 | 필수 여부 | 설명 |
| --- | --- | --- | --- |
| `version` | String | Required | 버전 정보 - `V2`만 사용 |
| `requestId` | String | Required | 임의의 API 호출 UUID |
| `timestamp` | Integer | Required | 임의의 API 호출 시각(밀리초) - Unix Timestamp 형식 |
| `images` | Array | Required | images 세부 정보: [images](/docs/ai-application-service-ocr-ocrdocumentocr-passport#images1) |

#### `Content-Type: multipart/form-data`인 경우

요청 헤더 `Content-Type`이 `multipart/form-data`인 경우의 요청 바디에 대한 설명은 다음과 같습니다.

| 필드 | 타입 | 필수 여부 | 설명 |
| --- | --- | --- | --- |
| `message` | Object | Required | 요청 데이터 정보 |
| `message.version` | String | Required | 버전 정보 - `V2`만 사용 |
| `message.requestId` | String | Required | 임의의 API 호출 UUID |
| `message.timestamp` | Integer | Required | 임의의 API 호출 시각(밀리초) - Unix Timestamp 형식 |
| `message.images` | Array | Required | images 세부 정보: [images](/docs/ai-application-service-ocr-ocrdocumentocr-passport#images1) |
| `file` | File | Required | OCR 인식 이미지 파일 |

#### `images`

`images`에 대한 설명은 다음과 같습니다.

| 필드 | 타입 | 필수 여부 | 설명 |
| --- | --- | --- | --- |
| `format` | String | Required | 이미지 형식 - `jpg` \| `jpeg` \| `png` \| `pdf` \| `tif` \| `tiff` - 이미지: `jpg`, `jpeg`, `png` - 단일 페이지: `pdf`, `tif`, `tiff` - 이미지 형식 중 하나를 선택하여 입력 |
| `name` | String | Required | 임의의 이미지 이름 - 이미지 식별 및 응답 결과 확인 시 사용 |
| `data` | String | Required | Base64 인코딩된 이미지 데이터 - `Content-Type: application/json`일 때 입력 가능 |

### 요청 예시

요청 예시는 다음과 같습니다.

#### `Content-Type: application/json`인 경우

요청 헤더 `Content-Type`이 `application/json`인 경우의 요청 예시는 다음과 같습니다.

```
curl --location --request POST 'https://cbgrx5natw.apigw.ntruss.com/custom/v1/{DomainId}/{InvokeKey}/document/id-card' \
--header 'Content-Type: application/json' \
--header 'X-OCR-SECRET: {앱 등록 시 발급받은 Secret Key}' \
--data '{
    "version": "V2",
    "requestId": "string",
    "timestamp": 0,
    "images": [
        { 
            "format": "png", 
            "name": "passport_test", 
            "data":"{Base64 인코딩된 이미지 데이터}"
        }
    ]
 }'
```

#### `Content-Type: multipart/form-data`인 경우

요청 헤더 `Content-Type`이 `multipart/form-data`인 경우의 요청 예시는 다음과 같습니다.

```
curl --location --request POST 'https://cbgrx5natw.apigw.ntruss.com/custom/v1/{DomainId}/{InvokeKey}/document/id-card' \
--header 'Content-Type: application/json' \
--header 'X-OCR-SECRET: {앱 등록 시 발급받은 Secret Key}' \
--form 'message="{\"version\": \"V2\", \"requestId\": \"1234\", \"timestamp\": 0, \"images\": [{\"format\": \"png\", \"name\": \"passport_test\"}]}"' \
--form 'file=@"{file}"'
```

## 응답

응답 형식을 설명합니다.

### 응답 바디

응답 바디에 대한 설명은 다음과 같습니다.

| 필드 | 타입 | 필수 여부 | 설명 |
| --- | --- | --- | --- |
| `version` | String | - | 버전 정보 - `V2`만 사용 |
| `requestId` | String | - | API 호출 UUID |
| `timestamp` | Integer | - | API 호출 시각(밀리초) - Unix Timestamp 형식 |
| `images` | Array | - | images 세부 정보: [images](/docs/ai-application-service-ocr-ocrdocumentocr-passport#images2) |

#### `images`

`images`에 대한 설명은 다음과 같습니다.

| 필드 | 타입 | 필수 여부 | 설명 |
| --- | --- | --- | --- |
| `uid` | String | - | 여권 이미지 UID - API 유효성 검사 시 사용 |
| `name` | String | - | 여권 이미지 이름 - 이미지 식별 및 응답 결과 확인 시 사용 |
| `inferResult` | String | - | 여권 이미지 인식 결과 - `SUCCESS` \| `FAILURE` \| `ERROR` - `SUCCESS`: 인식 성공 - `FAILURE`: 인식 실패 - `ERROR`: 인식 처리 예외 |
| `message` | String | - | 결과 메시지 |
| `validationResult` | Object | - | 유효성 검사 결과 정보 |
| `validationResult.result` | String | - | 유효성 검사 결과 코드 - `NO_REQUESTED` \| `UNCHECKED` \| `ERROR` \| `VALID` \| `INVALID` - `NO_REQUESTED`: 검증 작업 미요청(유효성 검사 실패) - `UNCHECKED`: 검증 여부 확인 불가 - `ERROR`: 검증 시 에러 발생(유효성 검사 실패) - `VALID`: 검증 결과 유효(유효성 검사 성공) - `INVALID`: 검증 통과 실패 |
| `validationResult.message` | String | - | 유효성 검사 결과 세부 메시지 - 항상 응답되는 값은 아님 |
| `convertedImageInfo` | Object | - | 변환 이미지 정보 - `format`이 `pdf` 또는 `tiff`일 때 - 좌표 값은 호출 이미지 파일을 기준으로 설정 |
| `convertedImageInfo.width` | Integer | - | 변환 이미지 가로 길이 |
| `convertedImageInfo.height` | Integer | - | 변환 이미지 세로 길이 |
| `convertedImageInfo.pageIndex` | Integer | - | 변환 이미지 페이지 인덱스 |
| `idCard` | Object | - | 신분증 세부 정보 |
| `idCard.meta` | Object | - | 메타 정보 |
| `idCard.meta.estimatedLanguage` | String | - | OCR 추정 언어 - `ko` \| `en` \| `ja` - `ko`:한국어 - `en`: 영어 - `ja`: 일본어 |
| `idCard.result` | Object | - | 신분증 (국내 여권) OCR 인식 결과[result](/docs/ai-application-service-ocr-ocrdocumentocr-passport#result) |
| `passport.passportResult` | Object | - | 여권 (Global) OCR 인식 결과: [passportResult](/docs/ai-application-service-ocr-ocrdocumentocr-passport#passportResult) |

#### `result`

`result`에 대한 설명은 다음과 같습니다.

| 필드 | 타입 | 필수 여부 | 설명 |
| --- | --- | --- | --- |
| `isConfident` | Boolean | - | 각 유형 세부 정보 보유 여부 - `true` \| `false` - `true`: 보유 - `false`: 미보유 |
| `pp` | Object | - | 여권 정보 |
| `pp.type` | Array | - | 여권 유형 상세 정보: [type](/docs/ai-application-service-ocr-ocrdocumentocr-passport#type) |
| `pp.issueCountry` | Array | - | 여권 발급 국가 상세 정보: [issueCountry](/docs/ai-application-service-ocr-ocrdocumentocr-passport#issueCountry) |
| `pp.num` | Array | - | 여권 번호 상세 정보: [num](/docs/ai-application-service-ocr-ocrdocumentocr-passport#num) |
| `pp.surName` | Array | - | 성씨 상세 정보: [name](/docs/ai-application-service-ocr-ocrdocumentocr-passport#name) |
| `pp.givenName` | Array | - | 이름 상세 정보: [name](/docs/ai-application-service-ocr-ocrdocumentocr-passport#name) |
| `pp.nationality` | Array | - | 국적 상세 정보: [nationality](/docs/ai-application-service-ocr-ocrdocumentocr-passport#nationality) |
| `pp.birthDate` | Array | - | 생년월일 상세 정보: [일자 객체 정보](/docs/ai-application-service-ocr-ocrdocumentocr-passport#%EC%9D%BC%EC%9E%90%EA%B0%9D%EC%B2%B4%EC%A0%95%EB%B3%B4) |
| `pp.sex` | Array | - | 성별 상세 정보: [sex](/docs/ai-application-service-ocr-ocrdocumentocr-passport#sex) |
| `pp.issueDate` | Array | - | 발급 일자 상세 정보: [일자 객체 정보](/docs/ai-application-service-ocr-ocrdocumentocr-passport#%EC%9D%BC%EC%9E%90%EA%B0%9D%EC%B2%B4%EC%A0%95%EB%B3%B4) |
| `pp.expireDate` | Array | - | 만료 일자 상세 정보: [일자 객체 정보](/docs/ai-application-service-ocr-ocrdocumentocr-passport#%EC%9D%BC%EC%9E%90%EA%B0%9D%EC%B2%B4%EC%A0%95%EB%B3%B4) |
| `pp.authority` | Array | - | 발급 기관 상세 정보: [authority](/docs/ai-application-service-ocr-ocrdocumentocr-passport#authority) |
| `pp.fullNameKor` | Array | - | 전체 이름 상세 정보: [authority](/docs/ai-application-service-ocr-ocrdocumentocr-passport#authority) |
| `pp.mrz1` | Array | - | 기계판독영역1 상세 정보: [mrz](/docs/ai-application-service-ocr-ocrdocumentocr-passport#mrz) |
| `pp.mrz2` | Array | - | 기계판독영역2 상세 정보: [mrz](/docs/ai-application-service-ocr-ocrdocumentocr-passport#mrz) |
| `rois` | Array | - | 객체 테두리 위치 정보: [rois](/docs/ai-application-service-ocr-ocrdocumentocr-passport#rois) |
| `idType` | String | - | 신분증 유형 - `Passport` |

#### type

`type`에 대한 설명은 다음과 같습니다.

| 필드 | 타입 | 필수 여부 | 설명 |
| --- | --- | --- | --- |
| `text` | String | - | 인식된 유형 텍스트 |
| `formatted` | Object | - | 인식된 유형 텍스트 정보 |
| `formatted.value` | String | - | 인식된 유형 텍스트 값 |
| `keyText` | String | - | 인식된 유형 텍스트의 키 값 |
| `confidenceScore` | Float | - | 인식된 유형 텍스트 신뢰도 - 0~1 - 신뢰도 값이 클수록 텍스트의 정확도가 높음 |
| `boundingPolys` | Array | - | boundingPoly 세부 정보: [boundingPolys](/docs/ai-application-service-ocr-ocrdocumentocr-passport#boundingpolys) |
| `maskingPolys` | Array | - | maskingPoly 세부 정보: [maskingPolys](/docs/ai-application-service-ocr-ocrdocumentocr-passport#maskingpolys) |

#### issueCountry

`issueCountry`에 대한 설명은 다음과 같습니다.

| 필드 | 타입 | 필수 여부 | 설명 |
| --- | --- | --- | --- |
| `text` | String | - | 인식된 발급 국가 텍스트 |
| `keyText` | String | - | 인식된 발급 국가 텍스트의 키 값 |
| `confidenceScore` | Float | - | 인식된 발급 국가 텍스트 신뢰도 - 0~1 - 신뢰도 값이 클수록 텍스트의 정확도가 높음 |
| `boundingPolys` | Array | - | boundingPoly 세부 정보: [boundingPolys](/docs/ai-application-service-ocr-ocrdocumentocr-passport#boundingpolys) |

#### num

`num`에 대한 설명은 다음과 같습니다.

| 필드 | 타입 | 필수 여부 | 설명 |
| --- | --- | --- | --- |
| `text` | String | - | 인식된 번호 텍스트 |
| `formatted` | Object | - | 인식된 번호 텍스트 정보 |
| `formatted.value` | String | - | 인식된 번호 텍스트 값 |
| `keyText` | String | - | 인식된 번호 텍스트의 키 값 |
| `confidenceScore` | Float | - | 인식된 번호 텍스트 신뢰도 - 0~1 - 신뢰도 값이 클수록 텍스트의 정확도가 높음 |
| `boundingPolys` | Array | - | boundingPoly 세부 정보: [boundingPolys](/docs/ai-application-service-ocr-ocrdocumentocr-passport#boundingpolys) |
| `maskingPolys` | Array | - | maskingPoly 세부 정보: [maskingPolys](/docs/ai-application-service-ocr-ocrdocumentocr-passport#maskingpolys) |

#### name

`surName`, `GivenName`에 대한 설명은 다음과 같습니다.

| 필드 | 타입 | 필수 여부 | 설명 |
| --- | --- | --- | --- |
| `text` | String | - | 인식된 이름 텍스트 |
| `formatted` | Object | - | 인식된 이름 텍스트 정보 |
| `formatted.value` | String | - | 인식된 이름 텍스트 값 |
| `keyText` | String | - | 인식된 이름 텍스트의 키 값 |
| `confidenceScore` | Float | - | 인식된 이름 텍스트 신뢰도 - 0~1 - 신뢰도 값이 클수록 텍스트의 정확도가 높음 |
| `boundingPolys` | Array | - | boundingPoly 세부 정보: [boundingPolys](/docs/ai-application-service-ocr-ocrdocumentocr-passport#boundingpolys) |
| `maskingPolys` | Array | - | maskingPoly 세부 정보: [maskingPolys](/docs/ai-application-service-ocr-ocrdocumentocr-passport#maskingpolys) |

#### nationality

`nationality`에 대한 설명은 다음과 같습니다.

| 필드 | 타입 | 필수 여부 | 설명 |
| --- | --- | --- | --- |
| `text` | String | - | 인식된 국적 텍스트 |
| `formatted` | Object | - | 인식된 국적 텍스트 정보 |
| `formatted.value` | String | - | 인식된 국적 텍스트 값 |
| `keyText` | String | - | 인식된 국적 텍스트의 키 값 |
| `confidenceScore` | Float | - | 인식된 국적 텍스트 신뢰도 - 0~1 - 신뢰도 값이 클수록 텍스트의 정확도가 높음 |
| `boundingPolys` | Array | - | boundingPoly 세부 정보: [boundingPolys](/docs/ai-application-service-ocr-ocrdocumentocr-passport#boundingpolys) |
| `maskingPolys` | Array | - | maskingPoly 세부 정보: [maskingPolys](/docs/ai-application-service-ocr-ocrdocumentocr-passport#maskingpolys) |

#### 일자 객체 정보

일자 객체에 대한 설명은 다음과 같습니다.

| 필드 | 타입 | 필수 여부 | 설명 |
| --- | --- | --- | --- |
| `text` | String | - | 인식된 일자 텍스트 |
| `formatted` | Object | - | 인식된 일자 텍스트 정보 |
| `formatted.year` | String | - | 인식된 일자의 연도(yyyy) |
| `formatted.month` | String | - | 인식된 일자의 월(MM) |
| `formatted.day` | String | - | 인식된 일자의 일(dd) |
| `keyText` | String | - | 인식된 발급 텍스트의 키 값 |
| `confidenceScore` | Float | - | 인식된 일자 텍스트 신뢰도 - 0~1 - 신뢰도 값이 클수록 텍스트의 정확도가 높음 |
| `boundingPolys` | Array | - | boundingPoly 세부 정보: [boundingPolys](/docs/ai-application-service-ocr-ocrdocumentocr-passport#boundingpolys) |
| `maskingPolys` | Array | - | maskingPoly 세부 정보: [maskingPolys](/docs/ai-application-service-ocr-ocrdocumentocr-passport#maskingpolys) |

#### sex

`sex`에 대한 설명은 다음과 같습니다.

| 필드 | 타입 | 필수 여부 | 설명 |
| --- | --- | --- | --- |
| `text` | String | - | 인식된 성별 텍스트 |
| `formatted` | Object | - | 인식된 성별 텍스트 정보 |
| `formatted.value` | String | - | 인식된 성별 텍스트 값 |
| `keyText` | String | - | 인식된 성별 텍스트의 키 값 |
| `confidenceScore` | Float | - | 인식된 성별 텍스트 신뢰도 - 0~1 - 신뢰도 값이 클수록 텍스트의 정확도가 높음 |
| `boundingPolys` | Array | - | boundingPoly 세부 정보: [boundingPolys](/docs/ai-application-service-ocr-ocrdocumentocr-passport#boundingpolys) |
| `maskingPolys` | Array | - | maskingPoly 세부 정보: [maskingPolys](/docs/ai-application-service-ocr-ocrdocumentocr-passport#maskingpolys) |

#### authority

`authority`에 대한 설명은 다음과 같습니다.

| 필드 | 타입 | 필수 여부 | 설명 |
| --- | --- | --- | --- |
| `text` | String | - | 인식된 발급 기관 텍스트 |
| `keyText` | String | - | 인식된 발급 기관 텍스트의 키 값 |
| `confidenceScore` | Float | - | 인식된 발급 기관 텍스트 신뢰도 - 0~1 - 신뢰도 값이 클수록 텍스트의 정확도가 높음 |
| `boundingPolys` | Array | - | boundingPoly 세부 정보: [boundingPolys](/docs/ai-application-service-ocr-ocrdocumentocr-passport#boundingpolys) |

#### fullNameKor

`fullNameKor`에 대한 설명은 다음과 같습니다.

| 필드 | 타입 | 필수 여부 | 설명 |
| --- | --- | --- | --- |
| `text` | String | - | 인식된 전체 이름 텍스트 |
| `formatted` | Object | - | 인식된 전체 이름 텍스트 정보 |
| `formatted.value` | String | - | 인식된 전체 이름 텍스트 값 |
| `keyText` | String | - | 인식된 전체 이름 텍스트의 키 값 |
| `confidenceScore` | Float | - | 인식된 전체 이름 텍스트 신뢰도 - 0~1 - 신뢰도 값이 클수록 텍스트의 정확도가 높음 |
| `boundingPolys` | Array | - | boundingPoly 세부 정보: [boundingPolys](/docs/ai-application-service-ocr-ocrdocumentocr-passport#boundingpolys) |
| `maskingPolys` | Array | - | maskingPoly 세부 정보: [maskingPolys](/docs/ai-application-service-ocr-ocrdocumentocr-passport#maskingpolys) |

#### mrz

`mrz`에 대한 설명은 다음과 같습니다.

| 필드 | 타입 | 필수 여부 | 설명 |
| --- | --- | --- | --- |
| `text` | String | - | 인식된 MRZ 텍스트 |
| `formatted` | Object | - | 인식된 MRZ 텍스트 정보 |
| `formatted.value` | String | - | 인식된 MRZ 텍스트 값 |
| `keyText` | String | - | 인식된 MRZ 텍스트의 키 값 |
| `confidenceScore` | Float | - | 인식된 MRZ 텍스트 신뢰도 - 0~1 - 신뢰도 값이 클수록 텍스트의 정확도가 높음 |
| `boundingPolys` | Array | - | boundingPoly 세부 정보: [boundingPolys](/docs/ai-application-service-ocr-ocrdocumentocr-passport#boundingpolys) |
| `maskingPolys` | Array | - | maskingPoly 세부 정보: [maskingPolys](/docs/ai-application-service-ocr-ocrdocumentocr-passport#maskingpolys) |

#### rois

`rois`에 대한 설명은 다음과 같습니다.

| 필드 | 타입 | 필수 여부 | 설명 |
| --- | --- | --- | --- |
| `x` | Float | - | 객체 테두리 위치 X축 좌표 값 |
| `y` | Float | - | 객체 테두리 위치 Y축 좌표 값 |

#### `boundingPolys`

`boundingPolys`에 대한 설명은 다음과 같습니다.

| 필드 | 타입 | 필수 여부 | 설명 |
| --- | --- | --- | --- |
| `vertices` | Array | - | vertices 세부 정보: [vertices](/docs/ai-application-service-ocr-ocrdocumentocr-passport#vertices) |

#### `maskingPolys`

`maskingPolys`에 대한 설명은 다음과 같습니다.

| 필드 | 타입 | 필수 여부 | 설명 |
| --- | --- | --- | --- |
| `vertices` | Array | - | vertices 세부 정보: [vertices](/docs/ai-application-service-ocr-ocrdocumentocr-passport#vertices) |

#### `vertices`

`vertices`에 대한 설명은 다음과 같습니다.

| 필드 | 타입 | 필수 여부 | 설명 |
| --- | --- | --- | --- |
| `x` | Float | - | X축 좌표 값 |
| `y` | Float | - | Y축 좌표 값 |

#### `passportResult`

`passportResult`에 대한 설명은 다음과 같습니다.

| 필드 | 타입 | 필수 여부 | 설명 |
| --- | --- | --- | --- |
| `documentClassCode` | String | - | 문서 코드 |
| `issuingStateCode` | String | - | 발급 국가 |
| `firstName` | String | - | 이름 |
| `lastName1` | String | - | 첫 번째 성 |
| `lastName2` | String | - | 두 번째 성 |
| `documentNumber` | String | - | 여권 번호 |
| `checkDigitForDocumentNumber` | MrzString | - | 문서 번호에 대한 확인 숫자 |
| `nationality` | String | - | 국적 |
| `dateOfBirth` | String | - | 생년월일 |
| `age` | Integer | - | 나이 |
| `checkDigitForDateOfBirth` | String | - | 생년월일에 대한 확인 숫자 |
| `gender` | String | - | 성별 |
| `dateOfExpiry` | String | - | 만료 일자 |
| `checkDigitForDateOfExpiry` | String | - | 만료 일자에 대한 확인 숫자 |
| `personalNumber` | String | - | 주민등록번호 |
| `checkDigitForPersonalNumber` | String | - | 주민등록번호에 대한 확인 숫자 |
| `finalCheckDigit` | String | - | 최종 확인 숫자 |
| `mrzType` | String | - | 기계 판독 영역(Machine Readable Zone, MRZ) 타입 |
| `mrzLines` | String | - | 기계 판독 영역(Machine Readable Zone, MRZ) 텍스트 |
| `isExpired` | Boolean | - | 만료 여부 |

### 응답 상태 코드

CLOVA OCR API에서 공통으로 사용하는 응답 상태 코드에 대한 정보는 [CLOVA OCR 공통 응답 상태 코드](/docs/ai-application-service-ocr#%EC%9D%91%EB%8B%B5%EC%83%81%ED%83%9C%EC%BD%94%EB%93%9C)를 참조해 주십시오.

### 응답 예시

응답 예시는 다음과 같습니다.

#### 성공

호출이 성공한 경우의 응답 예시는 다음과 같습니다.

**국내 여권 (신분증)**

```
{
    "version": "V2",
    "requestId": "1234",
    "timestamp": 1725412120101,
    "images": [
        {
            "uid": "{uid}",
            "name": "passport_test",
            "inferResult": "SUCCESS",
            "message": "SUCCESS",
            "validationResult": {
                "result": "NO_REQUESTED"
            },
            "idCard": {
                "meta": {
                    "estimatedLanguage": "ko"
                },
                "result": {
                    "isConfident": true,
                    "pp": {
                        "type": [
                            {
                                "text": "PM",
                                "formatted": {
                                    "value": "PM"
                                },
                                "keyText": "",
                                "confidenceScore": 0.0,
                                "boundingPolys": [
                                    {
                                        "vertices": [
                                            {
                                                "x": 187.23215,
                                                "y": 428.7616
                                            },
                                            {
                                                "x": 206.57947,
                                                "y": 428.7616
                                            },
                                            {
                                                "x": 206.57947,
                                                "y": 439.99554
                                            },
                                            {
                                                "x": 187.23215,
                                                "y": 439.99554
                                            }
                                        ]
                                    }
                                ],
                                "maskingPolys": []
                            }
                        ],
                        "issueCountry": [
                            {
                                "text": "KOR",
                                "keyText": "",
                                "confidenceScore": 0.0,
                                "boundingPolys": [
                                    {
                                        "vertices": [
                                            {
                                                "x": 234.04018,
                                                "y": 428.7616
                                            },
                                            {
                                                "x": 260.8768,
                                                "y": 428.7616
                                            },
                                            {
                                                "x": 260.8768,
                                                "y": 439.99554
                                            },
                                            {
                                                "x": 234.04018,
                                                "y": 439.99554
                                            }
                                        ]
                                    }
                                ]
                            }
                        ],
                        "num": [
                            {
                                "text": "M123A****",
                                "formatted": {
                                    "value": "M123A****"
                                },
                                "keyText": "",
                                "confidenceScore": 0.0,
                                "boundingPolys": [
                                    {
                                        "vertices": [
                                            {
                                                "x": 327.65625,
                                                "y": 428.7616
                                            },
                                            {
                                                "x": 395.68393,
                                                "y": 428.7616
                                            },
                                            {
                                                "x": 395.68393,
                                                "y": 439.99554
                                            },
                                            {
                                                "x": 327.65625,
                                                "y": 439.99554
                                            }
                                        ]
                                    }
                                ],
                                "maskingPolys": [
                                    {
                                        "vertices": [
                                            {
                                                "x": 326.53287,
                                                "y": 427.6382
                                            },
                                            {
                                                "x": 396.8073,
                                                "y": 427.6382
                                            },
                                            {
                                                "x": 396.8073,
                                                "y": 441.11893
                                            },
                                            {
                                                "x": 326.53287,
                                                "y": 441.11893
                                            }
                                        ]
                                    }
                                ]
                            }
                        ],
                        "surName": [
                            {
                                "text": "HONG",
                                "formatted": {
                                    "value": "HONG"
                                },
                                "keyText": "",
                                "confidenceScore": 0.0,
                                "boundingPolys": [
                                    {
                                        "vertices": [
                                            {
                                                "x": 187.23215,
                                                "y": 454.97412
                                            },
                                            {
                                                "x": 224.05446,
                                                "y": 454.97412
                                            },
                                            {
                                                "x": 224.05446,
                                                "y": 466.83215
                                            },
                                            {
                                                "x": 187.23215,
                                                "y": 466.83215
                                            }
                                        ]
                                    }
                                ],
                                "maskingPolys": []
                            }
                        ],
                        "givenName": [
                            {
                                "text": "GIL****",
                                "formatted": {
                                    "value": "GIL****"
                                },
                                "keyText": "",
                                "confidenceScore": 0.0,
                                "boundingPolys": [
                                    {
                                        "vertices": [
                                            {
                                                "x": 187.23215,
                                                "y": 481.8107
                                            },
                                            {
                                                "x": 241.52946,
                                                "y": 481.8107
                                            },
                                            {
                                                "x": 241.52946,
                                                "y": 493.66876
                                            },
                                            {
                                                "x": 187.23215,
                                                "y": 493.66876
                                            }
                                        ]
                                    }
                                ],
                                "maskingPolys": []
                            }
                        ],
                        "nationality": [
                            {
                                "text": "REPUBLIC OF KOREA",
                                "formatted": {
                                    "value": "REPUBLIC OF KOREA"
                                },
                                "keyText": "",
                                "confidenceScore": 0.0,
                                "boundingPolys": [
                                    {
                                        "vertices": [
                                            {
                                                "x": 187.74973,
                                                "y": 569.2035
                                            },
                                            {
                                                "x": 244.59932,
                                                "y": 568.4555
                                            },
                                            {
                                                "x": 244.73523,
                                                "y": 578.78436
                                            },
                                            {
                                                "x": 187.88564,
                                                "y": 579.53235
                                            }
                                        ]
                                    }
                                ],
                                "maskingPolys": []
                            }
                        ],
                        "birthDate": [
                            {
                                "text": "01 2월/FEB 1987",
                                "formatted": {
                                    "year": "1987",
                                    "month": "02",
                                    "day": "01"
                                },
                                "keyText": "",
                                "confidenceScore": 0.0,
                                "boundingPolys": [
                                    {
                                        "vertices": [
                                            {
                                                "x": 186.60803,
                                                "y": 534.8598
                                            },
                                            {
                                                "x": 204.70714,
                                                "y": 534.8598
                                            },
                                            {
                                                "x": 204.70714,
                                                "y": 547.96606
                                            },
                                            {
                                                "x": 186.60803,
                                                "y": 547.96606
                                            }
                                        ]
                                    }
                                ],
                                "maskingPolys": []
                            }
                        ],
                        "sex": [
                            {
                                "text": "F んだ",
                                "formatted": {
                                    "value": "F"
                                },
                                "keyText": "",
                                "confidenceScore": 0.0,
                                "boundingPolys": [
                                    {
                                        "vertices": [
                                            {
                                                "x": 187.23215,
                                                "y": 558.57587
                                            },
                                            {
                                                "x": 204.08304,
                                                "y": 558.57587
                                            },
                                            {
                                                "x": 204.08304,
                                                "y": 565.4411
                                            },
                                            {
                                                "x": 187.23215,
                                                "y": 565.4411
                                            }
                                        ]
                                    }
                                ],
                                "maskingPolys": []
                            }
                        ],
                        "issueDate": [
                            {
                                "text": "15 8월/AUG 2020",
                                "formatted": {
                                    "year": "2020",
                                    "month": "08",
                                    "day": "15"
                                },
                                "keyText": "",
                                "confidenceScore": 0.0,
                                "boundingPolys": [
                                    {
                                        "vertices": [
                                            {
                                                "x": 187.23215,
                                                "y": 594.7741
                                            },
                                            {
                                                "x": 202.83482,
                                                "y": 594.7741
                                            },
                                            {
                                                "x": 202.83482,
                                                "y": 605.3839
                                            },
                                            {
                                                "x": 187.23215,
                                                "y": 605.3839
                                            }
                                        ]
                                    }
                                ],
                                "maskingPolys": []
                            }
                        ],
                        "expireDate": [
                            {
                                "text": "15 8월/AUG 2030",
                                "formatted": {
                                    "year": "2030",
                                    "month": "08",
                                    "day": "15"
                                },
                                "keyText": "",
                                "confidenceScore": 0.0,
                                "boundingPolys": [
                                    {
                                        "vertices": [
                                            {
                                                "x": 328.28036,
                                                "y": 594.15
                                            },
                                            {
                                                "x": 343.25894,
                                                "y": 594.15
                                            },
                                            {
                                                "x": 343.25894,
                                                "y": 605.3839
                                            },
                                            {
                                                "x": 328.28036,
                                                "y": 605.3839
                                            }
                                        ]
                                    }
                                ],
                                "maskingPolys": []
                            }
                        ],
                        "authority": [
                            {
                                "text": "MINISTRY OF FOREIGN AFFAIRS",
                                "keyText": "",
                                "confidenceScore": 0.0,
                                "boundingPolys": [
                                    {
                                        "vertices": [
                                            {
                                                "x": 328.28036,
                                                "y": 569.8098
                                            },
                                            {
                                                "x": 373.84018,
                                                "y": 569.8098
                                            },
                                            {
                                                "x": 373.84018,
                                                "y": 577.9232
                                            },
                                            {
                                                "x": 328.28036,
                                                "y": 577.9232
                                            }
                                        ]
                                    }
                                ]
                            }
                        ],
                        "fullNameKor": [
                            {
                                "text": "홍**",
                                "formatted": {
                                    "value": "홍**"
                                },
                                "keyText": "",
                                "confidenceScore": 0.0,
                                "boundingPolys": [
                                    {
                                        "vertices": [
                                            {
                                                "x": 186.60803,
                                                "y": 506.775
                                            },
                                            {
                                                "x": 223.43036,
                                                "y": 506.775
                                            },
                                            {
                                                "x": 223.43036,
                                                "y": 522.3777
                                            },
                                            {
                                                "x": 186.60803,
                                                "y": 522.3777
                                            }
                                        ]
                                    }
                                ],
                                "maskingPolys": []
                            }
                        ],
                        "mrz1": [
                            {
                                "text": "PMKORHONG<<GIL****<<<<<<<<<<<<<<<<<<<<<<<<<<<<",
                                "formatted": {
                                    "value": "PMKORHONG<<GIL****<<<<<<<<<<<<<<<<<<<<<<<<<<"
                                },
                                "keyText": "",
                                "confidenceScore": 0.0,
                                "boundingPolys": [
                                    {
                                        "vertices": [
                                            {
                                                "x": 32.45357,
                                                "y": 638.4616
                                            },
                                            {
                                                "x": 484.93124,
                                                "y": 638.4616
                                            },
                                            {
                                                "x": 484.93124,
                                                "y": 650.9437
                                            },
                                            {
                                                "x": 32.45357,
                                                "y": 650.9437
                                            }
                                        ]
                                    }
                                ],
                                "maskingPolys": [
                                    {
                                        "vertices": [
                                            {
                                                "x": 31.20536,
                                                "y": 637.2134
                                            },
                                            {
                                                "x": 486.17944,
                                                "y": 637.2134
                                            },
                                            {
                                                "x": 486.17944,
                                                "y": 652.19196
                                            },
                                            {
                                                "x": 31.20536,
                                                "y": 652.19196
                                            }
                                        ]
                                    }
                                ]
                            }
                        ],
                        "mrz2": [
                            {
                                "text": "M123A45670K0R*****0000000000000000",
                                "formatted": {
                                    "value": "M123A45670K0R*****00000000000000"
                                },
                                "keyText": "",
                                "confidenceScore": 0.0,
                                "boundingPolys": [
                                    {
                                        "vertices": [
                                            {
                                                "x": 31.829464,
                                                "y": 663.42584
                                            },
                                            {
                                                "x": 486.17938,
                                                "y": 663.42584
                                            },
                                            {
                                                "x": 486.17938,
                                                "y": 677.7803
                                            },
                                            {
                                                "x": 31.829464,
                                                "y": 677.7803
                                            }
                                        ]
                                    }
                                ],
                                "maskingPolys": [
                                    {
                                        "vertices": [
                                            {
                                                "x": 30.39402,
                                                "y": 661.9904
                                            },
                                            {
                                                "x": 487.61484,
                                                "y": 661.9904
                                            },
                                            {
                                                "x": 487.61484,
                                                "y": 679.2157
                                            },
                                            {
                                                "x": 30.39402,
                                                "y": 679.2157
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    },
                    "rois": [
                        {
                            "vertices": [
                                {
                                    "x": 10.000834,
                                    "y": 364.93756
                                },
                                {
                                    "x": 500.2946,
                                    "y": 364.6102
                                },
                                {
                                    "x": 501.1391,
                                    "y": 692.69543
                                },
                                {
                                    "x": 6.990344,
                                    "y": 694.3484
                                }
                            ]
                        }
                    ],
                    "idtype": "Passport"
                }
            }
        }
    ]
}
```

**외국 여권 (Global)**

```
{
    "version": "V2",
    "requestId": "1234",
    "timestamp": 1746768488690,
    "images": [
        {
            "uid": "{uid}",
            "name": "global_passport_test",
            "inferResult": "SUCCESS",
            "message": "SUCCESS",
            "validationResult": {
                "result": "NO_REQUESTED"
            },
            "passport": {
                "passportResult": {
                    "documentClassCode": {
                        "rawText": "P<",
                        "refinedText": "Passport",
                        "postprocessed": []
                    },
                    "issuingStateCode": {
                        "rawText": "USA",
                        "refinedText": "United States of America (the)",
                        "postprocessed": []
                    },
                    "firstName": {
                        "rawText": "G***",
                        "refinedText": "G***",
                        "postprocessed": []
                    },
                    "lastName1": {
                        "rawText": "R***",
                        "refinedText": "R***",
                        "postprocessed": []
                    },
                    "lastName2": {
                        "rawText": "R***",
                        "refinedText": "R***",
                        "postprocessed": []
                    },
                    "documentNumber": {
                        "rawText": "<31******",
                        "refinedText": "31******",
                        "postprocessed": []
                    },
                    "checkDigitForDocumentNumber": {
                        "rawText": "4",
                        "refinedText": "4",
                        "postprocessed": []
                    },
                    "nationality": {
                        "rawText": "USA",
                        "refinedText": "United States of America (the)",
                        "postprocessed": []
                    },
                    "dateOfBirth": {
                        "rawText": "123456",
                        "refinedText": "2012/34/56",
                        "postprocessed": []
                    },
                    "age": {
                        "rawText": "",
                        "refinedText": 0,
                        "postprocessed": []
                    },
                    "checkDigitForDateOfBirth": {
                        "rawText": "7",
                        "refinedText": "7",
                        "postprocessed": []
                    },
                    "gender": {
                        "rawText": "M",
                        "refinedText": "Male",
                        "postprocessed": []
                    },
                    "dateOfExpiry": {
                        "rawText": "123456",
                        "refinedText": "2012/34/56",
                        "postprocessed": []
                    },
                    "checkDigitForDateOfExpiry": {
                        "rawText": "7",
                        "refinedText": "7",
                        "postprocessed": []
                    },
                    "personalNumber": {
                        "rawText": "8*************",
                        "refinedText": "8*************",
                        "postprocessed": []
                    },
                    "checkDigitForPersonalNumber": {
                        "rawText": "5",
                        "refinedText": "5",
                        "postprocessed": []
                    },
                    "finalCheckDigit": {
                        "rawText": "6",
                        "refinedText": "6",
                        "postprocessed": []
                    },
                    "mrzType": {
                        "rawText": "",
                        "refinedText": "ID-3",
                        "postprocessed": []
                    },
                    "mrzLines": {
                        "rawText": "P<USA****************************************************",
                        "refinedText": "P<USA****************************************************",
                        "postprocessed": []
                    },
                    "isExpired": {
                        "rawText": "",
                        "refinedText": true,
                        "postprocessed": []
                    }
                }
            }
        }
    ]
}
```

#### 실패

호출이 실패한 경우의 응답 예시는 다음과 같습니다.

```
{
    "version": "V2",
    "requestId": "1234",
    "timestamp": 1725235840459,
    "images": [
        {
            "uid": "{uid}",
            "name": "passport_test",
            "inferResult": "ERROR",
            "message": "Read page:0 error.",
            "validationResult": {
                "result": "NO_REQUESTED"
            }
        }
    ]
}
```
