GET api/customers/{customerId}/invoices
Get all the invoices for a customer.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| customerId |
Customer ID |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
List of invoices
Collection of InvoiceResponse| Name | 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-12-22T02:22:34.1535043+00:00",
"DunningIsSent": true,
"HasPaymentAgreement": true,
"InvoiceDate": "2025-12-22T02:22:34.1535043+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-12-22T02:22:34.1535043+00:00",
"DunningIsSent": true,
"HasPaymentAgreement": true,
"InvoiceDate": "2025-12-22T02:22:34.1535043+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-12-22T02:22:34.1535043+00:00","DunningIsSent":true,"HasPaymentAgreement":true,"InvoiceDate":"2025-12-22T02:22:34.1535043+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-12-22T02:22:34.1535043+00:00","DunningIsSent":true,"HasPaymentAgreement":true,"InvoiceDate":"2025-12-22T02:22:34.1535043+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}]