Skip to content

Add support for Angola TIN - #388

Open
unho wants to merge 1 commit into
arthurdejong:masterfrom
unho:ao-tin
Open

Add support for Angola TIN#388
unho wants to merge 1 commit into
arthurdejong:masterfrom
unho:ao-tin

Conversation

@unho

@unhounho commented Feb 4, 2023

Copy link
Copy Markdown
Contributor

Fixes#367

Comment threadstdnum/ao/nif.py
This checks the length and formatting.
"""
number = compact(number)
if len(number) not in (10, 14):

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that length 9 was not implemented since no example could be found that can be confirmed using the search links in the ticket.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for Angola TIN

2 participants

@unho@arthurdejong