Download OpenAPI specification:Download
Invoice related API for Aptic solutions
| $filter | string Filter conditions specified in a simplified OData format |
| $skip | integer <int32> List offset when paginating (default 0) |
| $top | integer <int32> Maximum size of result (default 25, max 100) |
| $orderby | string Sorting conditions E.g. "fullname desc" |
{- "count": 0,
- "skip": 0,
- "total": 0,
- "value": [
- {
- "invoiceGuid": "string",
- "ledgerType": 0,
- "clientReferenceNumber": "string",
- "clientName": "string",
- "invoiceNumber": "string",
- "customerName": "string",
- "customerNumber": "string",
- "invoiceDate": "2019-08-24T14:15:22Z",
- "dueDate": "2019-08-24T14:15:22Z",
- "daysDue": 0,
- "invoiceType": "string",
- "registrationDate": "2019-08-24T14:15:22Z",
- "currencyCode": "string",
- "originalPrincipal": 0,
- "remainingPrincipal": 0,
- "paidSum": 0,
- "remainingSum": 0,
- "service": "string",
- "status": 0,
- "financeStatus": "string",
- "purchasable": true,
- "purchased": true
}
]
}| creditorReference | string or null Party reference code. |
| referenceNumber | string or null Customer reference number. |
| deliverySystemCode | string or null Delivery system code. |
| paymentReference | string or null Payment reference. |
| service | string or null Service name (Invoicing / ReceivableLdg / Paymentplan / PreCollection / Collection / Legal / Surveillance / External / JournalCase). This is default values that may be used as servicecode but via configuration changes may be made, for an exact list, contact the service provider. |
| tryComplementExisting | boolean or null If we need to try to complement existing matching invoice with debt rows instead of creating a new one |
| claimantName | string or null Claimant name. |
| loanFlag | boolean or null Is debt loan functionality enabled for invoice. |
| loanPercent | number or null <double> Amount to be disbursed for invoice (percent of invoice amount). If not indicated, creditor settings used |
| purchasable | integer or null <int32> Is invoice purchasable. 0 = Not purchasable, 1 = Purchaseble, 2 = Purchasble only with regress |
| purchaseFee | string or null Purchase fee. |
| invoiceDate | string or null <date-time> Date of invoice. |
| paymentCode | string or null Payment code. |
| printCode | string or null Print code (currently one of predefined values EMAIL / PRINT / EMAIL; PRINT / FAKTURA). |
| formCode | string or null Form code (currently one of predefined values MALL1 / PRINTTEST / DUSTIN / Invoice1 / temp / PRINT / DUSTIN_KVITTO). |
| receiverReference | string or null Receiver reference - usualy e-mail address. |
| aconto | boolean or null Is payment account 'aconto' (special type of account supposing partial payments of total cost). |
| denyConversion | boolean or null Is conversion to revolving credit allowed. |
| accountingFactor | number or null <double> Accounting factor (percentage of system amount). |
| preferredChannel | string or null Preferred way of communication (Letter / Email / SMS / E-invoice). |
| externalReferenceCode | string or null External ledger reference code. |
| paymentProductCode | string or null Payment product code (ACCOUNT / INVOICE or some others). |
| marketplaceReferenceCode | string or null Marketplace reference code. |
object (PutInvoiceCustomer) Holds customer information. | |
Array of objects or null (InvoiceDebt) List of debts for the invoice. | |
Array of objects or null (InvoiceFee) List of fees for the invoice. | |
Array of objects or null (PutExtraFieldValue) List of extra fields for the invoice. | |
Array of objects or null (InvoiceNote) List of notes for the invoice. | |
Array of objects or null (PutDocument) List of documents for the invoice. |
[- {
- "creditorReference": "string",
- "referenceNumber": "string",
- "deliverySystemCode": "string",
- "paymentReference": "string",
- "service": "string",
- "tryComplementExisting": true,
- "claimantName": "string",
- "loanFlag": true,
- "loanPercent": 0,
- "purchasable": 0,
- "purchaseFee": "string",
- "invoiceDate": "2019-08-24T14:15:22Z",
- "paymentCode": "string",
- "printCode": "string",
- "formCode": "string",
- "receiverReference": "string",
- "aconto": true,
- "denyConversion": true,
- "accountingFactor": 0,
- "preferredChannel": "string",
- "externalReferenceCode": "string",
- "paymentProductCode": "string",
- "marketplaceReferenceCode": "string",
- "customer": {
- "customerReference": "string",
- "idNumber": "string",
- "juridicalType": 0,
- "customerRole": 0,
- "placeOfBirth": "string",
- "dateOfBirth": "2019-08-24T14:15:22Z",
- "gender": 0,
- "cultureCode": "string",
- "title": "string",
- "firstname": "string",
- "middlename": "string",
- "lastname": "string",
- "nameSuffix": "string",
- "careOf": "string",
- "street": "string",
- "houseNo": "string",
- "houseNoExtension": "string",
- "city": "string",
- "stateCode": "string",
- "zipCode": "string",
- "addressNotValidOverride": true,
- "countryCode": "string",
- "domicile": "string",
- "municipalCode": "string",
- "vatNumber": "string",
- "companyType": "string",
- "glnNumber": "string",
- "naceCode": "string",
- "eInvoiceReceiverId": "string",
- "homePhone": "string",
- "workPhone": "string",
- "cellularPhone": "string",
- "telefax": "string",
- "email": "string",
- "languageCode": "string",
- "currencyCode": "string",
- "preferredchannel": "string",
- "underAged": true,
- "externPaymentTypeCode": "string",
- "eInvoiceBankCode": "string",
- "invoiceChannel": "string",
- "directDebitReferenceNo": "string",
- "directDebitBankaccount": "string",
- "updateExisting": true,
- "address": [
- {
- "addressType": "string",
- "addressNotValid": "2019-08-24T14:15:22Z",
- "fullName": "string",
- "careOf": "string",
- "street": "string",
- "houseNo": "string",
- "houseNoExtension": "string",
- "city": "string",
- "stateCode": "string",
- "zipCode": "string",
- "addressNotValidOverride": true,
- "countryCode": "string",
- "defaultAddress": true,
- "updateExisting": true
}
], - "extraFields": [
- {
- "name": "string",
- "value": [
- "string"
]
}
], - "directDebitMandate": {
- "mandateGuid": "string",
- "directDebitMandateType": 0,
- "referenceNo": "string",
- "bankAccountNo": "string",
- "requestedAt": "2019-08-24T14:15:22Z",
- "approvedAt": "2019-08-24T14:15:22Z",
- "signedDate": "2019-08-24T14:15:22Z",
- "validfrom": "2019-08-24T14:15:22Z",
- "validuntil": "2019-08-24T14:15:22Z",
- "closedAt": "2019-08-24T14:15:22Z",
- "links": [
- {
- "type": "string",
- "name": "string",
- "href": "string",
- "resource": "string",
- "guid": "string"
}
]
}, - "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "customerGuid": "string"
}, - "debts": [
- {
- "debtPrincipalType": 0,
- "description": "string",
- "invoiceNumber": "string",
- "originalReferenceNumber": "string",
- "paymentReference": "string",
- "ledgerReference": "string",
- "originalPrincipal": 0,
- "remainingPrincipal": 0,
- "originalInterest": 0,
- "remainingInterest": 0,
- "paidInterest": 0,
- "originalVat": 0,
- "remainingVat": 0,
- "rounding": 0,
- "systemrounding": 0,
- "currencyCode": "string",
- "exchangeRate": 0,
- "orderDate": "2019-08-24T14:15:22Z",
- "invoiceDate": "2019-08-24T14:15:22Z",
- "documentDate": "2019-08-24T14:15:22Z",
- "dueDate": "2019-08-24T14:15:22Z",
- "ourOrder": "string",
- "yourOrder": "string",
- "seller": "string",
- "goodsMark": "string",
- "deliveryMethod": "string",
- "deliveryCondition": "string",
- "deliveryDate": "2019-08-24T14:15:22Z",
- "deliveryNoteId": "string",
- "creditCardTransactionId": "string",
- "message": "string",
- "paymentCondition": 0,
- "interestCondition": 0,
- "store": "string",
- "receiptNumber": "string",
- "cashRegisterNumber": "string",
- "interestRate": 0,
- "interestCode": "string",
- "interestFrom": "2019-08-24T14:15:22Z",
- "interestTo": "2019-08-24T14:15:22Z",
- "ourReference": "string",
- "yourReference": "string",
- "periodoflimitation": 0,
- "limitationDate": "2019-08-24T14:15:22Z",
- "receiverFullName": "string",
- "receiverStreet": "string",
- "receiverHouseNo": "string",
- "receiverHouseNoExtension": "string",
- "receiverCity": "string",
- "receiverStateCode": "string",
- "receiverZipCode": "string",
- "receiverCountryCode": "string",
- "receiverFullAddress": "string",
- "deliveryFullName": "string",
- "deliveryStreet": "string",
- "deliveryHouseNo": "string",
- "deliveryHouseNoExtension": "string",
- "deliveryCity": "string",
- "deliveryStateCode": "string",
- "deliveryZipCode": "string",
- "deliveryCountryCode": "string",
- "deliveryFullAddress": "string",
- "vendorReferenceCode": "string",
- "debtRows": [
- {
- "summaryOnly": true,
- "textOnly": true,
- "rowReference": "string",
- "itemReference": "string",
- "debtFeeCode": "string",
- "description": "string",
- "callNumber": "string",
- "callLength": 0,
- "eanCode": "string",
- "orderCount": 0,
- "itemCount": 0,
- "remainingCount": 0,
- "unitTypeId": 0,
- "itemNetAmount": 0,
- "itemSystemNetAmount": 0,
- "discount": 0,
- "rowPrincipalAmount": 0,
- "systemRowPrincipalAmount": 0,
- "includingVAT": true,
- "vatAmount": 0,
- "systemVatAmount": 0,
- "vatCode": "string",
- "accountChartCode": "string",
- "vatAccountChartCode": "string",
- "accountDim1": "string",
- "accountDim2": "string",
- "accountDim3": "string",
- "accountDim4": "string",
- "accountDim5": "string",
- "accountDim6": "string",
- "accountDim7": "string",
- "accountDim8": "string",
- "extraFields": [
- {
- "name": "string",
- "value": [
- "string"
]
}
]
}
], - "extraFields": [
- {
- "name": "string",
- "value": [
- "string"
]
}
], - "debtGroup": "string",
- "interestSpecificCalculationType": "string"
}
], - "fees": [
- {
- "name": "string",
- "description": "string",
- "feeDate": "2019-08-24T14:15:22Z",
- "principalAmount": 0,
- "vatAmount": 0,
- "interestAmount": 0,
- "paidInterest": 0,
- "exchangeRate": 0,
- "currencyCode": "string",
- "interestRate": 0,
- "interestCode": "string",
- "interestFrom": "2019-08-24T14:15:22Z",
- "interestTo": "2019-08-24T14:15:22Z",
- "importedFee": true
}
], - "extraFields": [
- {
- "name": "string",
- "unique": true,
- "value": [
- "string"
]
}
], - "note": [
- {
- "noteText": "string",
- "loggedAt": "2019-08-24T14:15:22Z",
- "systemCode": "string",
- "userCode": "string",
- "important": true,
- "histOwnerTypeId": "string",
- "histNoteTypeId": "string"
}
], - "document": [
- {
- "note": "string",
- "documentType": "string",
- "loggedAt": "2019-08-24T14:15:22Z",
- "originalFileName": "string",
- "searchValue": "string",
- "externalLink": "string",
- "important": true,
- "fileDataBase64": "string"
}
]
}
]{- "invoiceGuids": [
- "string"
], - "impStockId": 0
}| guid required | string The GUID representing the invoice. |
{- "creditorReference": "string",
- "invoiceNumber": "string",
- "deliverySystemCode": "string",
- "paymentReference": "string",
- "service": "string",
- "claimantName": "string",
- "invoiceDat": "2019-08-24T14:15:22Z",
- "dueDate": "2019-08-24T14:15:22Z",
- "purchased": true,
- "paymentCode": "string",
- "printCode": "string",
- "formCode": "string",
- "receiverReference": "string",
- "preferredChannel": "string",
- "externalReferenceCode": "string",
- "paymentProductCode": "string",
- "marketplaceReferenceCode": "string",
- "financeStatus": 0,
- "customer": {
- "customerReference": "string",
- "idNumber": "string",
- "juridicalType": 0,
- "customerRole": 0,
- "placeOfBirth": "string",
- "dateOfBirth": "2019-08-24T14:15:22Z",
- "gender": 0,
- "cultureCode": "string",
- "title": "string",
- "firstname": "string",
- "middlename": "string",
- "lastname": "string",
- "nameSuffix": "string",
- "careOf": "string",
- "street": "string",
- "houseNo": "string",
- "houseNoExtension": "string",
- "city": "string",
- "stateCode": "string",
- "zipCode": "string",
- "fullAddress": "string",
- "addressNotValidOverride": true,
- "countryCode": "string",
- "country": "string",
- "domicile": "string",
- "municipalCode": "string",
- "vatNumber": "string",
- "companyType": "string",
- "glnNumber": "string",
- "naceCode": "string",
- "eInvoiceReceiverId": "string",
- "homePhone": "string",
- "workPhone": "string",
- "cellularPhone": "string",
- "telefax": "string",
- "email": "string",
- "languageCode": "string",
- "currencyCode": "string",
- "preferredchannel": "string",
- "underAged": true,
- "externPaymentTypeCode": "string",
- "eInvoiceBankCode": "string",
- "invoiceChannel": "string",
- "directDebitReferenceNo": "string",
- "directDebitBankaccount": "string",
- "address": [
- {
- "addressType": "string",
- "addressNotValid": "2019-08-24T14:15:22Z",
- "fullName": "string",
- "street": "string",
- "houseNo": "string",
- "houseNoExtension": "string",
- "city": "string",
- "stateCode": "string",
- "zipCode": "string",
- "fullAddress": "string",
- "addressNotValidOverride": true,
- "countryCode": "string",
- "country": "string",
- "defaultAddress": true
}
], - "extraFields": [
- {
- "name": "string",
- "value": [
- "string"
]
}
], - "directDebitMandate": {
- "mandateGuid": "string",
- "directDebitMandateType": 0,
- "referenceNo": "string",
- "bankAccountNo": "string",
- "requestedAt": "2019-08-24T14:15:22Z",
- "approvedAt": "2019-08-24T14:15:22Z",
- "signedDate": "2019-08-24T14:15:22Z",
- "validfrom": "2019-08-24T14:15:22Z",
- "validuntil": "2019-08-24T14:15:22Z",
- "closedAt": "2019-08-24T14:15:22Z",
- "links": [
- {
- "type": "string",
- "name": "string",
- "href": "string",
- "resource": "string",
- "guid": "string"
}
]
}, - "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z"
}, - "debts": [
- {
- "debtPrincipalType": 0,
- "description": "string",
- "invoiceNumber": "string",
- "originalReferenceNumber": "string",
- "paymentReference": "string",
- "ledgerReference": "string",
- "originalPrincipal": 0,
- "remainingPrincipal": 0,
- "originalInterest": 0,
- "remainingInterest": 0,
- "paidInterest": 0,
- "originalVat": 0,
- "remainingVat": 0,
- "rounding": 0,
- "systemrounding": 0,
- "currencyCode": "string",
- "exchangeRate": 0,
- "orderDate": "2019-08-24T14:15:22Z",
- "invoiceDate": "2019-08-24T14:15:22Z",
- "documentDate": "2019-08-24T14:15:22Z",
- "dueDate": "2019-08-24T14:15:22Z",
- "ourOrder": "string",
- "yourOrder": "string",
- "seller": "string",
- "goodsMark": "string",
- "deliveryMethod": "string",
- "deliveryCondition": "string",
- "deliveryDate": "2019-08-24T14:15:22Z",
- "deliveryNoteId": "string",
- "creditCardTransactionId": "string",
- "message": "string",
- "paymentCondition": 0,
- "interestCondition": 0,
- "store": "string",
- "receiptNumber": "string",
- "cashRegisterNumber": "string",
- "interestRate": 0,
- "interestCode": "string",
- "interestFrom": "2019-08-24T14:15:22Z",
- "interestTo": "2019-08-24T14:15:22Z",
- "ourReference": "string",
- "yourReference": "string",
- "periodoflimitation": 0,
- "limitationDate": "2019-08-24T14:15:22Z",
- "receiverFullName": "string",
- "receiverStreet": "string",
- "receiverHouseNo": "string",
- "receiverHouseNoExtension": "string",
- "receiverCity": "string",
- "receiverStateCode": "string",
- "receiverZipCode": "string",
- "receiverCountryCode": "string",
- "receiverFullAddress": "string",
- "deliveryFullName": "string",
- "deliveryStreet": "string",
- "deliveryHouseNo": "string",
- "deliveryHouseNoExtension": "string",
- "deliveryCity": "string",
- "deliveryStateCode": "string",
- "deliveryZipCode": "string",
- "deliveryCountryCode": "string",
- "deliveryFullAddress": "string",
- "vendorReferenceCode": "string",
- "debtRows": [
- {
- "summaryOnly": true,
- "textOnly": true,
- "rowReference": "string",
- "itemReference": "string",
- "debtFeeCode": "string",
- "description": "string",
- "callNumber": "string",
- "callLength": 0,
- "eanCode": "string",
- "orderCount": 0,
- "itemCount": 0,
- "remainingCount": 0,
- "unitTypeId": 0,
- "itemNetAmount": 0,
- "itemSystemNetAmount": 0,
- "discount": 0,
- "rowPrincipalAmount": 0,
- "systemRowPrincipalAmount": 0,
- "includingVAT": true,
- "vatAmount": 0,
- "systemVatAmount": 0,
- "vatCode": "string",
- "accountChartCode": "string",
- "vatAccountChartCode": "string",
- "accountDim1": "string",
- "accountDim2": "string",
- "accountDim3": "string",
- "accountDim4": "string",
- "accountDim5": "string",
- "accountDim6": "string",
- "accountDim7": "string",
- "accountDim8": "string",
- "extraFields": [
- {
- "name": "string",
- "value": [
- "string"
]
}
]
}
], - "extraFields": [
- {
- "name": "string",
- "value": [
- "string"
]
}
], - "debtGroup": "string",
- "interestSpecificCalculationType": "string"
}
], - "fees": [
- {
- "name": "string",
- "description": "string",
- "feeDate": "2019-08-24T14:15:22Z",
- "principalAmount": 0,
- "vatAmount": 0,
- "interestAmount": 0,
- "paidInterest": 0,
- "exchangeRate": 0,
- "currencyCode": "string",
- "interestRate": 0,
- "interestCode": "string",
- "interestFrom": "2019-08-24T14:15:22Z",
- "interestTo": "2019-08-24T14:15:22Z",
- "importedFee": true
}
], - "registrationDate": "2019-08-24T14:15:22Z",
- "links": [
- {
- "type": "string",
- "name": "string",
- "href": "string",
- "resource": "string",
- "guid": "string"
}
]
}| invoiceGuid required | string The GUID representing the invoice. |
{- "financialInterestInformation": {
- "financeStatus": "string",
- "financeStatusDescription": "string",
- "calculateFrom": "string",
- "calculateFromDescription": "string",
- "calculateTo": "string",
- "calculateToDescription": "string",
- "feeInsertTrigger": "string",
- "feeInsertTriggerDescription": "string",
- "interestRate": 0,
- "interestCode": "string",
- "interestCodeDescription": "string"
}, - "purchaseInformation": {
- "purchaseAmount": 0,
- "advanceAmount": 0,
- "blockedAmount": 0,
- "depositAmount": 0,
- "recoursedAmount": 0,
- "recourseDate": "2019-08-24T14:15:22Z",
- "recoursedDate": "2019-08-24T14:15:22Z"
}, - "creditorFeeInformation": [
- {
- "typeCode": "string",
- "description": "string",
- "amount": 0,
- "text": "string"
}
]
}| invoiceGuid required | string |
| dueDate | string or null <date> Due date of the invoice. |
| paymentCondition | string or null Payment condition. |
| paymentReference | string or null Payment reference. |
| receiverReference | string or null Receiver reference. |
| ourOrder | string or null Our order number. |
| yourOrder | string or null Your order number. |
| ourReference | string or null Our reference. |
| yourReference | string or null Your reference. |
| seller | string or null Seller. |
| handlingCode | string or null Handling code. |
| goodsMark | string or null Goods mark. |
| preferredChannelId | integer or null <int32> Preferred channel ID. |
| denyConversion | boolean or null Deny conversion flag. |
| paymentCode | string or null Payment code. |
| printCode | string or null Print code. |
| formCode | string or null Form code. |
| interestCapitalizationInterval | integer or null <int32> Interest capitalization interval. |
| priceList | string or null Price list name. |
| debtGroup | string or null Debt group code. |
| receiverHomePhone | string or null Receiver home phone. |
| receiverWorkPhone | string or null Receiver work phone. |
| receiverCellularPhone | string or null Receiver cellular phone. |
| receiverTelefax | string or null Receiver telefax. |
| receiverEmail | string or null Receiver email. |
| reminderDate | string or null <date> Reminder date. |
| collectionDate | string or null <date> Collection date. |
{- "dueDate": "2019-08-24",
- "paymentCondition": "string",
- "paymentReference": "string",
- "receiverReference": "string",
- "ourOrder": "string",
- "yourOrder": "string",
- "ourReference": "string",
- "yourReference": "string",
- "seller": "string",
- "handlingCode": "string",
- "goodsMark": "string",
- "preferredChannelId": 0,
- "denyConversion": true,
- "paymentCode": "string",
- "printCode": "string",
- "formCode": "string",
- "interestCapitalizationInterval": 0,
- "priceList": "string",
- "debtGroup": "string",
- "receiverHomePhone": "string",
- "receiverWorkPhone": "string",
- "receiverCellularPhone": "string",
- "receiverTelefax": "string",
- "receiverEmail": "string",
- "reminderDate": "2019-08-24",
- "collectionDate": "2019-08-24"
}{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "property1": null,
- "property2": null
}| invoiceGuid required | string Invoice guid |
| $filter | string Filter conditions specified in a simplified OData format |
| $skip | integer <int32> List offset when paginating (default 0) |
| $top | integer <int32> Maximum size of result (default 25, max 100) |
| $orderby | string Sorting conditions E.g. "fullname desc" |
{- "count": 0,
- "skip": 0,
- "total": 0,
- "value": [
- {
- "name": "string",
- "value": [
- "string"
]
}
]
}| invoiceGuid required | string Invoice guid |
Extra field value
| name | string or null Name of Extra field data |
| value | Array of strings or null The value of the extra field |
{- "name": "string",
- "value": [
- "string"
]
}{- "name": "string",
- "value": [
- "string"
]
}| invoiceGuid required | string The unique GUID of the invoice |
| name required | string The name of the extra field |
{- "name": "string",
- "value": [
- "string"
]
}| invoiceGuid required | string Invoice guid |
| name required | string Extrafield name |
Extrafield value
| value | Array of strings or null The value of the extra field |
{- "value": [
- "string"
]
}{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "property1": null,
- "property2": null
}| invoiceGuid required | string Invoice guid |
| name required | string Extrafield name |
{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "property1": null,
- "property2": null
}| invoiceGuid required | string Invoice guid |
| $filter | string Filter conditions specified in a simplified OData format |
| $skip | integer <int32> List offset when paginating (default 0) |
| $top | integer <int32> Maximum size of result (default 25, max 100) |
| $orderby | string Sorting conditions E.g. "fullname desc" |
{- "count": 0,
- "skip": 0,
- "total": 0,
- "value": [
- {
- "insuranceGuid": "string",
- "insuranceDate": "2019-08-24T14:15:22Z",
- "insuranceCompanyName": "string",
- "insuranceCompanyNumber": "string",
- "insuranceCompanyCustomerNumber": "string",
- "note": "string",
- "endDate": "2019-08-24T14:15:22Z",
- "currencyCode": "string",
- "amount": 0,
- "extraLimitAmount": 0,
- "extraLimitEndDate": "2019-08-24T14:15:22Z",
- "paymentTerm": 0,
- "graceDays": 0,
- "links": [
- {
- "type": "string",
- "name": "string",
- "href": "string",
- "resource": "string",
- "guid": "string"
}
]
}
]
}| invoiceGuid required | string Invoice guid |
Credit insurance information
| insuranceCompanyReferenceCode | string or null Reference code of the credit insurance company, eg. ATRADIUS, EULERHERMES. |
| insuranceCompanyNumber | string or null Reference number at the credit insurance company. |
| insuranceCompanyCustomerNumber | string or null Customer number at the credit insurance company. |
| note | string or null Free text note |
| endDate | string or null <date-time> End date for the credit insurance |
| currencyCode | string or null Currency code of the insured amount |
| amount | number or null <double> The insured amount |
| extraLimitAmount | number or null <double> The extra limit amount caused by the credit insurance |
| extraLimitEndDate | string or null <date-time> End date for the extra limit |
| paymentTerm | integer or null <int32> The payment term |
| graceDays | integer or null <int32> Grace days |
{- "insuranceCompanyReferenceCode": "string",
- "insuranceCompanyNumber": "string",
- "insuranceCompanyCustomerNumber": "string",
- "note": "string",
- "endDate": "2019-08-24T14:15:22Z",
- "currencyCode": "string",
- "amount": 0,
- "extraLimitAmount": 0,
- "extraLimitEndDate": "2019-08-24T14:15:22Z",
- "paymentTerm": 0,
- "graceDays": 0
}{- "insuranceGuid": "string",
- "insuranceDate": "2019-08-24T14:15:22Z",
- "insuranceCompanyName": "string",
- "insuranceCompanyNumber": "string",
- "insuranceCompanyCustomerNumber": "string",
- "note": "string",
- "endDate": "2019-08-24T14:15:22Z",
- "currencyCode": "string",
- "amount": 0,
- "extraLimitAmount": 0,
- "extraLimitEndDate": "2019-08-24T14:15:22Z",
- "paymentTerm": 0,
- "graceDays": 0,
- "links": [
- {
- "type": "string",
- "name": "string",
- "href": "string",
- "resource": "string",
- "guid": "string"
}
]
}| invoiceGuid required | string The unique GUID of the invoice |
| insuranceGuid required | string The unique GUID of the credit insurance |
{- "insuranceGuid": "string",
- "insuranceDate": "2019-08-24T14:15:22Z",
- "insuranceCompanyName": "string",
- "insuranceCompanyNumber": "string",
- "insuranceCompanyCustomerNumber": "string",
- "note": "string",
- "endDate": "2019-08-24T14:15:22Z",
- "currencyCode": "string",
- "amount": 0,
- "extraLimitAmount": 0,
- "extraLimitEndDate": "2019-08-24T14:15:22Z",
- "paymentTerm": 0,
- "graceDays": 0,
- "links": [
- {
- "type": "string",
- "name": "string",
- "href": "string",
- "resource": "string",
- "guid": "string"
}
]
}| invoiceGuid required | string Invoice guid |
| insuranceGuid required | string Credit insurance GUID |
New credit insurance information
| insuranceCompanyNumber | string or null Reference number at the credit insurance company. |
| insuranceCompanyCustomerNumber | string or null Customer number at the credit insurance company. |
| note | string or null Free text note |
| endDate | string or null <date-time> End date for the credit insurance |
| currencyCode | string or null Currency code of the insured amount |
| amount | number or null <double> The insured amount |
| extraLimitAmount | number or null <double> The extra limit amount caused by the credit insurance |
| extraLimitEndDate | string or null <date-time> End date for the extra limit |
| paymentTerm | integer or null <int32> The payment term |
| graceDays | integer or null <int32> Grace days |
{- "insuranceCompanyNumber": "string",
- "insuranceCompanyCustomerNumber": "string",
- "note": "string",
- "endDate": "2019-08-24T14:15:22Z",
- "currencyCode": "string",
- "amount": 0,
- "extraLimitAmount": 0,
- "extraLimitEndDate": "2019-08-24T14:15:22Z",
- "paymentTerm": 0,
- "graceDays": 0
}{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "property1": null,
- "property2": null
}| invoiceGuid required | string Invoice guid |
| insuranceGuid required | string Credit insurance GUID |
{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "property1": null,
- "property2": null
}| invoiceGuid required | string Invoice guid |
| $filter | string Filter conditions specified in a simplified OData format |
| $skip | integer <int32> List offset when paginating (default 0) |
| $top | integer <int32> Maximum size of result (default 25, max 100) |
| $orderby | string Sorting conditions E.g. "fullname desc" |
{- "count": 0,
- "skip": 0,
- "total": 0,
- "value": [
- {
- "note": "string",
- "documentType": "string",
- "loggedAt": "2019-08-24T14:15:22Z",
- "originalFileName": "string",
- "important": true,
- "links": [
- {
- "type": "string",
- "name": "string",
- "href": "string",
- "resource": "string",
- "guid": "string"
}
]
}
]
}| invoiceGuid required | string Invoice guid |
Document information
| note required | string non-empty Free extra information related to the document. |
| documentType | string or null Document code (one of predefined types idoc / invoice / gjeldsbrev / verdict / domforlik). |
| loggedAt | string or null <date-time> Document creation date. |
| originalFileName required | string non-empty The file name to be generated instead of an auto-generated one. |
| searchValue | string or null Document specific search value or reference number. |
| externalLink | string or null Link to the document, if it exists on external archive. |
| important | boolean or null Document importancy flag. |
| fileDataBase64 | string or null Base64-encoded file body. |
{- "note": "string",
- "documentType": "string",
- "loggedAt": "2019-08-24T14:15:22Z",
- "originalFileName": "string",
- "searchValue": "string",
- "externalLink": "string",
- "important": true,
- "fileDataBase64": "string"
}{- "note": "string",
- "documentType": "string",
- "loggedAt": "2019-08-24T14:15:22Z",
- "originalFileName": "string",
- "important": true,
- "links": [
- {
- "type": "string",
- "name": "string",
- "href": "string",
- "resource": "string",
- "guid": "string"
}
]
}| invoiceGuid required | string The unique GUID of the invoice |
| documentGuid required | string The unique GUID of the document |
{- "note": "string",
- "documentType": "string",
- "loggedAt": "2019-08-24T14:15:22Z",
- "originalFileName": "string",
- "important": true,
- "links": [
- {
- "type": "string",
- "name": "string",
- "href": "string",
- "resource": "string",
- "guid": "string"
}
]
}| invoiceGuid required | string Invoice guid |
| $filter | string Filter conditions specified in a simplified OData format |
| $skip | integer <int32> List offset when paginating (default 0) |
| $top | integer <int32> Maximum size of result (default 25, max 100) |
| $orderby | string Sorting conditions E.g. "fullname desc" |
{- "count": 0,
- "skip": 0,
- "total": 0,
- "summary": {
- "sum_Principal": 0,
- "sum_Interest": 0,
- "sum_Fee": 0,
- "credit": 0
}, - "values": [
- {
- "loggedAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "userCode": "string",
- "credit": 0,
- "archived": true,
- "sum_Principal": 0,
- "sum_Interest": 0,
- "sum_Fee": 0,
- "sum_Total": 0,
- "type": "string",
- "id": 0
}
]
}| invoiceGuid required | string |
Array of objects or null (PutTransactionData) List of transactions. |
[- {
- "transactions": [
- {
- "transDate": "2019-08-24T14:15:22Z",
- "amount": 0,
- "currencyCode": "string",
- "exchangeDate": "2019-08-24T14:15:22Z",
- "exchangeRate": 0,
- "transType": 0,
- "transSpecType": 0,
- "status": 0,
- "paymentSource": "string",
- "externalReference": "string",
- "note": "string",
- "externallyAccountedFor": true
}
]
}
]{- "import_Date": "2019-08-24T14:15:22Z",
- "sum_Amount": 0,
- "number_Of_Transactions": 0
}| invoiceGuid required | string |
Array of objects or null (DeleteTransactionData) List of transactions. |
[- {
- "transactions": [
- {
- "transLogId": 0
}
]
}
]{- "revertedDate": "2019-08-24T14:15:22Z",
- "transactionsReverted": 0
}| invoiceGuid required | string Invoice guid |
Payment information
| paymentReference | string or null Payment reference string |
| paymentDate | string <date-time> Payment date |
| accountingDate | string or null <date-time> Accounting date for G/L |
| paymentAmount | number <double> Total paid amount |
| currencyCode | string or null The currency the paid payment |
| receivedAmount | number or null <double> Received amount in G/L currency |
| exchangeDate | string or null <date-time> Date for currency exchange |
| source | string or null Information of the origin of the payment |
{- "paymentReference": "string",
- "paymentDate": "2019-08-24T14:15:22Z",
- "accountingDate": "2019-08-24T14:15:22Z",
- "paymentAmount": 0,
- "currencyCode": "string",
- "receivedAmount": 0,
- "exchangeDate": "2019-08-24T14:15:22Z",
- "source": "string"
}{- "paymentGuid": "string",
- "paymentReference": "string",
- "paymentDate": "2019-08-24T14:15:22Z",
- "accountingDate": "2019-08-24T14:15:22Z",
- "paymentAmount": 0,
- "currencyCode": "string",
- "receivedAmount": 0,
- "exchangeDate": "2019-08-24T14:15:22Z",
- "source": "string"
}| invoiceGuid required | string Invoice guid |
Dispute information
| reason | string or null Reason for the disbute |
| disputedAt | string or null <date-time> Date when the customer disputed the invoice. |
| isDisputed | boolean or null Flag if the invoice is disputed. When IsDisputed = false, the dispute is marked as resolved |
{- "reason": "string",
- "disputedAt": "2019-08-24T14:15:22Z",
- "isDisputed": true
}{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "property1": null,
- "property2": null
}| invoiceGuid required | string Invoice guid |
Deprecate information
| deprecationLevel | string (DeprecationLevel) Enum: "Reservation" "WriteOff" Enumerator for DeprecationLevel |
| deprecatedAt | string or null <date-time> Date when the invoice was deprecated. |
| note | string or null Note connected to the depreciation. |
{- "deprecationLevel": "Reservation",
- "deprecatedAt": "2019-08-24T14:15:22Z",
- "note": "string"
}{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "property1": null,
- "property2": null
}| invoiceGuid required | string |
Closure information
| closureCode | string or null Closure code |
| note | string or null Closure note. |
{- "closureCode": "string",
- "note": "string"
}{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "property1": null,
- "property2": null
}| invoiceGuid required | string Invoice guid |
| initialValues | boolean Initial values |
{- "values": {
- "stopCollection": 0,
- "stopCollectionExpire": "2019-08-24T14:15:22Z",
- "stopCollectionReason": "string",
- "interestInvoiceStop": 0,
- "interestInvoiceStopExpire": "2019-08-24T14:15:22Z",
- "interestInvoiceStopReason": "string"
}, - "options": { }
}| invoiceGuid required | string Invoice guid |
On-hold status
object (OnHoldValues) | |
object (OnHoldOptions) |
{- "values": {
- "stopCollection": 0,
- "stopCollectionExpire": "2019-08-24T14:15:22Z",
- "stopCollectionReason": "string",
- "interestInvoiceStop": 0,
- "interestInvoiceStopExpire": "2019-08-24T14:15:22Z",
- "interestInvoiceStopReason": "string"
}, - "options": { }
}{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "property1": null,
- "property2": null
}| invoiceGuid required | string Invoice guid |
New due date
| newDueDate | string <date-time> New due date |
{- "newDueDate": "2019-08-24T14:15:22Z"
}{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "property1": null,
- "property2": null
}| invoiceGuid required | string Invoice guid |
| initialValues | boolean Initial values |
{- "values": {
- "purchaseFeeAmount": 0,
- "purchaseFeeCurrency": "string",
- "purchaseFeePercentage": 0,
- "invoiceItemId": 0,
- "approved": true,
- "recourseDays": 0,
- "depositAmount": 0,
- "note": "string",
- "currencycode": "string",
- "remainingprincipal": 0,
- "remainingfee": 0,
- "remainingtotalamount": 0,
- "registrationdate": "2019-08-24T14:15:22Z",
- "applications": 0,
- "applicationsum": 0,
- "sumgovernmentcases": 0,
- "sumprivatecases": 0,
- "creditlimit": 0,
- "assessedsalary": 0,
- "mortgagesumcompany": 0,
- "mortgagesumbankrupt": 0,
- "usernote": "string"
}, - "options": { }
}| invoiceGuid required | string Invoice guid |
Purchase information
| purchaseFeeAmount | number or null <double> Purchase fee (will be calculated if omitted) |
| purchaseFeeCurrency | string or null Currency code of purchase fee |
| purchaseFeePercentage | number or null <double> Purchase fee in percent |
| invoiceItemId | integer or null <int32> Sets the invoice item id. |
| approved | boolean or null Sets if the purchase is approved. Default is true. |
| recourseDays | integer or null <int32> Purchase invoice with recourse rights |
| depositAmount | number or null <double> Optional amount kept as deposit until payment from customer |
| note | string or null Any additional note |
{- "purchaseFeeAmount": 0,
- "purchaseFeeCurrency": "string",
- "purchaseFeePercentage": 0,
- "invoiceItemId": 0,
- "approved": true,
- "recourseDays": 0,
- "depositAmount": 0,
- "note": "string"
}{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "property1": null,
- "property2": null
}| invoiceGuid required | string Invoice guid |
| initialValues | boolean Initial values |
{- "values": {
- "reason": "string",
- "recourseFee": 0,
- "recourseFeeCurrency": "string",
- "virt_reimburseamount": 0,
- "virt_reimburseamountcurrency": "string",
- "virt_recoursedate": "2019-08-24T14:15:22Z"
}, - "options": { }
}| invoiceGuid required | string Invoice guid |
Recourse information
| reason | string or null Reason for the recourse |
| recourseFee | number or null <double> Additional fee for recoursing the invoice |
| recourseFeeCurrency | string or null Currency code of recourse fee |
{- "reason": "string",
- "recourseFee": 0,
- "recourseFeeCurrency": "string"
}{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "property1": null,
- "property2": null
}| invoiceGuid required | string Credit invoice guid |
Information about how credit invoice should be applied
| creditInvoiceGuid | string or null Credit invoice guid |
| deductionOrder | string or null Deduction order |
Array of objects or null (CreditInvoicePlacementInfo) List of invoices that the credit invoice should be placed against |
{- "creditInvoiceGuid": "string",
- "deductionOrder": "string",
- "placements": [
- {
- "invoiceGuid": "string",
- "amount": 0
}
]
}{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "property1": null,
- "property2": null
}| serviceDefinition required | string The invoke service definition request. |
| Guid | string A guid that is served to a service definition |
{- "systemCurrency": "string",
- "totalAmount": 0,
- "lastUpdatedAt": "2019-08-24T14:15:22Z",
- "charts": [
- {
- "name": "string",
- "chartType": "string",
- "showLegend": true,
- "showTooltip": true,
- "showTitle": true,
- "horizontalAlignment": true,
- "tooltipTemplate": "string",
- "legendPosition": 0,
- "titlePosition": 0,
- "barChartSeries": [
- {
- "data": [
- 0
], - "category": "string"
}
], - "pieChartSeries": [
- {
- "value": 0,
- "category": "string"
}
], - "lineChartSeries": [
- {
- "data": [
- {
- "value": 0,
- "category": "string"
}
], - "category": "string"
}
], - "donutChartSeries": [
- {
- "value": 0,
- "category": "string",
- "count": 0
}
]
}
], - "distributions": [
- {
- "type": "string",
- "groups": [
- {
- "groupName": "string",
- "currencyCode": "string",
- "distributions": [
- {
- "category": "string",
- "value": 0,
- "currencyCode": "string",
- "lastUpdatedAt": "2019-08-24T14:15:22Z"
}
]
}
]
}
], - "links": [
- {
- "type": "string",
- "name": "string",
- "href": "string",
- "resource": "string",
- "guid": "string"
}
]
}Execute custom service definition in CLVR with possibility to pass in JSON into definition.
| invoiceGuid required | string Invoice unique id |
| serviceDefinition required | string The invoke service definition request. |
| async | boolean Specify if custom action should be performed asynchronously |
JSON body
{- "name1": "string",
- "name2": false,
- "name3": {
- "name4": [
- "string",
- "string"
]
}
}{ }Execute custom service definition in CLVR with possibility to pass in JSON into definition.
| serviceDefinition required | string The invoke service definition request. |
| async | boolean Specify if custom action should be performed asynchronously |
JSON body
{- "name1": "string",
- "name2": false,
- "name3": {
- "name4": [
- "string",
- "string"
]
}
}{ }