> For the complete documentation index, see [llms.txt](https://kaminari.gitbook.io/home/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kaminari.gitbook.io/home/4_lightning-invoice.md).

# Generating a Lightning Invoice

[Link to the Customer Dashboard](https://app.kaminari.cloud/invoices/lightning)

### Lightning Invoice Page

![Lightning invoice page](/files/0uj3BkycAVKckxhB56h6)

We generate an invoice for a specific amount, payable through the Lightning Network.

### Lightning Invoice Form

![Lightning Invoice Form](/files/gwVpmarlFhJAkMv7fbkM)

### Form Displaying the Generated Lightning Invoice:

![Form Displaying the Generated Lightning Invoice](/files/GxQywSGYDoofig2LqXH3)

Several options are available for sorting, filtering, and searching the list of invoices, including encoded invoice, ID, amount, status, and created time. If you want to copy your invoice after closing the pop-up, simply hover over the encoded invoice and select the copy option.

### Lightning Invoice List

![Lightning Invoice List](/files/nbQZ83SP9cktK6oICR8y)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kaminari.gitbook.io/home/4_lightning-invoice.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
