Quotes
Quotes of a deal, with their items and the computed totals.
Quotes of a deal, with their items and the computed totals.
List quotes
GET /quotes
| Scope | Package | Idempotency-Key |
|---|---|---|
quotes:read | Scale (API) | not used |
Parameters
| Name | In | Type | Description |
|---|---|---|---|
limit | query | integer | 1 to 100. Default 25. |
offset | query | integer | Default 0. |
deal_id | query | string (uuid) | |
status | query | string | One of draft, sent, accepted, rejected. |
Request
curl "https://hevia.app/api/v1/quotes?status=sent" \
-H "Authorization: Bearer $HEVIA_KEY"Response
200 OK.
JSON
{
"data": [
{
"id": "3f1c2a9e-5b7d-4e21-9c0a-6d8e2f4b1a70",
"deal_id": "3f1c2a9e-5b7d-4e21-9c0a-6d8e2f4b1a70",
"number": "Q-2026-014",
"title": "Website relaunch",
"currency": "EUR",
"status": "draft",
"items": [
{
"name": "Anna Example",
"quantity": 1,
"unit_cents": 480000,
"tax_rate": 1,
"discount": 1
}
],
"net_cents": 480000,
"tax_cents": 480000,
"gross_cents": 480000,
"valid_until": "2026-12-15",
"sent_at": "2026-11-10T09:30:00.000Z",
"decided_at": "2026-11-10T09:30:00.000Z",
"created_at": "2026-11-10T09:30:00.000Z",
"updated_at": "2026-11-10T09:30:00.000Z"
}
],
"pagination": {
"limit": 25,
"offset": 0,
"total": 1,
"next_offset": null
}
}Fields of Quote:
| Field | Type | Description |
|---|---|---|
id | string (uuid) | |
deal_id | string (uuid) | |
number | string | |
title | string | |
currency | string | |
status | string | One of draft, sent, accepted, rejected. |
items | QuoteItem[] | |
net_cents | integer | |
tax_cents | integer | |
gross_cents | integer | |
valid_until | string | null | |
sent_at | string | null | |
decided_at | string | null | |
created_at | string (date-time) | |
updated_at | string (date-time) |
Errors
| Status | Code | When |
|---|---|---|
| 400 | invalid_request | Invalid request |
| 401 | unauthorized | Missing or invalid key |
| 403 | insufficient_scope | The key or token does not have the scope of the endpoint. |
| 403 | plan_required | The business's package does not include the API (Scale) or the feature of the endpoint. |
| 429 | rate_limited | Rate limit (120 requests per minute and key); see the RateLimit-* headers |
One quote with totals
GET /quotes/{id}
| Scope | Package | Idempotency-Key |
|---|---|---|
quotes:read | Scale (API) | not used |
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id (required) | path | string (uuid) | Id |
Request
curl "https://hevia.app/api/v1/quotes/3f1c2a9e-5b7d-4e21-9c0a-6d8e2f4b1a70" \
-H "Authorization: Bearer $HEVIA_KEY"Response
200 OK.
JSON
{
"data": {
"id": "3f1c2a9e-5b7d-4e21-9c0a-6d8e2f4b1a70",
"deal_id": "3f1c2a9e-5b7d-4e21-9c0a-6d8e2f4b1a70",
"number": "Q-2026-014",
"title": "Website relaunch",
"currency": "EUR",
"status": "draft",
"items": [
{
"name": "Anna Example",
"quantity": 1,
"unit_cents": 480000,
"tax_rate": 1,
"discount": 1
}
],
"net_cents": 480000,
"tax_cents": 480000,
"gross_cents": 480000,
"valid_until": "2026-12-15",
"sent_at": "2026-11-10T09:30:00.000Z",
"decided_at": "2026-11-10T09:30:00.000Z",
"created_at": "2026-11-10T09:30:00.000Z",
"updated_at": "2026-11-10T09:30:00.000Z"
}
}Fields of Quote:
| Field | Type | Description |
|---|---|---|
id | string (uuid) | |
deal_id | string (uuid) | |
number | string | |
title | string | |
currency | string | |
status | string | One of draft, sent, accepted, rejected. |
items | QuoteItem[] | |
net_cents | integer | |
tax_cents | integer | |
gross_cents | integer | |
valid_until | string | null | |
sent_at | string | null | |
decided_at | string | null | |
created_at | string (date-time) | |
updated_at | string (date-time) |
Errors
| Status | Code | When |
|---|---|---|
| 401 | unauthorized | Missing or invalid key |
| 403 | insufficient_scope | The key or token does not have the scope of the endpoint. |
| 403 | plan_required | The business's package does not include the API (Scale) or the feature of the endpoint. |
| 404 | not_found | Not found |
| 429 | rate_limited | Rate limit (120 requests per minute and key); see the RateLimit-* headers |