InvoiceCodingProposalExtendedResponseDto
Response model for invoice coding proposal with invoice.
invoiceCodingProposal object
Response model for invoice coding proposal.
The Unique Kaunt Id of the invoice.
1cca04bf-7def-42ca-a56f-c36becb7c9e4
invoiceLineCodingDimensionProposals object[]nullable
An array containing general dimensions associated to the invoice.
Sequence number for a coding proposal for a invoice
1
dimensionProposals 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-155
Name of the dimension
Assurance
dimensionValueProposals object[]nullable
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.
Assurance01
Name of the dimension value in your ERP system.
Assurance-155
Possible values: [Low
, Medium
, High
]
Priority index indicating the priority of the proposal. The lowest number indicates the highest priority.
1
invoiceLineCodingDimensionCombinationProposals object[]nullable
An array containing proposals for the combination of dimensions
Sequence number for a coding proposal for an invoice
1
dimensionCombinationProposals object[]
Array of proposals for dimension combinations. Ordered by certainty with the first entry being the proposal with the highest certainty.
Possible values: [Low
, Medium
, High
]
Priority index indicating the priority of the proposal. The lowest number indicates the highest priority.
1
dimensionsWithValues object[]
The unique identifier of the dimension in your ERP system. Is expected to be unique within the company.
Assurance-155
Name of the dimension
Assurance
The unique identifier of the specific value for this dimension. Is expected to be unique within the company.
Assurance01
The name for the dimension value
Assurance dimension
invoiceCodingProposalGroups 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
Freight
Priority index indicating the priority of the proposal.The lowest number indicates the highest priority.
1
dimensionCombinationProposal object
Possible values: [Low
, Medium
, High
]
Priority index indicating the priority of the proposal. The lowest number indicates the highest priority.
1
dimensionsWithValues object[]
The unique identifier of the dimension in your ERP system. Is expected to be unique within the company.
Assurance-155
Name of the dimension
Assurance
The unique identifier of the specific value for this dimension. Is expected to be unique within the company.
Assurance01
The name for the dimension value
Assurance dimension
Total amount on the posting group not including VAT
324
The total VAT amount on the posting group
81
Total amount on the posting group including VAT
405
invoice object
Response model for Invoice
The internal invoice identifier within your system. Is expected to be unique within the company.
Possible values: non-empty
F50015
The invoice date (yyyy-MM-dd)
Possible values: non-empty
2022-07-25
Posting date of the invoice (yyyy-MM-dd)
2022-07-21
Payment due date (yyyy-MM-dd)
2022-08-15
Three-digit ISO 4217 currency code
Possible values: >= 3 characters
and <= 3 characters
DKK
Total amount on the invoice not including VAT
324
The total VAT amount on the invoice
81
Total amount on the invoice including VAT
405
Unique identifier of the purchaser within your system. Is expected to be unique within the company.
MKR
buyer objectrequired
Company DTO model.
Unique identifier of the company from your ERP system. Is expected to be unique.
1001abc
Represents the name of the company
Kaunt A/S
The Global Location Number (GLN) of the company
574400338
The Tax Identification number (TIN) the company is registered under.
40865888
address object
Address DTO model.
Address
Fiskerivej 12
Aarhus
8000
3-letter ISO 3166 country code.
DNK
contact object
Contact name
Lori K. Myrie
Email address for the contact
mailtocontact@contact.com
Phone number for the contact
+45 88 88 88 88
vendor objectrequired
Company DTO model.
Unique identifier of the company from your ERP system. Is expected to be unique.
1001abc
Represents the name of the company
Kaunt A/S
The Global Location Number (GLN) of the company
574400338
The Tax Identification number (TIN) the company is registered under.
40865888
address object
Address DTO model.
Address
Fiskerivej 12
Aarhus
8000
3-letter ISO 3166 country code.
DNK
contact object
Contact name
Lori K. Myrie
Email address for the contact
mailtocontact@contact.com
Phone number for the contact
+45 88 88 88 88
deliveryAddress object
Address DTO model.
Address
Fiskerivej 12
Aarhus
8000
3-letter ISO 3166 country code.
DNK
deliveryContact object
Contact name
Lori K. Myrie
Email address for the contact
mailtocontact@contact.com
Phone number for the contact
+45 88 88 88 88
Invoice id provided by the vendor
Invoice-EN-175
The number of the order to which the invoice is associated to
999554
Unique identifier of the first approver in the workflow. Is expected to be unique within the company.
Jack Petterson
Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures.
EXAMPLE
paymentInformation object
Payment information DTO model.
Identifier of the given payment method
DirectPayment01
The reference of the payment
T-155
Identifier for the payment terms
WithoutVat-5
Bank swift code
AAAA-BB-CC-123
Bank IBAN number
AA12345678901234567890
invoiceLines object[]required
Possible values: >= 1
The line sequence number
1
Specifies the description of the invoice line
Macbook Pro 14 inch, 512gb SSD, 16GB RAM, Space Grey
A short name optionally given to this item, such as a name from a catalogue, as distinct from a description
MACBOOKPRO14-SG
The quantity of the item in the invoice line
1
Unit of measure for the invoice line
Pcs
The line amount not including VAT
108
The line VAT amount
27
The line amount including VAT
135
The unique kaunt identifier of the invoice
88af81e1-1e47-4a60-8322-e5854bb6475f
attachments object[]nullable
The filename including file ending.
Invoice001.pdf
The mimetype/media type of the file
application/pdf
URL 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
}
],
"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"
}
]
}
}