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": "e30f655f-c0f0-427c-9090-8413de165e6c"
  },
  {
    "Id": "e30f655f-c0f0-427c-9090-8413de165e6c"
  }
]

Response Formats

[
  {
    "Status": "Draft",
    "VoucherNumber": 1,
    "Id": "b14c14ba-b669-44bd-9a00-f0a5e6481726",
    "Version": "AAAAAAYb0Eo1"
  },
  {
    "Status": "Draft",
    "VoucherNumber": 1,
    "Id": "b14c14ba-b669-44bd-9a00-f0a5e6481726",
    "Version": "AAAAAAYb0Eo1"
  }
]