Get Credit Insurances
Get invoice credit insurances using filters
GET /v1/Invoices/{invoiceGuid}/CreditInsurances
Use the Test or Production base URL configured under Overview.
Path parameters
| Parameter | Mandatory | Description |
|---|---|---|
| invoiceGuid | Yes | string Invoice guid |
Query parameters
Filter conditions use a simplified OData format.
| Parameter | Mandatory | Description |
|---|---|---|
| $filter | No | string Filter conditions specified in a simplified OData format |
| $skip | No | integer <int32> List offset when paginating (default 0) |
| $top | No | integer <int32> Maximum size of result (default 25, max 100) |
| $orderby | No | string Sorting conditions E.g. "fullname desc" |
Headers and authentication
Use OAuth 2.0 Client Credentials and the Authorization header with a Bearer access token, as described under Overview.
Response fields
HTTP 200
| Field path | Mandatory | Description |
|---|---|---|
| count | Yes | integer <int32> Number of returned credit insurances |
| skip | Yes | integer <int32> Offset of filtered credit insurances |
| total | Yes | integer <int32> Total number of filtered credit insurances |
| value | No | array of object or null All filtered credit insurances |
| value[].insuranceGuid | No | string or null Credit insurance GUID. |
| value[].insuranceDate | No | string <date-time> or null Date when the credit insurance was created |
| value[].insuranceCompanyName | No | string or null Name of the credit insurance company. |
| value[].insuranceCompanyNumber | No | string or null Reference number at the credit insurance company. |
| value[].insuranceCompanyCustomerNumber | No | string or null Customer number at the credit insurance company. |
| value[].note | No | string or null Free text note |
| value[].endDate | No | string <date-time> or null End date for the credit insurance |
| value[].currencyCode | No | string or null Currency code of the insured amount |
| value[].amount | No | number <double> or null The insured amount |
| value[].extraLimitAmount | No | number <double> or null The extra limit amount caused by the credit insurance |
| value[].extraLimitEndDate | No | string <date-time> or null End date for the extra limit |
| value[].paymentTerm | No | integer <int32> or null The payment term |
| value[].graceDays | No | integer <int32> or null Grace days |
| value[].links | No | array of object or null Links to invoice, customer, etc. |
| value[].links[].type | No | string or null Type of object |
| value[].links[].name | No | string or null Type of relation |
| value[].links[].href | No | string or null URI to object |
| value[].links[].resource | No | string or null Resource type |
| value[].links[].guid | No | string or null Resource guid |
HTTP 400
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
HTTP 401
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
HTTP 403
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
HTTP 404
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
HTTP 408
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
HTTP 409
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
