List ledger items

Gets status for ledger items

Query parameters

NameDescription
organizationId string

Request model

A list of ledger item status models
NameDescription
Id globally unique identifier

The unique identifier to identify a ledger item.

Returns

NameDescription
Status string

Status for the ledger item. Possible values are Draft, PendingBooking and Booked.

VoucherNumber integer

The assigned voucher number. If `null`, no voucher number is assgined yet.

Id globally unique identifier

The unique identifier to identify a ledger item.

Version string

The version for the ledger item. To avoid concurrency issues.

v1/{organizationId}/ledgeritems/status

Requests Formats

[
  {
    "Id": "5bcb8878-ebc7-442b-972f-883c9276a27e"
  },
  {
    "Id": "5bcb8878-ebc7-442b-972f-883c9276a27e"
  }
]

Response Formats

[
  {
    "Status": "Draft",
    "VoucherNumber": 1,
    "Id": "bb5853a8-9213-444b-9ea6-b767f27a4acc",
    "Version": "AAAAAAYb0Eo1"
  },
  {
    "Status": "Draft",
    "VoucherNumber": 1,
    "Id": "bb5853a8-9213-444b-9ea6-b767f27a4acc",
    "Version": "AAAAAAYb0Eo1"
  }
]