Closed noquierouser closed 11 months ago
I will work on this once I have time early next month, unless there is a PR before it put my hands on this enhancement.
About the generator, it would also be to be updated so it's able to generate over 100M numbers.
I think that raising the validity to 200M would be enough, since I don't know exactly how is the pace of RUT assignations.
Based on what I've been able to find, the occupancy rate of RUTs is quite low. I couldn't locate official documents, only these journalistic notes (La Nación, Publimetro) that report on both the usage rate and the RUT assignment ranges.
I spent hours searching for an official document that indicates the assignment ranges of the RUTs, but I could only find some references to Resolutions from the SII on the matter:
From what you shared:
This package should follow suit.
Update! Version 2.0 coming out. Breaking change, most notably are the RUT types boundaries:
In other words, a RUT 54.XXX.XXX no longer will be validated as "person", but for "contingency", since these are reserved for special reasons.
Fixed on v2.0.0
Please check these requirements
Description
According to the guidelines of the Ministry of Education, since 2016, migrant students awaiting regularization are assigned a RUT over 100 million. This RUT is temporary and allows them access to services provided by the ministry, known as the Temporary School Identifier (Identificador Provisorio Escolar, IPE).
A few months ago, I had to implement a system that registers children. There were a couple of cases with RUTs over 100 million, which the system considered invalid.
This would entail:
isTemporary
,isDefinitive
).Code sample