# Get Invoice - orderNo

## /order/orderNo

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

This endpoint allows you to fetch an invoice using orderNo

#### Path Parameters

| Name                                      | Type   | Description         |
| ----------------------------------------- | ------ | ------------------- |
| orderNo<mark style="color:red;">\*</mark> | String | orderNo             |
| public Key                                | 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",
        "publicKey": "SBPUBK_TCDUH6MNIDLHMJXJEJLBO6ZU2RNUUPHI",
        "testKey": "SBTESTPUBK_4v0JR58modUFJjF1Es206pveBQjOLxe2",
        "supportEmail": "ts@greentechng.com",
        "customerEmail": "qwertypoiuy@mailinator.com",
        "businessName": "Green Technological Concepts",
        "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 %}
