Lightning Network Invoices
The Lightning Network uses a system of invoices instead of addresses, reflecting the network’s primary function of a payment network. Invoices are generated by the recipient of a payment, and the validity can be limited to a certain amount of time.
Each invoice is signed by the recipient and contains an amount, expiration time, destination pubkey, supported features and others. Invoices can be canceled by the recipient, too.
These mechanisms help eliminate overpayments, underpayments, late payments and duplicate payments and can be configured to handle tips and partial payments.