> ## 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.

# Create Lightning Invoice

> Error codes for POST /v3/lightning_invoice_bolt11

### POST v3/lightning\_invoice\_bolt11

| Code  | Message                                                                 | HTTP Status |
| ----- | ----------------------------------------------------------------------- | ----------- |
| 20470 | Please provide a valid invoice amount                                   | 400         |
| 20472 | Invoice status is invalid for this operation                            | 400         |
| 20473 | Please provide a valid expiry interval                                  | 400         |
| 20474 | Please provide a valid metadata                                         | 400         |
| 20475 | h\_tag\_memo must be exactly 64 characters long for a valid SHA256 hash | 400         |
| 20476 | h\_tag\_memo must contain only hexadecimal characters (0-9, a-f, A-F)   | 400         |
| 20477 | Please provide the d\_tag\_memo with valid length                       | 400         |
