WeFact API versie 3.9



Debiteuren

Debiteuren zijn te beheren via de controller 'debtor'.



show

Middels deze functie kunt u meer informatie over een debiteur ophalen.
Voorbeeldbestand: /voorbeelden/debtor/debtor.show.php


Invoerparameters:
Veldnaam Waarde Omschrijving
Identifier int De unieke ID van een debiteur
op te halen via de list functie
DebtorCode string Het debiteurnummer
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] => 2019-07-0109:29:53+02:00
    [debtor] => Array
        (
            [Identifier] => 1
            [DebtorCode] => DB10000
            [CompanyName] => Jan Janssen B.V.
            [CompanyNumber] => 123456789
            [LegalForm] => ANDERS
            [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] => 0
            [InvoiceCompanyName] => 
            [InvoiceSex] => m
            [InvoiceInitials] => 
            [InvoiceSurName] => 
            [InvoiceAddress] => 
            [InvoiceZipCode] => 
            [InvoiceCity] => 
            [InvoiceCountry] => NL
            [InvoiceEmailAddress] => 
            [InvoiceAuthorisation] => no
            [MandateDate] => 
            [MandateID] => 
            [InvoiceDataForPriceQuote] => no
            [AccountNumber] => 
            [AccountIban] => 
            [AccountBIC] => 
            [AccountName] => 
            [AccountBank] => 
            [AccountCity] => 
            [Mailing] => yes
            [InvoiceTerm] => -1
            [PeriodicInvoiceDays] => -1
            [PaymentMail] => -1
            [LanguageCode] => nl_nl
            [Currency] => EUR
            [CustomTaxCode] => 
            [Groups] => Array
                (
                )

            [Created] => 2019-07-01 09:29:53
            [Modified] => 2019-07-01 09:29:53
            [Translations] => Array
                (
                    [LegalForm] => Anders of onbekend
                    [Country] => Nederland
                    [InvoiceMethod] => Per e-mail
                    [InvoiceCountry] => Nederland
                    [LanguageLabel] => Nederlands
                )

        )

)