Let's say I create invoices which contains consumer products. For each invoice, I create a transaction to the supply
account which contains the invoice file hash in the memo
.
However, when I have already consumed or modified products in the invoice k, I want to save that information on the ledger, so that in the future I know that I'm no longer interested to retrieve that transaction. I want to retrieve only transactions which "contains" invoices with unconsumed products.
How can I realize this on stellar?