Check whether a Bitcoin receive address belongs to a wallet
A valid address pasted into an invoice may belong to a different wallet on the same node. Query the intended wallet before diagnosing a missing receipt.
Select the invoice wallet
Set ADDRESS to the receive address on the invoice and replace shop with the loaded wallet name. getaddressinfo includes wallet-specific metadata when the address is known.
bitcoin-cli -rpcwallet=shop getaddressinfo "$ADDRESS" | jq '{address, ismine, ischange, labels, desc}'
Identify a routing error
If ismine is false here but true in the treasury wallet, trace which wallet endpoint created the invoice. A matching label helps identify the record but operators can change labels. The ownership result alone cannot prove that any transaction has paid this address, or that private signing material is available locally.