Reconcile incoming receipts grouped by wallet label

An accounts report can group incoming credits by store or campaign when receiving addresses have labels. The result measures receipts over time.

Include empty labels deliberately

For the loaded shop wallet, this query requires six confirmations and includes labels with no qualifying receipts. The amounts are denominated in BTC. Omitting empty rows can make an unused campaign look as though it was never configured.

bitcoin-cli -rpcwallet=shop listreceivedbylabel 6 true | jq '.[] | {label, amount, confirmations}'

Account for later spending

A store may have received 0.5 BTC and swept the funds elsewhere. Its received total can still show 0.5 BTC. For an inventory of coins remaining in the wallet, reconcile individual outpoints separately. Treat the label as editable bookkeeping metadata when mapping it to an accounting identifier.

bitcoincore.org listreceivedbylabel · bitcoincore.org listunspent