NAME

WebService::KvKAPI::Search - WebService::KvKAPI::Search package needs a propper abstract

VERSION

version 0.103

AUTHOR

Wesley Schwengle <wesley@mintlab.nl>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2018 by Mintlab / Zaaksysteem.nl.

This is free software, licensed under:

The European Union Public License (EUPL) v1.1

DESCRIPTION

A class that implements the Zoeken OpenAPI definition of the Dutch Chamber of Commerce.

SYNOPSIS

use WebService::KvKAPI::Search;

my $api = WebService::KvKAPI::Search->new( # see WebService::KvKAPI->new() );

$api->search(%args);

ATTRIBUTES

METHODS

Search the KvK registry. Searching on zipcode and housenumber can only be done when both are supplied.

$api->search(
    kvkNummer        => '12345678',
    rsin             => '123456789',
    vestigingsnummer => '123456789012',
    handelsnaam      => 'Tradename',
    straatnaam       => 'Street',
    plaats           => 'City',

    # Must always be acompanied by the other
    postcode         => '1234AA',
    huisnummer       => '9',

    type => 'rechtspersoon', # hoofdvestiging/nevenvestiging/rechtspersoon',

    # include inactive registrations, default to 0
    InclusiefInactieveRegistraties => 1,

    # pagination options
    pagina => 1,       # defaults to 1
    aantal => 10,      # defaults to 10
);