Download OpenAPI specification:
Supplier 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": [
- {
- "clientGuid": "string",
- "clientReferenceNumber": "string",
- "supplierInvoiceGuid": "string",
- "supplierReferenceNumber": "string",
- "supplierName": "string",
- "invoiceNumber": "string",
- "receiverName": "string",
- "invoiceDate": "2019-08-24T14:15:22Z",
- "dueDate": "2019-08-24T14:15:22Z",
- "paymentDate": "2019-08-24T14:15:22Z",
- "registrationDate": "2019-08-24T14:15:22Z",
- "currencyCode": "string",
- "originalPrincipal": 0.1,
- "originalVAT": 0.1,
- "isPaid": true,
- "onHold": true
}
]
}| clientReference | string or null Client reference code. |
| supplierGuid | string or null Supplier guid, if already registered. |
| supplierReference | string or null Supplier reference code. |
object (PutSupplierInvoiceCustomer) Holds customer information. | |
| deliverySystemCode | string or null Delivery system code. |
| paymentReference | string or null Payment reference. |
| invoiceDate | string <date-time> Date of invoice. |
| dueDate | string <date-time> Due date of invoice. |
| paymentDate | string or null <date-time> Date when invoice is scheduled/has been paid |
Array of objects or null (SupplierInvoiceDebt) List of debts for the supplier invoice. | |
Array of objects or null (SupplierInvoiceFee) List of fees for the supplier invoice. | |
Array of objects or null (PutExtraFieldValue) List of extra fields for the supplier invoice. | |
Array of objects or null (SupplierInvoiceNote) List of notes for the supplier invoice. | |
Array of objects or null (PutDocument) List of documents for the supplier invoice. |
[- {
- "clientReference": "string",
- "supplierGuid": "string",
- "supplierReference": "string",
- "supplier": {
- "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",
- "eSupplierInvoiceReceiverId": "string",
- "homePhone": "string",
- "workPhone": "string",
- "cellularPhone": "string",
- "telefax": "string",
- "email": "string",
- "languageCode": "string",
- "currencyCode": "string",
- "preferredchannel": "string",
- "underAged": true,
- "externPaymentTypeCode": "string",
- "eSupplierInvoiceBankCode": "string",
- "supplierInvoiceChannel": "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"
}, - "deliverySystemCode": "string",
- "paymentReference": "string",
- "invoiceDate": "2019-08-24T14:15:22Z",
- "dueDate": "2019-08-24T14:15:22Z",
- "paymentDate": "2019-08-24T14:15:22Z",
- "debts": [
- {
- "debtPrincipalType": 0,
- "description": "string",
- "invoiceNumber": "string",
- "paymentReference": "string",
- "ledgerReference": "string",
- "originalPrincipal": 0.1,
- "remainingPrincipal": 0.1,
- "originalInterest": 0.1,
- "remainingInterest": 0.1,
- "paidInterest": 0.1,
- "originalVat": 0.1,
- "remainingVat": 0.1,
- "rounding": 0.1,
- "systemrounding": 0.1,
- "currencyCode": "string",
- "exchangeRate": 0.1,
- "orderDate": "2019-08-24T14:15:22Z",
- "invoiceDate": "2019-08-24T14:15:22Z",
- "dueDate": "2019-08-24T14:15:22Z",
- "ourOrder": "string",
- "yourOrder": "string",
- "goodsMark": "string",
- "deliveryMethod": "string",
- "deliveryCondition": "string",
- "deliveryDate": "2019-08-24T14:15:22Z",
- "deliveryNoteId": "string",
- "creditCardTransactionId": "string",
- "message": "string",
- "paymentCondition": 0,
- "receiptNumber": "string",
- "cashRegisterNumber": "string",
- "ourReference": "string",
- "yourReference": "string",
- "ourEmail": "string",
- "ourPhone": "string",
- "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.1,
- "remainingCount": 0,
- "unitTypeId": 0,
- "itemNetAmount": 0.1,
- "itemSystemNetAmount": 0.1,
- "discount": 0.1,
- "rowPrincipalAmount": 0.1,
- "systemRowPrincipalAmount": 0.1,
- "includingVAT": true,
- "vatAmount": 0.1,
- "systemVatAmount": 0.1,
- "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"
]
}
]
}
], - "fees": [
- {
- "name": "string",
- "description": "string",
- "feeDate": "2019-08-24T14:15:22Z",
- "principalAmount": 0.1,
- "vatAmount": 0.1,
- "interestAmount": 0.1,
- "paidInterest": 0.1,
- "exchangeRate": 0.1,
- "currencyCode": "string",
- "interestRate": 0.1,
- "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"
}
]
}
]{- "supplierInvoiceGuids": [
- "string"
], - "impStockId": 0
}| guid required | string The GUID representing the invoice. |
{- "clientReference": "string",
- "supplierReference": "string",
- "invoiceNumber": "string",
- "deliverySystemCode": "string",
- "paymentReference": "string",
- "invoiceDat": "2019-08-24T14:15:22Z",
- "dueDate": "2019-08-24T14:15:22Z",
- "paymentDate": "2019-08-24T14:15:22Z",
- "currencyCode": "string",
- "originalPrincipal": 0.1,
- "originalVAT": 0.1,
- "isPaid": true,
- "onHold": true,
- "registrationDate": "2019-08-24T14:15:22Z",
- "links": [
- {
- "type": "string",
- "name": "string",
- "href": "string",
- "resource": "string",
- "guid": "string"
}
]
}| invoiceGuid required | string |
| dueDate | string or null <date-time> Due date of the SupplierInvoice. |
| paymentDate | string or null <date-time> Date when invoice is scheduled/has been paid |
| paymentCondition | string or null Payment condition. |
| onHold | boolean or null Put the supplier invoice on hold to avoid paying it until the hold is removed |
| 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. |
| ourEmail | string or null Our email. |
| ourPhone | string or null Our phone number. |
| goodsMark | string or null Goods mark. |
{- "dueDate": "2019-08-24T14:15:22Z",
- "paymentDate": "2019-08-24T14:15:22Z",
- "paymentCondition": "string",
- "onHold": true,
- "paymentReference": "string",
- "receiverReference": "string",
- "ourOrder": "string",
- "yourOrder": "string",
- "ourReference": "string",
- "yourReference": "string",
- "ourEmail": "string",
- "ourPhone": "string",
- "goodsMark": "string"
}{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "property1": null,
- "property2": null
}| invoiceGuid required | string SupplierInvoice 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 SupplierInvoice 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 SupplierInvoice 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 SupplierInvoice guid |
| name required | string Extrafield name |
{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "property1": null,
- "property2": null
}| invoiceGuid required | string SupplierInvoice 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 SupplierInvoice 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 |
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.1,
- "currencyCode": "string",
- "receivedAmount": 0.1,
- "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.1,
- "currencyCode": "string",
- "receivedAmount": 0.1,
- "exchangeDate": "2019-08-24T14:15:22Z",
- "source": "string"
}| invoiceGuid required | string Credit invoice guid |
Information about how credit invoice should be applied
| supplierCreditInvoiceGuid | string or null Supplier credit invoice guid |
| deductionOrder | string or null Deduction order |
Array of objects or null (CreditSupplierInvoicePlacementInfo) List of SupplierInvoices that the credit SupplierInvoice should be placed against |
{- "supplierCreditInvoiceGuid": "string",
- "deductionOrder": "string",
- "placements": [
- {
- "supplierInvoiceGuid": "string",
- "amount": 0.1
}
]
}{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "property1": null,
- "property2": null
}Execute custom service definition in CLVR with possibility to pass in JSON into definition.
| invoiceGuid required | string SupplierInvoice 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"
]
}
}{ }