Closed CarmenMiranda closed 2 years ago
@umiphos
I'm going to search a bit more about another source, but this is oficial and they take the DNI value as an int of length 8 http://www2.sunat.gob.pe/pdt/pdtModulos/independientes/p695/TipoDoc.htm
Please, check if stdnum has this validation in order to justify this change:
@umiphos The changes are ready
@umiphos I think it's ready (:
Current behavior before PR:
Right now when we check the vat in Peru, there is no validation for the vat type DNI.
Desired behavior after PR is merged:
When we validate the vat, we are going to have a validation, and if we put an invalid DNI it's going to be shown a message like this one: