Zum Inhalt springen

API reference / Quittio \ Country \ FR \ Support

Siren

final class in quittio/country-fr

Quittio\Country\FR\Support\Siren · Source

SIREN (nine digits) and SIRET (fourteen digits) of the French business register, both with a Luhn check digit; SIRET numbers of La Poste (SIREN 356000000) use a sum of digits instead.

Methods#

MethodDescription
::isSiren()
::isSiret()
::of()The SIREN of a SIREN, a SIRET or a French VAT number ("FR40303265045"), or null.

isSiren()#

public static function isSiren(string $value): bool

static

ParameterTypeDescription
$valuestring
Returns
bool

isSiret()#

public static function isSiret(string $value): bool

static

ParameterTypeDescription
$valuestring
Returns
bool

of()#

public static function of(?string $value): ?string

static

The SIREN of a SIREN, a SIRET or a French VAT number ("FR40303265045"), or null.

ParameterTypeDescription
$value?string
Returns
?string

Die Open-Core-Pakete stehen unter der MIT-Lizenz. Die rechtlichen Formulierungen der Länderpakete sind mit einer Steuerberatung abzustimmen.