Returns a chronological line-by-line ledger of voucher sales, redemptions, and refunds
in the requested period at a site. Each entry is annotated with the order, basket item,
payment, voucher code, and (where relevant) refund it relates to so it can be linked
back to the underlying records.
Returns a single-line summary of voucher sales, redemptions, and the resulting opening
and closing voucher liability balances for the given period at a site. Use this to
reconcile the deferred-revenue balance held against Trybe-issued vouchers. For a
line-by-line breakdown, see
/shop/reports/voucher-ledger-detailed.