<back to all web services

InvoicesOverview

Requires Authentication
Requires any of the roles:Klant, Kassasysteem, Vertegenwoordiger, KCU Bestelprogramma
The following routes are available for this service:
GET/Customer/Invoice/Overview/{Page}
GET/Customer/{CustomerNumber}/Invoice/Overview/
GET/Customer/{CustomerNumber}/Invoice/Overview/{Page}
GET/Customer/Invoice/Overview
InvoicesOverview Parameters:
NameParameterData TypeRequiredDescription
CustomerNumberpathstringNo
IncludePaidInvoicesquerybool?No
MaxQuantityqueryint?No
Pagepathint?No
InvoicesOverviewResponse Parameters:
NameParameterData TypeRequiredDescription
InvoicesformList<InvoiceOverview>No
NextPageformint?No
ResponseStatusformResponseStatusNo
InvoiceOverview Parameters:
NameParameterData TypeRequiredDescription
InvoiceNrformstringNo
CustomerNumberformstringNo
InvoiceDateformDateTimeNo
DueDateformDateTime?No
CurrencyCodeformstringNo
InvoiceOpenformboolNo
InvoiceAmountformdecimal?No
PayedAmountformdecimal?No
BalanceAmountformdecimal?No
DownloadPDFUrlformUriNo

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

HTTP + CSV

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

POST /csv/reply/InvoicesOverview HTTP/1.1 
Host: webservice.kruitbosch.nl 
Content-Type: text/csv
Content-Length: length

{"CustomerNumber":"String","IncludePaidInvoices":false,"MaxQuantity":0,"Page":0}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

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