> ## Documentation Index
> Fetch the complete documentation index at: https://developer.tazapay.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Lightning Invoice

> Error codes for PUT /v3/lightning_invoice_bolt11/{id}

### PUT v3/lightning\_invoice\_bolt11/\{id}

| Code  | Message                                          | HTTP Status |
| ----- | ------------------------------------------------ | ----------- |
| 20471 | Field is required and must be a valid invoice id | 400         |
| 20472 | Invoice status is invalid for this operation     | 400         |
| 20474 | Please provide a valid metadata                  | 400         |
