GET v1/{organizationId}/entries?fromDate={fromDate}&toDate={toDate}&includePrimo={includePrimo}

Get a list of Entries for a given period

Request Information

URI Parameters

NameDescriptionTypeAdditional information
fromDate

date

Required

toDate

date

Required

includePrimo

boolean

Default value is True

organizationId

string

None.

Body Parameters

Response Information

Resource Description

200 (OK) Returns a collection of Entries in the given period.

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"
  }
]