# Invoices

## Invoices

<mark style="color:blue;">`GET`</mark> `https://api.suble.io/projects/:projectId/invoices`

Retrieve list of invoices linked to the project.

#### Path Parameters

| Name      | Type   | Description               |
| --------- | ------ | ------------------------- |
| projectId | string | Unique id for the project |

#### Headers

| Name          | Type   | Description                |
| ------------- | ------ | -------------------------- |
| Authorization | string | User token or project key. |

{% tabs %}
{% tab title="200 " %}

```
[
    {
        _id: ObjectId,
        project: ObjectId,
        status: String,
        date: Unix timestamp,
        orderid: String,
        total: Number,
        items: [
            {
                type: String,
                product: ObjectId,
                name: String,
                price: Number
            }
        ],
        user: ObjectId, //Nullable
        token: String //Nullable
    }
]
```

{% endtab %}
{% endtabs %}
