Add documentation for portuguese fiscal number rule

This commit is contained in:
Gonçalo Andrade 2022-06-08 14:31:54 +01:00
parent e219da2945
commit 5e264f9ade

View file

@ -0,0 +1,19 @@
# Portuguese NIF
- `PortugueseNif()`
Validates Portugal's fiscal identification number ([NIF](https://pt.wikipedia.org/wiki/N%C3%BAmero_de_identifica%C3%A7%C3%A3o_fiscal)).
```php
v::portugueseNif()->validate('124885446'); // true
v::portugueseNif()->validate('220005245'); // false
```
## Categorization
- Identifications
***
See also:
- [Nif](Nif.md)