Add more alias for stdnum.vatin to work for more countries#318
Add more alias for stdnum.vatin to work for more countries#318unho wants to merge 4 commits intoarthurdejong:masterfrom
Conversation
So stdnum.vatin works for Liechtenstein. According to https://www.oecd.org/tax/automatic-exchange/crs-implementation-and-assistance/tax-identification-numbers/LIECHTENSTEIN%20TIN.pdf PEID Nummer is used as TIN number for both individuals and entities.
According to the documentation in the stdnum.md.idno module, the IDNO is used in Moldavia as unique identifier for legal entities.
According to https://www.oecd.org/tax/automatic-exchange/crs-implementation-and-assistance/tax-identification-numbers/South-Africa-TIN.pdf this is the sole number required for reporting to the tax authorities.
| """Collection of Liechtenstein numbers.""" | ||
|
|
||
| # provide aliases | ||
| from stdnum.li import peid as vat # noqa: F401 |
There was a problem hiding this comment.
According to https://www.vatify.eu/liechtenstein-vat-number.html the MWST is issued for VAT purposes.
| """Collection of Moldavian numbers.""" | ||
|
|
||
| # provide aliases | ||
| from stdnum.md import idno as vat # noqa: F401 |
There was a problem hiding this comment.
According to https://support.wix.com/en/article/about-vat-in-moldova the VAT number consists of 7 digits (with an optional MD prefix) which doesn't match the format of the IDNO.
| """Collection of Ukrainian numbers.""" | ||
|
|
||
| # provide aliases | ||
| from stdnum.ua import edrpou as vat # noqa: F401 |
There was a problem hiding this comment.
According to https://en.wikipedia.org/wiki/VAT_identification_number the Ukrainian is called ІНПП and consists of 12 digits which doesn't match the ЄДРПОУ implementation.
| """Collection of South Africa numbers.""" | ||
|
|
||
| # provide aliases | ||
| from stdnum.za import tin as vat # noqa: F401 |
There was a problem hiding this comment.
According to https://support.upwork.com/hc/en-us/articles/15157294433683-South-Africa-VAT-for-Clients the VAT number is a 10 digit number starting with a 4. The existing TIN is also 10 digits but can't start with a 4.
arthurdejong
left a comment
There was a problem hiding this comment.
Please see the other comments
No description provided.