Learn how BOLT11 Lightning invoices work, what information they contain, and why decoding invoices helps prevent errors and fraud.

The most secure way to stack sats. Simple, fast, and zero trading fees.
A BOLT11 invoice is a payment request format used on the Lightning Network for instant bitcoin transactions. When you receive a BOLT11 invoice (also called a Lightning invoice), it includes all the information needed to complete a payment.
This information includes the recipient’s node address, payment amount, and expiration time. Learning how to decode these invoices helps users verify payment details before sending bitcoin.
Key Summary: BOLT11 invoices are standardized payment requests on the Lightning Network. They contain encoded payment data that decoders translate into readable details such as amount, destination, and expiration time.
Key Takeaways:
A BOLT11 invoice is the standard payment request format for Lightning Network transactions. It is defined in the Lightning Network specification known as BOLT #11.
These invoices encode payment information into a long alphanumeric string. The string usually begins with “lnbc” for Bitcoin mainnet or “lntb” for testnet.
A BOLT11 invoice contains key payment data. This includes the recipient’s public key, payment amount (often in millisatoshis), payment hash, expiration time, and optional metadata such as descriptions.
This standardized format ensures compatibility across different Lightning wallets and implementations.
Lightning Network: A Layer 2 payment protocol built on Bitcoin. It enables instant, low-cost transactions by using payment channels between users.
Learn more about Lightning Network banking
For additional context, our complete guide to Lightning invoices explains invoice creation and management in detail.
BOLT11 invoices solve a key challenge in Lightning payments. They provide a standard way to request payments.
Without this format, users would need to manually share multiple pieces of information. This would increase the risk of mistakes and security issues.
The format also includes built-in error detection through checksums. It supports features like routing hints, which help payments reach their destination across complex channel networks.
Invoices also include expiration times. This prevents outdated payment requests from being paid accidentally, reducing confusion and potential loss of funds.
BOLT11 Invoices are Different from Regular Bitcoin Addresses

A BOLT11 decoder reads the encoded invoice string and extracts individual data fields into readable form.
The decoder processes the invoice from left to right. It identifies the human-readable prefix, the data section, and the cryptographic signature that confirms authenticity.
The decoding process typically includes the following steps:
When you decode a BOLT11 invoice, several important fields appear in human-readable format.
The payment hash uniquely identifies the payment request. It prevents replay attacks, where the same invoice could otherwise be paid more than once.
The amount field shows how much bitcoin the recipient is requesting. This is usually displayed in satoshis or millisatoshis for smaller payments.
The expiration timestamp shows how long the invoice remains valid. Most invoices expire between one hour and 24 hours after creation.
Additional fields may include:
Decoded BOLT11 invoices display all payment details in clear text. This allows users to verify information before approving a payment.
The most important fields help confirm that you are sending the correct amount to the correct recipient.
Payment Hash: A unique 32-byte cryptographic identifier. It links the payment request to its preimage and ensures only the intended recipient can claim the funds.
A decoded invoice typically shows:
Beyond basic payment data, BOLT11 invoices can include advanced features that decoders reveal.
Routing hints suggest payment paths when the recipient’s node is not well connected to the wider network. This improves the chance of successful payments.
Some invoices also include minimum final CLTV expiry values. These define timing requirements for the payment’s final hop and help prevent timing-related failures.
Fallback addresses may be included as well. These provide an on-chain Bitcoin address if the Lightning payment cannot be completed.
Decoding Lightning invoices before paying helps protect against errors and fraud.
Most Lightning wallets automatically decode invoices and show the details. However, understanding what you are reviewing adds an extra layer of protection.
Verification helps catch common issues. You can confirm the amount matches what you agreed to pay. This is especially important because Lightning amounts are often shown in satoshis instead of fiat currency.
You can also confirm that the invoice has not expired, which would cause the payment to fail.
Reviewing decoded invoice data helps identify fraudulent payment requests.
By checking the recipient’s node public key against known identifiers, you can detect substitution attacks. In these cases, scammers replace legitimate invoices with their own.
Verifying the description field ensures the payment purpose matches your intent. For example, an invoice labeled “Coffee payment” when buying electronics should raise concern.
Signature verification confirms the invoice was created by the claimed node. This helps prevent impersonation attacks.
For users managing Lightning Network wallets, regular invoice verification builds safer payment habits.
BOLT11 invoices can be decoded using several methods. These include built-in wallet tools, command-line utilities, and web-based decoders.
Most Lightning wallets automatically decode invoices when you paste them in. They display the key details before you approve the payment.
For learning or manual verification, web-based decoders offer detailed field-by-field breakdowns. These tools explain each invoice component and help troubleshoot issues.
Lightning implementations such as LND, Core Lightning, and Eclair include invoice decoding commands.
These tools are useful for developers, node operators, and users running their own Lightning infrastructure.
For LND, the command “lncli decodepayreq” followed by the invoice string returns a JSON-formatted breakdown. Core Lightning uses “lightning-cli decode” with similar output.
Command-line tools often show technical fields that wallet interfaces hide, making them ideal for advanced analysis.
Several websites offer free BOLT11 invoice decoding without software installation.
You paste the invoice string into a text field, and the tool displays all extracted information in readable form.
When using web decoders, always confirm that the site is legitimate. While decoding an invoice does not directly compromise security, some sites may log data or attempt phishing.
Stick to trusted decoder tools from established Bitcoin resources.
There are Online Tools to Decode BOLT11 Invoices

Several issues can prevent invoices from decoding or being paid successfully.
Understanding these errors helps you troubleshoot problems and identify invalid or malicious invoices.
Checksum failures occur when the invoice string is copied incorrectly or becomes corrupted. Because BOLT11 includes error-detection codes, any change to the string will cause decoding to fail.
This protection prevents accidental payments caused by typos.
Expired invoices are one of the most common problems.
Lightning invoices usually expire after one hour by default, though creators can set different expiration times. Paying an expired invoice will fail, and the decoder will indicate that it is no longer valid.
Amount mismatches occur when the decoded amount does not match what you expected. This may result from sharing the wrong invoice, incorrect invoice creation, or a possible substitution attack.
Always verify the amount before paying.
Signature verification failures mean the invoice was not created by the claimed node or has been altered.
Modern decoders automatically flag these invoices, protecting users from fraudulent payment requests.
Network mismatches happen when an invoice is created for the wrong Bitcoin network. A mainnet wallet cannot pay testnet invoices, and vice versa.
Decoded invoices clearly show the network to prevent this issue.
BOLT11 invoices differ from traditional Bitcoin addresses and newer Lightning payment standards.
Understanding these differences helps you choose the right payment method for each use case.
BOLT11 vs On-Chain Bitcoin Addresses:
LNURL is a newer Lightning payment approach with different tradeoffs.
BOLT11 invoices include all payment data in one string. LNURL provides a URL that wallets contact to fetch payment details dynamically.
LNURL supports features such as recurring payments, withdrawals initiated by the recipient, and automatic invoice generation. It also avoids revealing node identity in advance.
However, BOLT11 invoices work with all Lightning wallets. LNURL requires additional wallet support and relies on external servers.
Within broader Lightning Network banking infrastructure, both standards serve important but different purposes.
BOLT11 invoices can encode advanced features beyond basic payment data.
Advanced decoders display these optional fields, enabling more complex payment scenarios and improving payment reliability.
Routing Hints: Optional data that suggests payment paths to the recipient’s node. These are especially useful when the recipient uses private channels.
Some invoices also support multi-part payments. These indicate whether a payment can be split across multiple routes.
This feature is known as Multi-Path Payments (MPP) or Atomic Multi-Path Payments (AMP). It allows wallets to combine liquidity from multiple channels to complete larger payments.
Some invoices include purpose-of-payment codes. These categorize transactions for accounting without revealing sensitive details.
Businesses use these codes to track Lightning payments across products or departments while maintaining privacy.
Feature bits decoded from invoices show which Lightning features the recipient’s node supports. This helps sending wallets avoid incompatible payment types.
Modern decoders display these features in readable form instead of raw binary data.
For users exploring differences between Bitcoin and Lightning wallets, these features highlight Lightning’s advanced capabilities.
The “lnbc” prefix identifies Lightning invoices for Bitcoin mainnet. It distinguishes them from testnet invoices such as lntb.
It also marks the start of the human-readable section, which may include the payment amount.
No. Expired invoices cannot be paid or reused.
The recipient must create a new invoice with a fresh payment hash and expiration time.
Most BOLT11 invoices are between 200 and 400 characters long.
The exact length depends on optional fields such as routing hints and descriptions.
No. Most Lightning wallets decode invoices automatically.
For manual verification, web-based decoders and command-line tools also work without special software.
The payment hash is a cryptographic hash of the payment preimage.
Only the recipient knows the preimage initially. Revealing it proves receipt of funds and enables atomic payments.
No. Each BOLT11 invoice specifies a single amount.
If flexibility is needed, the invoice can omit the amount, allowing the payer to choose how much to send.
Routing hints guide wallets toward possible payment paths.
They are especially useful when the recipient uses private channels that are not visible to the wider network.
Current BOLT11 invoices use ECDSA signatures, which are not quantum-resistant.
However, Lightning specifications allow future upgrades, and payments settle quickly enough that quantum attacks on individual invoices are impractical.
Each invoice uses a unique payment hash.
Once the payment completes and the preimage is revealed, attempting to pay the same invoice again will fail.
Yes. BOLT11 invoices work the same for domestic and international payments.
Lightning routes payments globally with the same speed and low fees.
BOLT11 invoice decoders convert Lightning payment requests into readable information. This allows users to verify details before sending bitcoin.
Understanding invoice structure and decoding improves payment security. It also helps avoid common issues such as expired invoices, amount mismatches, and fraudulent requests.
Key considerations when working with BOLT11 invoices:
To experience instant bitcoin transactions with Lightning Network, explore Rhino Bitcoin’s Lightning-enabled platform for seamless invoice management and fast payments.
Important Disclaimers
Disclaimer: Educational information only. Not financial, legal, medical, or tax advice.
Risk Warnings: All investments carry risk, including loss of principal. Past performance is not indicative of future results. Bitcoin is volatile and may not be suitable for all investors.
Conflicts of Interest: Rhino Bitcoin provides Bitcoin financial services. This content is educational and may reference our products.