Not available

Deprecated and not used anymore. Simply returns 1. When posting new ledger items, the voucher number on items are used only for grouping.

Query parameters

NameDescription
organizationId string

Returns

Next available voucher number

NameDescription
NextVoucherNumber integer

Next available voucher number from the current ledger

v1/{organizationId}/ledgeritems/nextvouchernumber

Response Formats

{
  "NextVoucherNumber": 1
}