GET v1/{organizationId}/entries/changes?changesFrom={changesFrom}&changesTo={changesTo}&includePrimo={includePrimo}

Get a list of all Entries added in a given time range, the time range cannot be longer than 31 days. Primo entries will be returned if they have been updated in the time range. The value of the primo entry will be the current total for that account and accounting year, not the changes made in the time range. The guid of a primo entry will be the same for a given pair of an account and an accounting year, i.e. the guid of a primo entry on account 2000 in 2018 will never change, but the value might be updated.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
changesFrom

date

Required

changesTo

date

Required

includePrimo

boolean

Default value is True

organizationId

string

None.

Body Parameters

Response Information

Resource Description

200 (OK) Returns a collection of Entries that has been added or updated in the given time range.

Collection of Entry
NameDescriptionType
AccountNumber

Account number

integer
AccountName

Account name

string
Date

Date

string
VoucherNumber

Voucher number

integer
VoucherType

Voucher type

string
Description

Description

string
VatType

Vat type

string
VatCode

Vat code

string
Amount

Amount

decimal number
EntryGuid

Amount

globally unique identifier
ContactGuid

Guid of the contact

globally unique identifier
Type

Type of entry, can be Normal, Primo, or Ultimo

string
Sample:
[
  {
    "AccountNumber": 0,
    "AccountName": "Salg af varer/ydelser m/moms",
    "Date": "2018-04-10",
    "VoucherNumber": null,
    "VoucherType": "Purchases",
    "Description": "#Serverhosting",
    "VatType": "Dansk salgsmoms",
    "VatCode": "U25",
    "Amount": 16000.0,
    "EntryGuid": null,
    "ContactGuid": null,
    "Type": "Normal"
  },
  {
    "AccountNumber": 0,
    "AccountName": "Salg af varer/ydelser m/moms",
    "Date": "2018-04-10",
    "VoucherNumber": null,
    "VoucherType": "Purchases",
    "Description": "#Serverhosting",
    "VatType": "Dansk salgsmoms",
    "VatCode": "U25",
    "Amount": 16000.0,
    "EntryGuid": null,
    "ContactGuid": null,
    "Type": "Normal"
  }
]