Create Invoice Credit Insurance
Creates a new credit insurance for the invoice
PUT /v1/Invoices/{invoiceGuid}/CreditInsurances
Use the Test or Production base URL configured under Overview.
Request parameters
| Field | Location | Mandatory | Description |
|---|---|---|---|
| invoiceGuid | path | Yes | string |
Headers and authentication
Use OAuth 2.0 Client Credentials and the Authorization header with a Bearer access token, as described under Overview.
Request body fields
| Field path | Mandatory | Description |
|---|---|---|
| insuranceCompanyReferenceCode | No | string or null Reference code of the credit insurance company, eg. ATRADIUS, EULERHERMES. |
| insuranceCompanyNumber | No | string or null Reference number at the credit insurance company. |
| insuranceCompanyCustomerNumber | No | string or null Customer number at the credit insurance company. |
| note | No | string or null Free text note |
| endDate | No | string <date-time> or null End date for the credit insurance |
| currencyCode | No | string or null Currency code of the insured amount |
| amount | No | number <double> or null The insured amount |
| extraLimitAmount | No | number <double> or null The extra limit amount caused by the credit insurance |
| extraLimitEndDate | No | string <date-time> or null End date for the extra limit |
| paymentTerm | No | integer <int32> or null The payment term |
| graceDays | No | integer <int32> or null Grace days |
Response fields
HTTP 201
| Field path | Mandatory | Description |
|---|---|---|
| insuranceGuid | No | string or null Credit insurance GUID. |
| insuranceDate | No | string <date-time> or null Date when the credit insurance was created |
| insuranceCompanyName | No | string or null Name of the credit insurance company. |
| insuranceCompanyNumber | No | string or null Reference number at the credit insurance company. |
| insuranceCompanyCustomerNumber | No | string or null Customer number at the credit insurance company. |
| note | No | string or null Free text note |
| endDate | No | string <date-time> or null End date for the credit insurance |
| currencyCode | No | string or null Currency code of the insured amount |
| amount | No | number <double> or null The insured amount |
| extraLimitAmount | No | number <double> or null The extra limit amount caused by the credit insurance |
| extraLimitEndDate | No | string <date-time> or null End date for the extra limit |
| paymentTerm | No | integer <int32> or null The payment term |
| graceDays | No | integer <int32> or null Grace days |
| links | No | array of object or null Links to invoice, customer, etc. |
| links[].type | No | string or null Type of object |
| links[].name | No | string or null Type of relation |
| links[].href | No | string or null URI to object |
| links[].resource | No | string or null Resource type |
| 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 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 |
