VoucherLedger

Get voucher ledger balances as of the given date

Get voucher ledger balances as of the given date.

get/shop/reports/voucher-ledger/summary

Query parameters

site_idstring uuid

Retrieve the ledger voucher details for this site.

datestring date
Example:2023-05-05

Retrieve the ledger voucher details as at this date.

Response

A summary of the voucher ledger balances on the given date.

Example response

{
  "data": {
    "balances": {
      "voucher": 5000,
      "voucher_difference": 2000
    },
    "balance": 5000
  }
}

Changes