arthurdejong / python-stdnum

A Python library to provide functions to handle, parse and validate standard numbers.
https://arthurdejong.org/python-stdnum/
GNU Lesser General Public License v2.1
495 stars 205 forks source link

Add support for Thailand Number #255

Closed piruin closed 2 years ago

piruin commented 3 years ago

This PR Included

TIN is a reference to PIN for Personal taxpayers and MOA for companies. both are 13 digits which the last is a check digit
You can check how to calculate checksum at Wikipedia:เลขประจำตัวประชาชนไทย (Sorry, Not found any translated document online)

Ref: Memorandum of Association Number

piruin commented 3 years ago

@arthurdejong Ready to review.

arthurdejong commented 2 years ago

Hi @piruin

Thanks for your contribution and sorry that it took so long to merge. I made some minor changes and merged it as 424e408.

Thanks