Skip to main content

PostingRequestDto

Request model for Posting entity.

postingLineNumberinteger<int32>required

Sequence number of posting within an invoice

Example: 1
invoiceLineNumbersstring[]nullabledeprecated

An array of references to invoice lines

Example: ["1","2"]
externalInvoiceIdstringrequired

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

Possible values: non-empty

Example: F50015
vendorInvoiceNumberstringnullable

The invoice id assigned by the vendor

Example: F50015
postedInvoiceIdstringnullable

The unique Kaunt identifier of the PostedInvoice

Example: 22ed0ffa-1bf5-4bd1-9970-df7a78a948fe
fiscalPeriodstringnullable

The unique identifier of the fiscal period from your ERP system

Example: Q42021
postingDatestringrequired

Posting date (yyyy-MM-dd)

Possible values: non-empty

Example: 2022-08-21
descriptionstringnullable

The posting description / posting text

Example: Apples
postingAmountExVatnumber<double>required

The amount of the posting line not including VAT

Example: 100
postingVatAmountnumber<double>required

The VAT amount of the posting line

Example: 25
postingAmountInclVatnumber<double>required

The total amount of the posting line including VAT

Example: 125
currencyCodestringnullable

Three-digit ISO 4217 currency code

Possible values: >= 3 characters and <= 3 characters

Example: DKK
dimensions object[]required

Possible values: >= 1

  • Array [
  • externalDimensionIdstringrequired

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

    Possible values: non-empty

    Example: Assurance-155
    externalDimensionNamestringnullable

    Name of the dimension

    Example: Assurance
    externalDimensionValueIdstringrequired

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

    Possible values: non-empty

    Example: Assurance01
    externalDimensionValueNamestringnullable

    The name for the dimension value

    Example: Assurance dimension
  • ]
  • PostingRequestDto
    {
    "postingLineNumber": 1,
    "externalInvoiceId": "F50015",
    "vendorInvoiceNumber": "F50015",
    "postedInvoiceId": "22ed0ffa-1bf5-4bd1-9970-df7a78a948fe",
    "fiscalPeriod": "Q42021",
    "postingDate": "2022-08-21",
    "description": "Apples",
    "postingAmountExVat": 100,
    "postingVatAmount": 25,
    "postingAmountInclVat": 125,
    "currencyCode": "DKK",
    "dimensions": [
    {
    "externalDimensionId": "Assurance-155",
    "externalDimensionName": "Assurance",
    "externalDimensionValueId": "Assurance01",
    "externalDimensionValueName": "Assurance dimension"
    }
    ]
    }