# invoice list status

> Report payment hash, amount, memo, expiry, and amount paid for the last invoices.

invoice list status is a paid AI agent skill on Agensi by agent-bitcoin, in APIs & Backend. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $9 (one-time purchase)
- Creator: [agent-bitcoin](https://www.agensi.io/creators/agent-bitcoin)
- Category: [APIs & Backend](https://www.agensi.io/skills/apis-backend)
- Version: 1.0
- Last updated: 2026-11-24
- Security: scan passed (2026-11-24); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/invoice-list-status
- Tags: trading-investing, lightning-network, lnd, bitcoin, api

## About this skill

Managing a Lightning Network node involves constant monitoring of payment flows and invoice status. This skill provides a direct interface to read invoice data from an unlocked LND node without exposing sensitive credentials or preimages.

### What it does
- **Status Reporting** check whether specific invoices are settled, pending, or expired.
- **Recent Activity** fetch the last 10 invoices generated by the node in reverse chronological order.
- **Settlement Verification** audit the exact `amt_paid_sat` for settled transactions versus their original requested value.
- **Metadata Retrieval** extract memo fields, creation dates, and payment hashes for internal record keeping.
- **Filter Pending** isolate unsettled invoices to identify unpaid requests quickly.

### How it works
1. The agent checks node connectivity and wallet status using `get_info` via the `agent_bitcoin` client.
2. If the wallet is unlocked, the agent executes `lncli listinvoices` commands within the local LND container.
3. It parses the JSON output to extract payment hashes, amounts, and settlement states.
4. Data is formatted into a clean report, omitting sensitive BOLT11 strings or secrets.

### Frameworks & tools
This skill requires the `agent-bitcoin` SDK and a running LND node accessible via `docker exec`. It is configured for `regtest` by default but supports `mainnet` via environment variables.

### Why this beats prompting it yourself
Writing manual wrapper scripts for `lncli` within containerized environments is prone to formatting errors and security leaks. This skill enforces privacy by automatically stripping preimages and secrets while ensuring the agent never attempts to modify invoice state.

### Use cases
- Audit recent incoming payments to verify successful settlement.
- List all pending invoices to reconcile against an external order system.
- Check the expiry and creation dates of specific payment hashes.

### Known limitations
Requires an unlocked LND node and local Docker access. The skill is strictly read-only and cannot create new invoices or settle existing ones.

## Requires

- Python 3.10+
- agent-bitcoin package
- unlocked LND node

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the invoice list status skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Why should I use this skill instead of manually checking my LND node?

This skill provides an automated way to audit payment flows, verify settled amounts, and track pending invoices without having to manually log into your node or write custom scripts.

### Can this skill be used to create new invoices or settle payments?

No, this is a read-only skill designed for monitoring and auditing; it does not have the permissions to generate new invoices, settle payments, or access sensitive preimages.

### What are the technical requirements for running the 'invoice list status' skill?

You will need a running LND node accessible via Docker and the `agent-bitcoin` SDK, with the node set to either regtest or mainnet environments.

### Does this skill support both Bitcoin mainnet and regtest environments?

Yes, the skill is configured for regtest by default to allow for safe testing, but it can be easily switched to mainnet via environment variables for live node monitoring.

### How does the skill handle and format the data retrieved from the node?

The skill automatically parses the raw JSON output from LND into a clean, human-readable report, focusing on payment hashes, amounts, and settlement states while stripping out sensitive data.

### What happens if my LND node is currently locked?

The skill requires your LND node to be unlocked; if the wallet is locked, the agent will notify you as it cannot bypass standard LND security protocols.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
