| Requires any of the roles: | Klant, Kassasysteem, Vertegenwoordiger, KCU Bestelprogramma |
| GET | /Customer/Invoice/Overview/{Page} | ||
|---|---|---|---|
| GET | /Customer/{CustomerNumber}/Invoice/Overview/ | ||
| GET | /Customer/{CustomerNumber}/Invoice/Overview/{Page} | ||
| GET | /Customer/Invoice/Overview |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CustomerNumber | path | string | No | |
| IncludePaidInvoices | query | bool? | No | |
| MaxQuantity | query | int? | No | |
| Page | path | int? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Invoices | form | List<InvoiceOverview> | No | |
| NextPage | form | int? | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| InvoiceNr | form | string | No | |
| CustomerNumber | form | string | No | |
| InvoiceDate | form | DateTime | No | |
| DueDate | form | DateTime? | No | |
| CurrencyCode | form | string | No | |
| InvoiceOpen | form | bool | No | |
| InvoiceAmount | form | decimal? | No | |
| PayedAmount | form | decimal? | No | |
| BalanceAmount | form | decimal? | No | |
| DownloadPDFUrl | form | Uri | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /jsv/reply/InvoicesOverview HTTP/1.1
Host: webservice.kruitbosch.nl
Content-Type: text/jsv
Content-Length: length
{
CustomerNumber: String,
IncludePaidInvoices: False,
MaxQuantity: 0,
Page: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Invoices:
[
{
InvoiceNr: String,
CustomerNumber: String,
InvoiceDate: 0001-01-01,
DueDate: 0001-01-01,
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
}
}
}