WeFact Standard API versie 3.0



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:
$api->sendRequest('debtor', 'show', array(
	'DebtorCode'	=> 'DB0001'
));

Voorbeeld uitvoer:
Array
(
    [controller] => debtor
    [action] => show
    [status] => success
    [date] => 2014-05-16T13:57:34+00:00
    [debtor] => Array
        (
            [Identifier] => 1
            [DebtorCode] => DB0001
            [CompanyName] => Company Y
            [CompanyNumber] => 123456789
            [LegalForm] => ANDERS
            [TaxNumber] => NL123456789B01
            [Sex] => m
            [Initials] => John
            [SurName] => Jackson
            [Address] => Keizersgracht 100
            [ZipCode] => 1015 AA
            [City] => Amsterdam
            [Country] => NL
            [EmailAddress] => info@company.com
            [PhoneNumber] => 010 - 22 33 44
            [MobileNumber] => 
            [FaxNumber] => 
            [Comment] => 
            [InvoiceMethod] => 0
            [InvoiceCompanyName] => 
            [InvoiceSex] => m
            [InvoiceInitials] => 
            [InvoiceSurName] => 
            [InvoiceAddress] => 
            [InvoiceZipCode] => 
            [InvoiceCity] => 
            [InvoiceCountry] => NL
            [InvoiceEmailAddress] => 
            [InvoiceAuthorisation] => yes
			[MandateDate] => 2016-09-01
            [MandateID] => DB0001-WEFACTBV-01
            [MandateType] => FRST
            [InvoiceDataForPriceQuote] => no
            [AccountNumber] => NL59RABO0123123123
            [AccountBIC] => RABONL2U
            [AccountName] => Company X
            [AccountBank] => Rabobank
            [AccountCity] => Amsterdam
            [Mailing] => yes
            [Taxable] => auto
            [InvoiceTerm] => -1
            [PeriodicInvoiceDays] => -1
            [PaymentMail] => -1
            [LanguageCode] => nl_nl
            [Groups] => Array
                (
                )

            [Translations] => Array
                (
                    [LegalForm] => Anders of onbekend
                    [Country] => Nederland
                    [InvoiceMethod] => Per e-mail
                    [InvoiceCountry] => Nederland
                    [Taxable] => Automatisch
                    [LanguageLabel] => Nederlands
                )

        )

)