I'm interested in using lightning invoices for storing some basic metadata about a transaction on the chain. I'm also open to learn of a different approach if invoices aren't a good choice for my app.
In my use case, Alice should pay Bob 1000 sat. I would like Alice to create the invoice with Bob as the payee, and then pay the invoice herself. From what I can tell, there is no option to set the payee address when creating the invoice.
In the Bolt11 spec, there is a line that reads:
The recovery ID allows public-key recovery, so the identity of the payee node can be implied.
Does this suggest that the payee address specified instead of always being the identity of the invoice creator?