Korea Number & Format Checks

v0.1.0
ai.opencurrent/kr-format Checked 4 days ago Published 15 days ago

Korean business registration number check digits, won amounts in Korean words, phone normalization.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

kr_check_business_number Validate a Korean business registration number

Check the format and check digit of a Korean business registration number (사업자등록번호, 10 digits) or corporate registration number (법인등록번호, 13 digits). Does not check whether the business is active or closed.

ParameterTypeDescription
number *string
kindstringbusiness (default, 10 digits) or corporate (13 digits)

kr_amount_in_words Write a won amount in Korean

Write an amount in Korean won as words: formal (계약서·영수증 style, e.g. 금 일백이십삼만사천오백원정) and plain (e.g. 백이십삼만 사천오백 원).

ParameterTypeDescription
amount *integer

kr_normalize_phone Normalize a Korean phone number

Normalize a Korean phone number to display form (010-1234-5678, 02-123-4567, 1588-1234) and E.164 (+821012345678), and tell its kind (mobile, Seoul, area code, nationwide 15xx/16xx/18xx, internet 070).

ParameterTypeDescription
phone *string