Skip to main content

InvoiceCodingProposalResponseDto

Response model for invoice coding proposal.

idstring<uuid>

The Unique Kaunt Id of the invoice.

Example: 1cca04bf-7def-42ca-a56f-c36becb7c9e4
invoiceLineCodingDimensionProposals object[]

An array containing general dimensions associated to the invoice.

  • Array [
  • invoiceLineNumberstringnullablerequired

    Sequence number for a coding proposal for a invoice

    Example: 1
    dimensionProposals object[]

    Array of dimensions related to the invoice line. Ordered alphabetically by the dimension name.

  • Array [
  • externalDimensionIdstringrequired

    The unique identifier of the dimension in your ERP system.

    Example: Assurance-155
    externalDimensionNamestringnullable

    Name of the dimension

    Example: Assurance
    dimensionValueProposals object[]

    Array of coding proposals. Ordered by certainty with the first entry being the proposal with the highest certainty.

  • Array [
  • externalDimensionValueIdstringnullable

    Identifier of the dimension value in your ERP system. Is expected to be unique within the company.

    Example: Assurance01
    externalDimensionValueNamestringnullable

    Name of the dimension value in your ERP system.

    Example: Assurance-155
    confidencestring

    Enumeration representing confidence levels.

    Possible values: [Low, Medium, High]

    proposalPriorityinteger<int32>

    Priority index indicating the priority of the proposal. The lowest number indicates the highest priority.

    Example: 1
  • ]
  • ]
  • ]
  • invoiceLineCodingDimensionCombinationProposals object[]

    An array containing proposals for the combination of dimensions

  • Array [
  • invoiceLineNumberstringnullablerequired

    Sequence number for a coding proposal for an invoice

    Example: 1
    dimensionCombinationProposals object[]

    Array of proposals for dimension combinations. Ordered by certainty with the first entry being the proposal with the highest certainty.

  • Array [
  • confidencestringnullable

    The confidence level of the proposal.

    Possible values: [Low, Medium, High]

    proposalPriorityinteger<int32>

    Priority index indicating the priority of the proposal. The lowest number indicates the highest priority.

    Example: 1
    dimensionsWithValues object[]

    The dimensions with their corresponding values in the proposal.

  • Array [
  • externalDimensionIdstringrequired

    The unique identifier of the dimension in your ERP system. Is expected to be unique within the company.

    Example: Assurance-155
    externalDimensionNamestringnullable

    Name of the dimension

    Example: Assurance
    externalDimensionValueIdstringnullable

    The unique identifier of the specific value for this dimension. Is expected to be unique within the company.

    Example: Assurance01
    externalDimensionValueNamestringnullable

    The name for the dimension value

    Example: Assurance dimension
  • ]
  • ]
  • ]
  • invoiceCodingProposalGroups object[]nullable

    An array containing coding proposals and posting text proposals for the posting groups

  • Array [
  • invoiceLineNumbersstring[]

    List of invoiceLineNumbers that are part of the posting group proposal

    Example: ["1"]
    invoiceLineIndexesinteger<int32>[]

    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.

    Example: [0]
    postingTextProposals object[]

    List of posting text proposals for the posting group

  • Array [
  • textstringrequired

    Text of the proposal

    Example: Freight
    proposalPriorityinteger<int32>required

    Priority index indicating the priority of the proposal.The lowest number indicates the highest priority.

    Example: 1
  • ]
  • dimensionCombinationProposal object

    DTO representing a proposal for a combination of dimension values.

    confidencestringnullable

    The confidence level of the proposal.

    Possible values: [Low, Medium, High]

    proposalPriorityinteger<int32>

    Priority index indicating the priority of the proposal. The lowest number indicates the highest priority.

    Example: 1
    dimensionsWithValues object[]

    The dimensions with their corresponding values in the proposal.

  • Array [
  • externalDimensionIdstringrequired

    The unique identifier of the dimension in your ERP system. Is expected to be unique within the company.

    Example: Assurance-155
    externalDimensionNamestringnullable

    Name of the dimension

    Example: Assurance
    externalDimensionValueIdstringnullable

    The unique identifier of the specific value for this dimension. Is expected to be unique within the company.

    Example: Assurance01
    externalDimensionValueNamestringnullable

    The name for the dimension value

    Example: Assurance dimension
  • ]
  • amountExVatnumber<double>nullable

    Total amount on the posting group not including VAT

    Example: 324
    vatAmountnumber<double>nullable

    The total VAT amount on the posting group

    Example: 81
    amountInclVatnumber<double>nullable

    Total amount on the posting group including VAT

    Example: 405
  • ]
  • InvoiceCodingProposalResponseDto
    {
    "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
    }
    ]
    }