<back to all web services

OutstandingInvoices

Requires Authentication
Requires any of the roles:Klant, Kassasysteem, Vertegenwoordiger, KCU Bestelprogramma
The following routes are available for this service:
GET/Customer/OutstandingInvoices/
GET/Customer/{CustomerNumber}/OutstandingInvoices
GET/Customer/OutstandingInvoices/{InvoiceNumber}
OutstandingInvoices Parameters:
NameParameterData TypeRequiredDescription
CustomerNumberpathstringNo
OutstandingInvoicesResponse Parameters:
NameParameterData TypeRequiredDescription
OutstandingInvoicesformList<OutstandingInvoice>No
ResponseStatusformResponseStatusNo
OutstandingInvoice Parameters:
NameParameterData TypeRequiredDescription
InvoiceNrformstringNo
CustomerNumberformstringNo
InvoiceDateformDateTimeNo
DueDateformDateTimeNo
CurrencyCodeformstringNo
InvoiceAmountformdecimal?No
PayedAmountformdecimal?No
BalanceAmountformdecimal?No

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/OutstandingInvoices HTTP/1.1 
Host: webservice.kruitbosch.nl 
Content-Type: application/json
Content-Length: length

{"CustomerNumber":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"OutstandingInvoices":[{"InvoiceNr":"String","CustomerNumber":"String","InvoiceDate":"\/Date(-62135596800000-0000)\/","DueDate":"\/Date(-62135596800000-0000)\/","CurrencyCode":"String","InvoiceAmount":0,"PayedAmount":0,"BalanceAmount":0}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}