NAME

Data::Random::NL - Tools for generating random Dutch numbers

VERSION

version 1.6

SYNOPSIS

use Data::Random::NL qw(:all);

my $bsn              = generate_bsn();
my $kvk              = generate_kvk();
my $rsin             = generate_rsin();
my $vestigingsnummer = generate_vestingsnummer();

DESCRIPTION

This module provides methods to generate fake and/or random data used for spoofing and/or faking data such as BSN numbers and KvK numbers.

None of the methods are exported by default.

A word of warning

Be aware that this module may produce numbers that are used in the real world. BSN numbers in test situations start by convention with a 9.

EXPORT_OK

generate_bsn
generate_rsin
generate_kvk
generate_vestigingsnummer

EXPORT_TAGS

:all

Get all the generate functions

:person

Imports all the numbers in use for a person

:company

Imports all the numbers in use for a company

METHODS

generate_bsn

Generate a BSN (burgerservicenummer/social security number).

generate_bsn(); # returns a BSN
generate_bsn(9); # returns a BSN starting with a 9

generate_kvk

Generate a KvK (Kamer van Koophandel/Chamber of Commerce) number

generate_kvk(); # returns a KvK number
generate_kvk(9); # returns a KvK number starting with a 9

generate_rsin

Generate a RSIN number

generate_rsin(); # returns a RSIN number
generate_rsin(9); # returns a RSIN number starting with a 9

generate_vestigingsnummer

Generate a vestigings number

generate_vestigingsnummer(); # returns a vestigings number
generate_vestigingsnummer(9); # returns a vestigings number starting with a 9

SEE ALSO

bsn

https://www.government.nl/topics/personal-data/citizen-service-number-bsn

kvk

https://www.kvk.nl/download/De_nummers_van_het_Handelsregister_tcm109-365707.pdf

rsin

https://www.kvk.nl/english/registration/rsin-number/

AUTHOR

Wesley Schwengle <waterkip@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2017 by Wesley Schwengle.

This is free software, licensed under:

The (three-clause) BSD License