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": "c978c289-14e8-4b4a-a1ba-17cfd58a88fa"
  },
  {
    "Id": "c978c289-14e8-4b4a-a1ba-17cfd58a88fa"
  }
]

Response Formats

[
  {
    "Status": "Draft",
    "VoucherNumber": 1,
    "Id": "fcb0ec8d-d5fb-4d80-93c3-273090d17295",
    "Version": "AAAAAAYb0Eo1"
  },
  {
    "Status": "Draft",
    "VoucherNumber": 1,
    "Id": "fcb0ec8d-d5fb-4d80-93c3-273090d17295",
    "Version": "AAAAAAYb0Eo1"
  }
]