InvoiceCodingProposalExtendedResponseDto
Response model for invoice coding proposal with invoice.
invoiceCodingProposal objectrequired
Response model for invoice coding proposal.
The Unique Kaunt Id of the invoice.
1cca04bf-7def-42ca-a56f-c36becb7c9e4invoiceLineCodingDimensionProposals object[]
An array containing general dimensions associated to the invoice.
Sequence number for a coding proposal for a invoice
1dimensionProposals object[]
Array of dimensions related to the invoice line. Ordered alphabetically by the dimension name.
The unique identifier of the dimension in your ERP system.
Assurance-155Name of the dimension
AssurancedimensionValueProposals object[]
Array of coding proposals. Ordered by certainty with the first entry being the proposal with the highest certainty.
Identifier of the dimension value in your ERP system. Is expected to be unique within the company.
Assurance01Name of the dimension value in your ERP system.
Assurance-155Enumeration representing confidence levels.
Possible values: [Low, Medium, High]
Priority index indicating the priority of the proposal. The lowest number indicates the highest priority.
1invoiceLineCodingDimensionCombinationProposals object[]
An array containing proposals for the combination of dimensions
Sequence number for a coding proposal for an invoice
1dimensionCombinationProposals object[]
Array of proposals for dimension combinations. Ordered by certainty with the first entry being the proposal with the highest certainty.
The confidence level of the proposal.
Possible values: [Low, Medium, High]
Priority index indicating the priority of the proposal. The lowest number indicates the highest priority.
1dimensionsWithValues object[]
The dimensions with their corresponding values in the proposal.
The unique identifier of the dimension in your ERP system. Is expected to be unique within the company.
Assurance-155Name of the dimension
AssuranceThe unique identifier of the specific value for this dimension. Is expected to be unique within the company.
Assurance01The name for the dimension value
Assurance dimensioninvoiceCodingProposalGroups object[]nullable
An array containing coding proposals and posting text proposals for the posting groups
List of invoiceLineNumbers that are part of the posting group proposal
["1"]Zero-based indexes of the invoice lines that are part of the posting group proposal. The index corresponds to the index of the invoice line in the invoice. Because invoice line numbers are not guaranteed to be unique or present. The index can be used as a reference to the invoice lines.
[0]postingTextProposals object[]
List of posting text proposals for the posting group
Text of the proposal
FreightPriority index indicating the priority of the proposal.The lowest number indicates the highest priority.
1dimensionCombinationProposal object
DTO representing a proposal for a combination of dimension values.
The confidence level of the proposal.
Possible values: [Low, Medium, High]
Priority index indicating the priority of the proposal. The lowest number indicates the highest priority.
1dimensionsWithValues object[]
The dimensions with their corresponding values in the proposal.
The unique identifier of the dimension in your ERP system. Is expected to be unique within the company.
Assurance-155Name of the dimension
AssuranceThe unique identifier of the specific value for this dimension. Is expected to be unique within the company.
Assurance01The name for the dimension value
Assurance dimensionTotal amount on the posting group not including VAT
324The total VAT amount on the posting group
81Total amount on the posting group including VAT
405invoice object
Response model for Invoice
The internal invoice identifier within your system. Is expected to be unique within the company.
Possible values: non-empty
F50015The invoice date (yyyy-MM-dd)
Possible values: non-empty
2022-07-25Posting date of the invoice (yyyy-MM-dd)
2022-07-21Payment due date (yyyy-MM-dd)
2022-08-15Three-digit ISO 4217 currency code
Possible values: >= 3 characters and <= 3 characters
DKKTotal amount on the invoice not including VAT
324The total VAT amount on the invoice
81Total amount on the invoice including VAT
405Unique identifier of the purchaser within your system. Is expected to be unique within the company.
MKRbuyer object
Company DTO model.
Unique identifier of the company from your ERP system. Is expected to be unique.
1001abcRepresents the name of the company
Kaunt A/SThe Global Location Number (GLN) of the company
574400338The Tax Identification number (TIN) the company is registered under.
40865888address object
Address DTO model.
Address
Fiskerivej 12Aarhus80003-letter ISO 3166 country code.
DNKcontact object
Contact DTO model.
Contact name
Lori K. MyrieEmail address for the contact
mailtocontact@contact.comPhone number for the contact
+45 88 88 88 88vendor object
Company DTO model.
Unique identifier of the company from your ERP system. Is expected to be unique.
1001abcRepresents the name of the company
Kaunt A/SThe Global Location Number (GLN) of the company
574400338The Tax Identification number (TIN) the company is registered under.
40865888address object
Address DTO model.
Address
Fiskerivej 12Aarhus80003-letter ISO 3166 country code.
DNKcontact object
Contact DTO model.
Contact name
Lori K. MyrieEmail address for the contact
mailtocontact@contact.comPhone number for the contact
+45 88 88 88 88deliveryAddress object
Address DTO model.
Address
Fiskerivej 12Aarhus80003-letter ISO 3166 country code.
DNKdeliveryContact object
Contact DTO model.
Contact name
Lori K. MyrieEmail address for the contact
mailtocontact@contact.comPhone number for the contact
+45 88 88 88 88Invoice id provided by the vendor
Invoice-EN-175The number of the order to which the invoice is associated to
999554Unique identifier of the first approver in the workflow. Is expected to be unique within the company.
Jack PettersonFree-form text pertinent to this document, conveying information that is not contained explicitly in other structures.
EXAMPLEpaymentInformation object
Payment information DTO model.
Identifier of the given payment method
DirectPayment01The reference of the payment
T-155Identifier for the payment terms
WithoutVat-5Bank swift code
AAAA-BB-CC-123Bank IBAN number
AA12345678901234567890invoiceLines object[]required
The invoice lines associated with the invoice
Possible values: >= 1
The line sequence number
1Specifies the description of the invoice line
Macbook Pro 14 inch, 512gb SSD, 16GB RAM, Space GreyA short name optionally given to this item, such as a name from a catalogue, as distinct from a description
MACBOOKPRO14-SGThe quantity of the item in the invoice line
1Unit of measure for the invoice line
PcsThe line amount not including VAT
108The line VAT amount
27The line amount including VAT
135additionalFields objectnullable
Additional custom fields for flexible data storage
additionalFields objectnullable
Additional custom fields for flexible data storage
The unique kaunt identifier of the invoice
88af81e1-1e47-4a60-8322-e5854bb6475fattachments object[]nullable
The attachments associated with the invoice.
The filename including file ending.
Invoice001.pdfThe mimetype/media type of the file
application/pdfURL for downloading the filecontent of the attachment
https://sandbox-api.kaunt.com/tenants/05ed0ffa-1bf5-4bd1-9970-df7a78a948fe/companies/kaunt/files/d6281ec7-6fd4-4a13-be92-d3bebbcf79f7.pdf{
"invoiceCodingProposal": {
"id": "1cca04bf-7def-42ca-a56f-c36becb7c9e4",
"invoiceLineCodingDimensionProposals": [
{
"invoiceLineNumber": "1",
"dimensionProposals": [
{
"externalDimensionId": "Assurance-155",
"externalDimensionName": "Assurance",
"dimensionValueProposals": [
{
"externalDimensionValueId": "Assurance01",
"externalDimensionValueName": "Assurance-155",
"confidence": "Low",
"proposalPriority": 1
}
]
}
]
}
],
"invoiceLineCodingDimensionCombinationProposals": [
{
"invoiceLineNumber": "1",
"dimensionCombinationProposals": [
{
"confidence": "Low",
"proposalPriority": 1,
"dimensionsWithValues": [
{
"externalDimensionId": "Assurance-155",
"externalDimensionName": "Assurance",
"externalDimensionValueId": "Assurance01",
"externalDimensionValueName": "Assurance dimension"
}
]
}
]
}
],
"invoiceCodingProposalGroups": [
{
"invoiceLineNumbers": [
"1"
],
"invoiceLineIndexes": [
0
],
"postingTextProposals": [
{
"text": "Freight",
"proposalPriority": 1
}
],
"dimensionCombinationProposal": {
"confidence": "Low",
"proposalPriority": 1,
"dimensionsWithValues": [
{
"externalDimensionId": "Assurance-155",
"externalDimensionName": "Assurance",
"externalDimensionValueId": "Assurance01",
"externalDimensionValueName": "Assurance dimension"
}
]
},
"amountExVat": 324,
"vatAmount": 81,
"amountInclVat": 405
}
]
},
"invoice": {
"externalInvoiceId": "F50015",
"invoiceDate": "2022-07-25",
"postingDate": "2022-07-21",
"dueDate": "2022-08-15",
"currencyCode": "DKK",
"amountExVat": 324,
"vatAmount": 81,
"amountInclVat": 405,
"externalPurchaserId": "MKR",
"buyer": {
"externalId": "1001abc",
"name": "Kaunt A/S",
"glnNumber": "574400338",
"taxIdentificationNumber": "40865888",
"address": {
"address": "Fiskerivej 12",
"city": "Aarhus",
"zipCode": "8000",
"countryCode": "DNK"
},
"contact": {
"name": "Lori K. Myrie",
"emailAddress": "mailtocontact@contact.com",
"phoneNumber": "+45 88 88 88 88"
}
},
"vendor": {
"externalId": "1001abc",
"name": "Kaunt A/S",
"glnNumber": "574400338",
"taxIdentificationNumber": "40865888",
"address": {
"address": "Fiskerivej 12",
"city": "Aarhus",
"zipCode": "8000",
"countryCode": "DNK"
},
"contact": {
"name": "Lori K. Myrie",
"emailAddress": "mailtocontact@contact.com",
"phoneNumber": "+45 88 88 88 88"
}
},
"deliveryAddress": {
"address": "Fiskerivej 12",
"city": "Aarhus",
"zipCode": "8000",
"countryCode": "DNK"
},
"deliveryContact": {
"name": "Lori K. Myrie",
"emailAddress": "mailtocontact@contact.com",
"phoneNumber": "+45 88 88 88 88"
},
"vendorInvoiceNumber": "Invoice-EN-175",
"orderNumber": "999554",
"externalApproverId": "Jack Petterson",
"note": "EXAMPLE",
"paymentInformation": {
"paymentMethodId": "DirectPayment01",
"paymentReference": "T-155",
"paymentTermsId": "WithoutVat-5",
"bankSwiftCode": "AAAA-BB-CC-123",
"bankIbanNumber": "AA12345678901234567890"
},
"invoiceLines": [
{
"lineNumber": "1",
"description": "Macbook Pro 14 inch, 512gb SSD, 16GB RAM, Space Grey",
"name": "MACBOOKPRO14-SG",
"quantity": 1,
"unitOfMeasure": "Pcs",
"lineAmountExVat": 108,
"lineVatAmount": 27,
"lineAmountInclVat": 135,
"additionalFields": {
"customField1": "value1",
"customField2": "value2"
}
}
],
"additionalFields": {
"customField1": "value1",
"customField2": "value2"
},
"id": "88af81e1-1e47-4a60-8322-e5854bb6475f",
"attachments": [
{
"fileName": "Invoice001.pdf",
"mimeType": "application/pdf",
"url": "https://sandbox-api.kaunt.com/tenants/05ed0ffa-1bf5-4bd1-9970-df7a78a948fe/companies/kaunt/files/d6281ec7-6fd4-4a13-be92-d3bebbcf79f7.pdf"
}
]
}
}