이용자에게 국세 체납 사실이 없음을 증명하는 국세완납증명(납세증명서)을 실시간으로 발급합니다. 증명 사용목적과 제출처, 주민등록번호·주소 표기 여부를 지정할 수 있고, 유효기간과 체납내역(완납 시 빈 배열)을 함께 반환합니다. 조회 절차 1. 본인 인증 - 이용자가 간편인증(quick) 또는 공동·금융인증서(pki)로 본인확인을 수행합니다. 2. 발급옵션 지정 - 증명 사용목적(proofType: payment 대금수령 / other 기타), 제출처(submitTarget), 주민등록번호·주소 표기 여부(revealRrn·revealAddress)를 지정합니다. 3. 체납여부 조회 - 홈택스 시스템에서 실시간 체납 여부를 확인합니다. 4. 증명서 발급 - 유효기간과 체납내역(완납 시 빈 배열)을 구조화된 데이터(JSON)로 반환합니다. 발급번호는 원천에서 제공하지 않을 경우 빈값으로 반환될 수 있습니다. — Korean national tax payment certificate (no tax arrears) issued from Hometax. Requires user identity auth.
curl -X POST "https://apitree.ai/api/v1/proxy/kr-hometax-tax-cert" \
-H "Authorization: Bearer nxs_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-H "X-Idempotency-Key: <unique-id>" \
-d '{"auth":"quick","ownerName":"<ownerName>","identity":"<identity>","phoneNo":"<phoneNo>"}'
# repeat every 3 s until status is "done" or "failed" (stop on 410/504; a job unfinished after 8 minutes expires)
curl "https://apitree.ai/api/v1/jobs/<job_id>" \
-H "Authorization: Bearer nxs_live_YOUR_KEY"