PHP 클래스 IsoCodes\Nif

About Tax Identification Number (Spain's Número de Identificación Fiscal, NIF) or Foreign Identification Number (Spain's Número de Identificación de Extranjeror, NIE): The applicable Spanish legislation currently requires that any individual or legal entity with economic or professional interests in Spain, or involved in a relevant way for tax purposes, must hold a tax identification number (in the case of legal entities) or a foreigner identity number (for individuals).
상속: implements isocodes\IsoCodeInterface
파일 보기 프로젝트 열기: ronanguilloux/isocodes 1 사용 예제들

공개 메소드들

메소드 설명
getCifSum ( string $cif ) : mixed Used to calculate the sum of the CIF, DNI and NIE.
validate ( string $nif ) : boolean NIF and DNI validation.

메소드 상세

getCifSum() 공개 정적인 메소드

Used to calculate the sum of the CIF, DNI and NIE.
public static getCifSum ( string $cif ) : mixed
$cif string
리턴 mixed

validate() 공개 정적인 메소드

NIF and DNI validation.
public static validate ( string $nif ) : boolean
$nif string The NIF or NIE
리턴 boolean