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": "82ff7aa5-9f11-477e-af13-47529121b0f2"
  },
  {
    "Id": "82ff7aa5-9f11-477e-af13-47529121b0f2"
  }
]

Response Formats

[
  {
    "Status": "Draft",
    "VoucherNumber": 1,
    "Id": "affd1233-eb99-4bc7-8db7-97e5a2f29484",
    "Version": "AAAAAAYb0Eo1"
  },
  {
    "Status": "Draft",
    "VoucherNumber": 1,
    "Id": "affd1233-eb99-4bc7-8db7-97e5a2f29484",
    "Version": "AAAAAAYb0Eo1"
  }
]