Quotes
Sales quotes. Read-only via the API — creation/editing happens in the web app.
GET
/api/v1/quotesList quotes
Scope:
quotes.readParameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
page | query | number | Optional | 1-based page number. |
limit | query | number | Optional | Page size, max 200. |
q | query | string | Optional | Free-text search on quote number. |
Example request
curl "https://invoice.avscorp.in/api/v1/quotes" \
-H "Authorization: Bearer YOUR_API_KEY"Example response
JSON
{
"id": "clx7quo00000000000000001",
"organizationId": "clx0org000000000000000001",
"quoteNumber": "QT-00017",
"customerId": "clx1a2b3c4d5e6f7g8h9i0j1",
"status": "SENT",
"quoteDate": "2026-08-20T00:00:00.000Z",
"expiryDate": "2026-09-19T00:00:00.000Z",
"sellerLegalName": "AVS Traders Pvt Ltd",
"sellerGstin": "29AAAAA0000A1Z5",
"sellerStateCode": "29",
"placeOfSupplyStateCode": "29",
"currencyCode": "INR",
"exchangeRate": 1,
"subTotal": 10000,
"discountTotal": 0,
"documentDiscount": 0,
"documentDiscountIsPercent": true,
"cgstTotal": 900,
"sgstTotal": 900,
"igstTotal": 0,
"adjustmentLabel": null,
"adjustmentAmount": 0,
"roundOff": 0,
"total": 11800,
"warehouseId": "clx9wh0000000000000000001",
"notes": null,
"termsAndConditions": "Valid for 30 days from quote date.",
"createdBy": "clxusr0000000000000000001",
"updatedBy": null,
"createdAt": "2026-08-20T07:00:00.000Z",
"updatedAt": "2026-08-20T07:00:00.000Z"
}Possible errors: unauthorized, insufficient_scope, forbidden
GET
/api/v1/quotes/{id}Get a quote
Scope:
quotes.readIncludes the quote's line items under `items`.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | Required | Quote ID. |
Example request
curl "https://invoice.avscorp.in/api/v1/quotes/clx7quo00000000000000001" \
-H "Authorization: Bearer YOUR_API_KEY"Example response
JSON
{
"id": "clx7quo00000000000000001",
"organizationId": "clx0org000000000000000001",
"quoteNumber": "QT-00017",
"customerId": "clx1a2b3c4d5e6f7g8h9i0j1",
"status": "SENT",
"quoteDate": "2026-08-20T00:00:00.000Z",
"expiryDate": "2026-09-19T00:00:00.000Z",
"sellerLegalName": "AVS Traders Pvt Ltd",
"sellerGstin": "29AAAAA0000A1Z5",
"sellerStateCode": "29",
"placeOfSupplyStateCode": "29",
"currencyCode": "INR",
"exchangeRate": 1,
"subTotal": 10000,
"discountTotal": 0,
"documentDiscount": 0,
"documentDiscountIsPercent": true,
"cgstTotal": 900,
"sgstTotal": 900,
"igstTotal": 0,
"adjustmentLabel": null,
"adjustmentAmount": 0,
"roundOff": 0,
"total": 11800,
"warehouseId": "clx9wh0000000000000000001",
"notes": null,
"termsAndConditions": "Valid for 30 days from quote date.",
"createdBy": "clxusr0000000000000000001",
"updatedBy": null,
"createdAt": "2026-08-20T07:00:00.000Z",
"updatedAt": "2026-08-20T07:00:00.000Z",
"items": [
{
"id": "clx7qi000000000000000001",
"organizationId": "clx0org000000000000000001",
"quoteId": "clx7quo00000000000000001",
"itemId": "clx3itm000000000000000001",
"itemVariantId": null,
"description": "Vinyl Banner Print - Standard",
"hsnOrSac": "4911",
"quantity": 20,
"unit": "PCS",
"rate": 500,
"discount": 0,
"taxRatePercent": 18,
"taxableAmount": 10000,
"cgstAmount": 900,
"sgstAmount": 900,
"igstAmount": 0,
"total": 11800,
"sortOrder": 0,
"width": null,
"height": null,
"lengthUnit": null,
"qtyCount": null
}
]
}Possible errors: unauthorized, insufficient_scope, forbidden, not_found