GET api/customers/{customerId}/contracts/{contractNo}/invoices/{year}
Get the invoices for a customer's contract for the given year.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
customerId |
Customer ID |
integer |
Required |
contractNo |
Contract number |
integer |
Required |
year |
Year, 4 digits greater than 2000 |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
List of invoices
Collection of InvoiceResponseName | Description | Type | Additional information |
---|---|---|---|
CreditStatus | string |
None. |
|
CustomerId | integer |
None. |
|
DueDate | date |
None. |
|
DunningIsSent | boolean |
None. |
|
HasPaymentAgreement | boolean |
None. |
|
InvoiceDate | date |
None. |
|
InvoiceNo | string |
None. |
|
InvoiceSum | decimal number |
None. |
|
InvoiceType | string |
None. |
|
Kid | string |
None. |
|
LedgerNo | integer |
None. |
|
Postponeable | boolean |
None. |
|
SentToDebtCollection | boolean |
None. |
|
SentToInvoicePartner | boolean |
None. |
|
UnpaidSum | decimal number |
None. |
|
PdfUrl | string |
None. |
|
InvoiceStatus | InvoiceStatusEnum |
None. |
Response Formats
application/json, text/json
Sample:
[ { "CreditStatus": "sample string 1", "CustomerId": 2, "DueDate": "2025-05-19T22:48:15.5956858+00:00", "DunningIsSent": true, "HasPaymentAgreement": true, "InvoiceDate": "2025-05-19T22:48:15.5956858+00:00", "InvoiceNo": "sample string 7", "InvoiceSum": 8.1, "InvoiceType": "sample string 9", "Kid": "sample string 10", "LedgerNo": 11, "Postponeable": true, "SentToDebtCollection": true, "UnpaidSum": 15.1, "PdfUrl": "sample string 16", "SentToInvoicePartner": true, "InvoiceStatus": 0 }, { "CreditStatus": "sample string 1", "CustomerId": 2, "DueDate": "2025-05-19T22:48:15.5956858+00:00", "DunningIsSent": true, "HasPaymentAgreement": true, "InvoiceDate": "2025-05-19T22:48:15.5956858+00:00", "InvoiceNo": "sample string 7", "InvoiceSum": 8.1, "InvoiceType": "sample string 9", "Kid": "sample string 10", "LedgerNo": 11, "Postponeable": true, "SentToDebtCollection": true, "UnpaidSum": 15.1, "PdfUrl": "sample string 16", "SentToInvoicePartner": true, "InvoiceStatus": 0 } ]
text/html
Sample:
[{"CreditStatus":"sample string 1","CustomerId":2,"DueDate":"2025-05-19T22:48:15.5956858+00:00","DunningIsSent":true,"HasPaymentAgreement":true,"InvoiceDate":"2025-05-19T22:48:15.5956858+00:00","InvoiceNo":"sample string 7","InvoiceSum":8.1,"InvoiceType":"sample string 9","Kid":"sample string 10","LedgerNo":11,"Postponeable":true,"SentToDebtCollection":true,"UnpaidSum":15.1,"PdfUrl":"sample string 16","SentToInvoicePartner":true,"InvoiceStatus":0},{"CreditStatus":"sample string 1","CustomerId":2,"DueDate":"2025-05-19T22:48:15.5956858+00:00","DunningIsSent":true,"HasPaymentAgreement":true,"InvoiceDate":"2025-05-19T22:48:15.5956858+00:00","InvoiceNo":"sample string 7","InvoiceSum":8.1,"InvoiceType":"sample string 9","Kid":"sample string 10","LedgerNo":11,"Postponeable":true,"SentToDebtCollection":true,"UnpaidSum":15.1,"PdfUrl":"sample string 16","SentToInvoicePartner":true,"InvoiceStatus":0}]