# Danh sách báo giá

`GET /v1/estimates` · quyền `billing:read`

Các báo giá của tài khoản, phân trang bằng `page` (bắt đầu từ 0) và `perpage`.

Lọc: `filter[service_status]` theo trạng thái dịch vụ, `filter[service]` theo ID dịch vụ.

## HTTP request

| Mục | Giá trị |
| --- | --- |
| URL | `https://api.tino.vn/v1/estimates` |
| Method | `GET` |
| Quyền (scope) | `billing:read` |
| Header | `Authorization: Bearer <token>` |
| Content-Type | — (không có body) |
| Token gọi được | token ứng dụng (`tinoat_`), token API cá nhân (`tinopat_`) |

## Tham số

| Tên | Vị trí | Kiểu | Bắt buộc | Mô tả |
| --- | --- | --- | --- | --- |
| `page` | query | integer | không | Zero-based page index. page=0 is the first page; the response echoes it 1-based in page.current. Default: `0`. |
| `perpage` | query | integer | không | Rows per page. Defaults to the account's RecordsPerPage setting. |
| `orderby` | query | string | không | Sort expression in the form `field\|DESC` or `field\|ASC`, e.g. `date\|DESC`. |
| `filter` | query | object | không | Endpoint-specific filters, serialised as filter[key]=value. |

## Example request

```bash
curl "https://api.tino.vn/v1/estimates" \
  -H "Authorization: Bearer $TINO_TOKEN"
```

`$TINO_TOKEN` là token có quyền `billing:read`.

SDK ([SDK & Ví dụ](/docs/sdk)): Python `client.billing.list_estimates()`, Node.js `await client.billing.listEstimates();`, PHP `$client->billing->listEstimates();`.

## Example response

```json
{
 "success": true,
 "estimates": [],
 "total": 0,
 "page": {
  "total": 0,
  "pages": 0,
  "current": 1
 }
}
```

Mẫu thật từ tài khoản thử, đã che dữ liệu cá nhân; mảng và chuỗi dài được rút gọn (`… N more item(s)`, `… N more line(s)`).
