> For the complete documentation index, see [llms.txt](https://apis.seerbit.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://apis.seerbit.com/api-endpoints/invoices/get-invoice-invoiceno.md).

# Get Invoice - invoiceNo

## /invoiceNo

<mark style="color:blue;">`GET`</mark> `https://seerbitapi.com/invoice/{{publicKey}}/{{InvoiceNo}}`

This endpoint allows you to fetch an invoice using invoiceNo

#### Path Parameters

| Name                                        | Type   | Description         |
| ------------------------------------------- | ------ | ------------------- |
| InvoiceNo<mark style="color:red;">\*</mark> | String | customer email      |
| publicKey                                   | String | merchant public key |

#### Headers

| Name                                            | Type   | Description  |
| ----------------------------------------------- | ------ | ------------ |
| Authorization<mark style="color:red;">\*</mark> | String | Bearer token |

{% tabs %}
{% tab title="200: OK Successful" %}

```javascript
{
    "payload": {
        "invoiceId": 54,
        "invoiceNo": "SBT-INV-000054",
        "totalAmount": 556.00,
        "subTotal": 556.00,
        "externalBusiness_id": "00000051",
        "discount": 0.00,
        "dueDate": "2022-10-12",
        "currency": "NGN",
        "invoiceItems": [
            {
                "itemName": "Ada Ada iyoo",
                "unitPrice": 556.00,
                "vat": 0.00,
                "amount": 556.00,
                "quantity": 278
            }
        ],
        "customer": {},
        "billingCycle": false,
        "payButtonOnInvoices": false,
        "enableAdvancedOptions": false,
        "partialPayment": false,
        "status": "DRAFT",
        "createdAt": "2022-10-12T10:27:45.732"
    },
    "code": "00"
}
```

{% endtab %}
{% endtabs %}
