Klanten

Klanten zijn te beheren via de controller 'debtor'.


show

Middels deze functie kunt u meer informatie over een klant ophalen.


Invoerparameters:


Veldnaam Waarde Omschrijving
Identifier int De unieke ID van een klant
op te halen via de list functie
DebtorCode string Het klantnummer
Verplichte velden: Identifier of DebtorCode

Voorbeeld invoer:


$parameters = [
    "DebtorCode" => "DB10000"
];

$api->sendRequest('debtor', 'show', $parameters);

Voorbeeld uitvoer:


Array
(
    [controller] => debtor
    [action] => show
    [status] => success
    [date] => 2024-01-21T12:00:00+02:00
    [debtor] => Array
        (
            [Identifier] => 1
            [DebtorCode] => DB10000
            [CompanyName] => Jan Janssen B.V.
            [CompanyNumber] => 123456789
            [TaxNumber] => NL123456789B01
            [Sex] => m
            [Initials] => Jan
            [SurName] => Janssen
            [Address] => Keizersgracht 100
            [ZipCode] => 1015 AA
            [City] => Amsterdam
            [Country] => NL
            [EmailAddress] => info@example.com
            [PhoneNumber] => 010 - 22 33 44
            [MobileNumber] =>
            [FaxNumber] =>
            [Comment] =>
            [InvoiceMethod] => 5
            [DirectDebitApplyTo] => none
            [InvoiceAuthorisation] => no
            [MandateDate] =>
            [MandateID] =>
            [AccountNumber] =>
            [AccountIban] =>
            [AccountBIC] =>
            [AccountName] =>
            [AccountBank] =>
            [AccountCity] =>
            [Mailing] => yes
            [InvoiceTerm] => -1
            [PeriodicInvoiceDays] => -1
            [PaymentMail] => -1
            [LanguageCode] => nl_nl
            [Currency] => EUR
            [CustomTaxCode] =>
            [ReminderEmailAddress] =>
            [Groups] => Array
                (
                )

            [Created] => 2024-01-21 11:00:00
            [Modified] => 2024-01-21 11:00:00
            [DefaultBillingContactId] => 0
            [DefaultQuoteContactId] => 0
            [ExtraClientContacts] => Array
                (
                )

            [InvoiceDataForPriceQuote] => no
            [InvoiceCompanyName] =>
            [InvoiceSex] => m
            [InvoiceInitials] =>
            [InvoiceSurName] =>
            [InvoiceAddress] =>
            [InvoiceZipCode] =>
            [InvoiceCity] =>
            [InvoiceCountry] => NL
            [InvoiceEmailAddress] =>
            [ExternalMandateId] =>
            [ExternalCustomerId] =>
            [Translations] => Array
                (
                    [Country] => Nederland
                    [InvoiceMethod] => Via Peppol
                    [InvoiceCountry] => Nederland
                    [LanguageLabel] => Nederlands
                )
            [PeppolAddress] => 0106:17237249
        )

)