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

# invoice

### 统一返回值格式

```go
type JsonResult struct {
    Success bool   `json:"success"`
    Error   string `json:"error"`
    Data    any    `json:"data"`
}
```

* 是否成功响应
* 错误信息
* 具体数据
