Quotes
- GET
/sales/quotesList - POST
/sales/quotesCreate - GET
/sales/quotes/{id}Get - PATCH
/sales/quotes/{id}Update - DELETE
/sales/quotes/{id}Delete a draft - POST
/sales/quotes/{id}/convertConvert - GET
/sales/quotes/{id}/pdfPDF - POST
/sales/quotes/{id}/statusChange status
List — Sales — Quotes #
/api/public/v1/quosuite/sales/quotessales:readlistQuotesPaginated list of quote documents, filterable by status, partner, period, due date, currency, number or external reference. Allowed sort: date, dueDate, number, totalInclTax, createdAt, updatedAt (default -date).
Parameters
langstringqueryLanguage of the labels (and of the PDF). Default:
Accept-Language, otherwise the workspace language.frenarpagenumberqueryPage number (starting at 1).
pageSizenumberqueryItems per page (100 at most).
sortstringquerySort: comma-separated fields,
-prefix for descending order. Allowed fields: see the route description. A final criterion onidmakes pagination stable.updatedSincestringqueryOnly returns items created or updated since this instant (ISO 8601, inclusive). With
sort=updatedAt, this is the recommended form of an incremental sync.cursorstringqueryCursor pagination:
nextCursorof the previous page, to be passed back as is with the same filters and the same sort. Stable even if items are created during the walk, and constant cost whatever the depth. Mutually exclusive withpage.limitnumberqueryCursor pagination: items per page (100 at most).
?limit=100starts a cursor walk; the response returnspagination.nextCursor.statusstring[]queryStatuses, comma-separated.
partnerIdstring (uuid)querydateFromstringquerydateTostringquerydueBeforestringqueryDue date at the latest (ISO 8601).
currencystringquerynumberstringqueryExact number.
referencestringqueryExact external reference.
Response 200application/json
Success.
itemsDocumentDto[]requiredDocumentDto details
paginationPaginationDtorequiredPaginationDto details
Errors
400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR
Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.
401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED
Key missing, invalid, revoked or expired.
403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE
Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.
429API_RATE_LIMITEDAPI_AUTH_BLOCKED
Key or workspace quota reached (see Retry-After), or address blocked.
500INTERNAL_ERROR
Unexpected error. Quote requestId to support.
503SERVICE_UNAVAILABLE
Temporarily unavailable (see Retry-After). No infrastructure details.
curl 'https://quosuite.com/api/public/v1/quosuite/sales/quotes' \
-H "Authorization: Bearer $QUOSUITE_API_KEY"{
"success": true,
"data": {
"items": [
{
"id": "bc8fd2ea-7fc8-491a-81eb-9717faef4495",
"kind": "invoice",
"type": "FACTURE",
"typeLabel": "Facture",
"number": "FAC-2026-0042",
"status": "VALIDATED",
"statusLabel": "Validé",
"date": "2026-07-16T00:00:00.000Z",
"dueDate": "2026-08-16T00:00:00.000Z",
"partner": {
"id": "82822a70-c30d-49de-8bdd-dc8589ea8269",
"code": "CLI-0042",
"name": "Société Exemple SARL"
},
"warehouseId": "80f8880b-5de7-44aa-8284-e5f8bf0a0971",
"currency": "EUR",
"exchangeRate": 1,
"totals": {
"totalExclTax": 1000,
"totalVat": 190,
"totalInclTax": 1191,
"paidAmount": 500,
"balanceDue": 691
},
"reference": "CMD-CLIENT-778",
"createdAt": "2026-10-02T09:15:00.000Z",
"updatedAt": "2026-10-02T09:15:00.000Z",
"modifiedAt": "2026-10-02T09:15:00.000Z"
}
],
"pagination": {
"page": 1,
"pageSize": 25,
"totalItems": 132,
"totalPages": 6,
"limit": 100,
"nextCursor": "c1.eyJzIjoiZGF0ZTpkZXNjLGlkOmFzYyIsImYiOiJ…",
"hasMore": true
}
},
"timestamp": "2026-10-02T09:15:00.000Z"
}Try this request
Create — Sales — Quotes #
/api/public/v1/quosuite/sales/quotessales:writeIdempotentcreateQuoteCreates the document and its lines; the ERP computes number, totals, taxes, customer pricing and discounts (caps included). A line that references an article may omit label, price and VAT (taken from the article record).
Parameters
Idempotency-KeystringheaderIdempotency key (1–255 printable ASCII characters, UUID v4 recommended). A retry with the same key and the same body within 24 h replays the response of the first successful call (header
Idempotent-Replayed: true) instead of creating a second time. Same key, different body: 422IDEMPOTENCY_KEY_REUSED. First call still in progress: 409IDEMPOTENCY_IN_PROGRESS.
Request body application/json
partnerIdstring (uuid)requiredCustomer (sale) or supplier (purchase).
numberstringImposed number. Omitted: next number of the series. If provided, it must be free.
e.g.FAC-2026-0042datestringDocument date (default: now).
e.g.2026-07-16dueDatestringe.g.2026-08-16warehouseIdstring (uuid)Warehouse (required to deliver or receive).
currencystringCurrency (ISO 4217). Default: workspace base currency. Another currency requires the plan's Multi-currency option (402
FEATURE_NOT_INCLUDEDotherwise).e.g.EURexchangeRatenumberRate to the base currency. Default: the workspace's rate of the day.
e.g.3.35referencestringExternal reference (customer order, integration id).
e.g.CMD-CLIENT-778notesstringInternal notes (not printed).
termsstringPrinted terms (replace the workspace's).
globalDiscountDiscountInputGlobal discount, applied after line discounts.
DiscountInput details
taxIdsstring[]Footer taxes (UUID, DOCUMENT scope). Omitted: those configured for this type;
[]: none.statusstringInitial status.
VALIDATEDissues the document right away (loyalty, credit note credited to the account…).valuesDRAFTVALIDATEDdefault"DRAFT"linesDocumentLineInput[]requiredmin.1 itemsmax.500 itemsDocumentLineInput details
deliveryNoteIdsstring[]Sales invoice only: issued delivery notes of the same customer that the invoice takes over (grouped invoicing). They move to
INVOICED.
Response 201application/json
Created.
idstring (uuid)requiredkindstringrequiredvaluesquotesales_orderdelivery_noteinvoicecredit_notepurchase_ordergoods_receiptpurchase_invoicetypestringrequiredInternal ERP type.
valuesDEVISCOMMANDE_VENTEBON_LIVRAISONFACTUREAVOIR_CLIENTCOMMANDE_ACHATBON_RECEPTIONFACTURE_ACHATBON_SORTIEBON_RETOURORDRE_REPARATIONRESERVATION_LOCATIONCONTRAT_LOCATIONCLIENTBORDEREAU_REMISEtypeLabelstringrequiredType label, in the requested language.
e.g.Facturenumberstringrequirede.g.FAC-2026-0042statusstringrequiredvaluesDRAFTVALIDATEDSENTACCEPTEDREFUSEDDELIVEREDINVOICEDPARTIALLY_PAIDPAIDCANCELLEDEXPIREDCONVERTEDstatusLabelstringrequirede.g.Validédatestringrequirede.g.2026-07-16T00:00:00.000ZdueDatestring | nulle.g.2026-08-16T00:00:00.000ZpartnerPartnerRefDtorequiredPartnerRefDto details
warehouseIdstring (uuid) | nullcurrencystringrequiredDocument currency (ISO 4217).
e.g.EURexchangeRatenumberrequiredExchange rate to the workspace base currency, frozen on creation.
e.g.1totalsDocumentTotalsDtorequiredDocumentTotalsDto details
referencestring | nullExternal reference (customer order…).
e.g.CMD-CLIENT-778createdAtstringrequiredupdatedAtstringrequiredmodifiedAtstring | nullLast content change outside draft (Phase 25 safeguards).
globalDiscountDiscountDtorequiredDiscountDto details
notesstring | nulltermsstring | nullTerms printed on the document.
linesDocumentLineDto[]requiredDocumentLineDto details
taxesDocumentTaxDto[]requiredFooter taxes (stamp…), excluding line VAT.
DocumentTaxDto details
paymentsDocumentPaymentDto[]requiredDocumentPaymentDto details
parentDocumentLinkDto | nullSource document (conversion).
DocumentLinkDto details
childrenDocumentLinkDto[]requiredDocuments derived from this one (conversion).
DocumentLinkDto details
deliveryNotesDocumentLinkDto[]requiredDelivery notes taken over by this invoice.
DocumentLinkDto details
invoicesDocumentLinkDto[]requiredInvoices that take over this delivery note.
DocumentLinkDto details
stockMovedbooleanrequiredHas this document already moved stock?
e.g.false
Errors
400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR
Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.
401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED
Key missing, invalid, revoked or expired.
402PLAN_QUOTA_EXCEEDEDFEATURE_NOT_INCLUDEDMODULE_NOT_INCLUDED
Subscription plan limit or option (monthly document quota, multi-currency…).
403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE
Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.
404NOT_FOUND
Resource not found — or belonging to another workspace, which amounts to the same.
409CONFLICTIDEMPOTENCY_IN_PROGRESS
Conflict: unique value already taken, or same idempotency key still in progress.
422BUSINESS_RULE_VIOLATIONIDEMPOTENCY_KEY_REUSED
Well-formed request but refused by an ERP business rule (forbidden status transition, locked paid document, stock…), or reused idempotency key.
429API_RATE_LIMITEDAPI_AUTH_BLOCKED
Key or workspace quota reached (see Retry-After), or address blocked.
500INTERNAL_ERROR
Unexpected error. Quote requestId to support.
503SERVICE_UNAVAILABLE
Temporarily unavailable (see Retry-After). No infrastructure details.
# One key per operation, reused as is on every retry.
curl -X POST 'https://quosuite.com/api/public/v1/quosuite/sales/quotes' \
-H "Authorization: Bearer $QUOSUITE_API_KEY" \
-H 'Idempotency-Key: 3f1c2a9e-5b7d-4e8a-9c1f-2d6b8e4a7c30' \
-H 'Content-Type: application/json' \
-d '{
"partnerId": "1ab39567-3b57-46d6-8f0c-d0e080868279",
"lines": [
{
"label": "Ordinateur portable 14\"",
"quantity": 2,
"unitPrice": 500,
"vatRate": 19,
"discount": {
"value": 10
}
}
]
}'{
"success": true,
"data": {
"id": "ca10e95f-b0c2-41f6-84a4-f4aa0aead531",
"kind": "invoice",
"type": "FACTURE",
"typeLabel": "Facture",
"number": "FAC-2026-0042",
"status": "VALIDATED",
"statusLabel": "Validé",
"date": "2026-07-16T00:00:00.000Z",
"dueDate": "2026-08-16T00:00:00.000Z",
"partner": {
"id": "82822a70-c30d-49de-8bdd-dc8589ea8269",
"code": "CLI-0042",
"name": "Société Exemple SARL"
},
"warehouseId": "8cd914d4-0b34-4308-865a-69752f35c45d",
"currency": "EUR",
"exchangeRate": 1,
"totals": {
"totalExclTax": 1000,
"totalVat": 190,
"totalInclTax": 1191,
"paidAmount": 500,
"balanceDue": 691
},
"reference": "CMD-CLIENT-778",
"createdAt": "2026-10-02T09:15:00.000Z",
"updatedAt": "2026-10-02T09:15:00.000Z",
"modifiedAt": "2026-10-02T09:15:00.000Z",
"globalDiscount": {
"value": 10,
"unit": "PCT",
"percent": 10
},
"notes": null,
"terms": null,
"lines": [
{
"id": "4d3a4548-8e98-4bb6-8c52-c31940a4ebfd",
"position": 0,
"articleId": "ba517038-d0c9-48f0-8630-e2d12abb0db5",
"articleReference": "ART-0001",
"label": "Ordinateur portable 14\"",
"quantity": 2,
"unit": "U",
"unitPrice": 500,
"vatRate": 19,
"discount": {
"value": 10,
"unit": "PCT",
"percent": 10
},
"customerDiscountPercent": 0,
"totalExclTax": 1000,
"totalVat": 190,
"totalInclTax": 1190,
"isComment": false,
"sourceDocumentId": "ebdec6d0-b240-4fe6-8019-9635538fa139"
}
],
"taxes": [
{
"taxId": "5f785876-9a77-4bc2-8f20-808b57f1ab95",
"label": "Timbre fiscal",
"computation": "PERCENTAGE",
"rate": 1,
"base": 1000,
"amount": 1
}
],
"payments": [
{
"paymentId": "57d143d0-b381-48e6-8e82-e015068e1e79",
"number": "REG-2026-0012",
"date": "2026-10-02",
"method": "TRANSFER",
"amount": 500
}
],
"parent": {
"id": "45d5b81a-6a15-4796-8aa7-023fe4dfe625",
"kind": "delivery_note",
"type": "DEVIS",
"number": "BL-2026-0007",
"status": "DRAFT"
},
"children": [
{
"id": "45d5b81a-6a15-4796-8aa7-023fe4dfe625",
"kind": "delivery_note",
"type": "DEVIS",
"number": "BL-2026-0007",
"status": "DRAFT"
}
],
"deliveryNotes": [
{
"id": "45d5b81a-6a15-4796-8aa7-023fe4dfe625",
"kind": "delivery_note",
"type": "DEVIS",
"number": "BL-2026-0007",
"status": "DRAFT"
}
],
"invoices": [
{
"id": "45d5b81a-6a15-4796-8aa7-023fe4dfe625",
"kind": "delivery_note",
"type": "DEVIS",
"number": "BL-2026-0007",
"status": "DRAFT"
}
],
"stockMoved": false
},
"timestamp": "2026-10-02T09:15:00.000Z"
}Get — Sales — Quotes #
/api/public/v1/quosuite/sales/quotes/{id}sales:readgetQuoteFull document: lines, footer taxes, allocated payments, linked documents (origin, conversions, delivery notes taken over).
Parameters
idstring (uuid)pathrequiredDocument identifier.
langstringqueryLanguage of the labels (and of the PDF). Default:
Accept-Language, otherwise the workspace language.frenar
Response 200application/json
Success.
idstring (uuid)requiredkindstringrequiredvaluesquotesales_orderdelivery_noteinvoicecredit_notepurchase_ordergoods_receiptpurchase_invoicetypestringrequiredInternal ERP type.
valuesDEVISCOMMANDE_VENTEBON_LIVRAISONFACTUREAVOIR_CLIENTCOMMANDE_ACHATBON_RECEPTIONFACTURE_ACHATBON_SORTIEBON_RETOURORDRE_REPARATIONRESERVATION_LOCATIONCONTRAT_LOCATIONCLIENTBORDEREAU_REMISEtypeLabelstringrequiredType label, in the requested language.
e.g.Facturenumberstringrequirede.g.FAC-2026-0042statusstringrequiredvaluesDRAFTVALIDATEDSENTACCEPTEDREFUSEDDELIVEREDINVOICEDPARTIALLY_PAIDPAIDCANCELLEDEXPIREDCONVERTEDstatusLabelstringrequirede.g.Validédatestringrequirede.g.2026-07-16T00:00:00.000ZdueDatestring | nulle.g.2026-08-16T00:00:00.000ZpartnerPartnerRefDtorequiredPartnerRefDto details
warehouseIdstring (uuid) | nullcurrencystringrequiredDocument currency (ISO 4217).
e.g.EURexchangeRatenumberrequiredExchange rate to the workspace base currency, frozen on creation.
e.g.1totalsDocumentTotalsDtorequiredDocumentTotalsDto details
referencestring | nullExternal reference (customer order…).
e.g.CMD-CLIENT-778createdAtstringrequiredupdatedAtstringrequiredmodifiedAtstring | nullLast content change outside draft (Phase 25 safeguards).
globalDiscountDiscountDtorequiredDiscountDto details
notesstring | nulltermsstring | nullTerms printed on the document.
linesDocumentLineDto[]requiredDocumentLineDto details
taxesDocumentTaxDto[]requiredFooter taxes (stamp…), excluding line VAT.
DocumentTaxDto details
paymentsDocumentPaymentDto[]requiredDocumentPaymentDto details
parentDocumentLinkDto | nullSource document (conversion).
DocumentLinkDto details
childrenDocumentLinkDto[]requiredDocuments derived from this one (conversion).
DocumentLinkDto details
deliveryNotesDocumentLinkDto[]requiredDelivery notes taken over by this invoice.
DocumentLinkDto details
invoicesDocumentLinkDto[]requiredInvoices that take over this delivery note.
DocumentLinkDto details
stockMovedbooleanrequiredHas this document already moved stock?
e.g.false
Errors
400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR
Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.
401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED
Key missing, invalid, revoked or expired.
403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE
Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.
404NOT_FOUND
Resource not found — or belonging to another workspace, which amounts to the same.
429API_RATE_LIMITEDAPI_AUTH_BLOCKED
Key or workspace quota reached (see Retry-After), or address blocked.
500INTERNAL_ERROR
Unexpected error. Quote requestId to support.
503SERVICE_UNAVAILABLE
Temporarily unavailable (see Retry-After). No infrastructure details.
curl 'https://quosuite.com/api/public/v1/quosuite/sales/quotes/aac39e3a-0c40-44b2-8697-b597f357c5a9' \
-H "Authorization: Bearer $QUOSUITE_API_KEY"{
"success": true,
"data": {
"id": "ca10e95f-b0c2-41f6-84a4-f4aa0aead531",
"kind": "invoice",
"type": "FACTURE",
"typeLabel": "Facture",
"number": "FAC-2026-0042",
"status": "VALIDATED",
"statusLabel": "Validé",
"date": "2026-07-16T00:00:00.000Z",
"dueDate": "2026-08-16T00:00:00.000Z",
"partner": {
"id": "82822a70-c30d-49de-8bdd-dc8589ea8269",
"code": "CLI-0042",
"name": "Société Exemple SARL"
},
"warehouseId": "8cd914d4-0b34-4308-865a-69752f35c45d",
"currency": "EUR",
"exchangeRate": 1,
"totals": {
"totalExclTax": 1000,
"totalVat": 190,
"totalInclTax": 1191,
"paidAmount": 500,
"balanceDue": 691
},
"reference": "CMD-CLIENT-778",
"createdAt": "2026-10-02T09:15:00.000Z",
"updatedAt": "2026-10-02T09:15:00.000Z",
"modifiedAt": "2026-10-02T09:15:00.000Z",
"globalDiscount": {
"value": 10,
"unit": "PCT",
"percent": 10
},
"notes": null,
"terms": null,
"lines": [
{
"id": "4d3a4548-8e98-4bb6-8c52-c31940a4ebfd",
"position": 0,
"articleId": "ba517038-d0c9-48f0-8630-e2d12abb0db5",
"articleReference": "ART-0001",
"label": "Ordinateur portable 14\"",
"quantity": 2,
"unit": "U",
"unitPrice": 500,
"vatRate": 19,
"discount": {
"value": 10,
"unit": "PCT",
"percent": 10
},
"customerDiscountPercent": 0,
"totalExclTax": 1000,
"totalVat": 190,
"totalInclTax": 1190,
"isComment": false,
"sourceDocumentId": "ebdec6d0-b240-4fe6-8019-9635538fa139"
}
],
"taxes": [
{
"taxId": "5f785876-9a77-4bc2-8f20-808b57f1ab95",
"label": "Timbre fiscal",
"computation": "PERCENTAGE",
"rate": 1,
"base": 1000,
"amount": 1
}
],
"payments": [
{
"paymentId": "57d143d0-b381-48e6-8e82-e015068e1e79",
"number": "REG-2026-0012",
"date": "2026-10-02",
"method": "TRANSFER",
"amount": 500
}
],
"parent": {
"id": "45d5b81a-6a15-4796-8aa7-023fe4dfe625",
"kind": "delivery_note",
"type": "DEVIS",
"number": "BL-2026-0007",
"status": "DRAFT"
},
"children": [
{
"id": "45d5b81a-6a15-4796-8aa7-023fe4dfe625",
"kind": "delivery_note",
"type": "DEVIS",
"number": "BL-2026-0007",
"status": "DRAFT"
}
],
"deliveryNotes": [
{
"id": "45d5b81a-6a15-4796-8aa7-023fe4dfe625",
"kind": "delivery_note",
"type": "DEVIS",
"number": "BL-2026-0007",
"status": "DRAFT"
}
],
"invoices": [
{
"id": "45d5b81a-6a15-4796-8aa7-023fe4dfe625",
"kind": "delivery_note",
"type": "DEVIS",
"number": "BL-2026-0007",
"status": "DRAFT"
}
],
"stockMoved": false
},
"timestamp": "2026-10-02T09:15:00.000Z"
}Try this request
Update — Sales — Quotes #
/api/public/v1/quosuite/sales/quotes/{id}sales:writeupdateQuoteUpdates the header and, if lines is provided, replaces all the lines. ERP safeguards: a cancelled document can no longer be modified; an already paid invoice keeps its amounts (use a credit note); a document that already moved stock is corrected through corrective movements; any change outside draft is timestamped and audited.
Parameters
idstring (uuid)pathrequiredDocument identifier.
Request body application/json
partnerIdstring (uuid)Customer (sale) or supplier (purchase).
datestringDocument date (default: now).
e.g.2026-07-16dueDatestringe.g.2026-08-16warehouseIdstring (uuid)Warehouse (required to deliver or receive).
currencystringCurrency (ISO 4217). Default: workspace base currency. Another currency requires the plan's Multi-currency option (402
FEATURE_NOT_INCLUDEDotherwise).e.g.EURexchangeRatenumberRate to the base currency. Default: the workspace's rate of the day.
e.g.3.35referencestringExternal reference (customer order, integration id).
e.g.CMD-CLIENT-778notesstringInternal notes (not printed).
termsstringPrinted terms (replace the workspace's).
globalDiscountDiscountInputGlobal discount, applied after line discounts.
DiscountInput details
taxIdsstring[]Footer taxes (UUID, DOCUMENT scope). Omitted: those configured for this type;
[]: none.linesDocumentLineInput[]min.1 itemsmax.500 itemsDocumentLineInput details
deliveryNoteIdsstring[]Sales invoice only: issued delivery notes of the same customer that the invoice takes over (grouped invoicing). They move to
INVOICED.
Response 200application/json
Success.
idstring (uuid)requiredkindstringrequiredvaluesquotesales_orderdelivery_noteinvoicecredit_notepurchase_ordergoods_receiptpurchase_invoicetypestringrequiredInternal ERP type.
valuesDEVISCOMMANDE_VENTEBON_LIVRAISONFACTUREAVOIR_CLIENTCOMMANDE_ACHATBON_RECEPTIONFACTURE_ACHATBON_SORTIEBON_RETOURORDRE_REPARATIONRESERVATION_LOCATIONCONTRAT_LOCATIONCLIENTBORDEREAU_REMISEtypeLabelstringrequiredType label, in the requested language.
e.g.Facturenumberstringrequirede.g.FAC-2026-0042statusstringrequiredvaluesDRAFTVALIDATEDSENTACCEPTEDREFUSEDDELIVEREDINVOICEDPARTIALLY_PAIDPAIDCANCELLEDEXPIREDCONVERTEDstatusLabelstringrequirede.g.Validédatestringrequirede.g.2026-07-16T00:00:00.000ZdueDatestring | nulle.g.2026-08-16T00:00:00.000ZpartnerPartnerRefDtorequiredPartnerRefDto details
warehouseIdstring (uuid) | nullcurrencystringrequiredDocument currency (ISO 4217).
e.g.EURexchangeRatenumberrequiredExchange rate to the workspace base currency, frozen on creation.
e.g.1totalsDocumentTotalsDtorequiredDocumentTotalsDto details
referencestring | nullExternal reference (customer order…).
e.g.CMD-CLIENT-778createdAtstringrequiredupdatedAtstringrequiredmodifiedAtstring | nullLast content change outside draft (Phase 25 safeguards).
globalDiscountDiscountDtorequiredDiscountDto details
notesstring | nulltermsstring | nullTerms printed on the document.
linesDocumentLineDto[]requiredDocumentLineDto details
taxesDocumentTaxDto[]requiredFooter taxes (stamp…), excluding line VAT.
DocumentTaxDto details
paymentsDocumentPaymentDto[]requiredDocumentPaymentDto details
parentDocumentLinkDto | nullSource document (conversion).
DocumentLinkDto details
childrenDocumentLinkDto[]requiredDocuments derived from this one (conversion).
DocumentLinkDto details
deliveryNotesDocumentLinkDto[]requiredDelivery notes taken over by this invoice.
DocumentLinkDto details
invoicesDocumentLinkDto[]requiredInvoices that take over this delivery note.
DocumentLinkDto details
stockMovedbooleanrequiredHas this document already moved stock?
e.g.false
Errors
400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR
Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.
401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED
Key missing, invalid, revoked or expired.
403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE
Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.
404NOT_FOUND
Resource not found — or belonging to another workspace, which amounts to the same.
409CONFLICTIDEMPOTENCY_IN_PROGRESS
Conflict: unique value already taken, or same idempotency key still in progress.
422BUSINESS_RULE_VIOLATIONIDEMPOTENCY_KEY_REUSED
Well-formed request but refused by an ERP business rule (forbidden status transition, locked paid document, stock…), or reused idempotency key.
429API_RATE_LIMITEDAPI_AUTH_BLOCKED
Key or workspace quota reached (see Retry-After), or address blocked.
500INTERNAL_ERROR
Unexpected error. Quote requestId to support.
503SERVICE_UNAVAILABLE
Temporarily unavailable (see Retry-After). No infrastructure details.
curl -X PATCH 'https://quosuite.com/api/public/v1/quosuite/sales/quotes/aac39e3a-0c40-44b2-8697-b597f357c5a9' \
-H "Authorization: Bearer $QUOSUITE_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"date": "2026-07-16",
"dueDate": "2026-08-16",
"currency": "EUR",
"exchangeRate": 3.35,
"reference": "CMD-CLIENT-778",
"globalDiscount": {
"value": 10
}
}'{
"success": true,
"data": {
"id": "ca10e95f-b0c2-41f6-84a4-f4aa0aead531",
"kind": "invoice",
"type": "FACTURE",
"typeLabel": "Facture",
"number": "FAC-2026-0042",
"status": "VALIDATED",
"statusLabel": "Validé",
"date": "2026-07-16T00:00:00.000Z",
"dueDate": "2026-08-16T00:00:00.000Z",
"partner": {
"id": "82822a70-c30d-49de-8bdd-dc8589ea8269",
"code": "CLI-0042",
"name": "Société Exemple SARL"
},
"warehouseId": "8cd914d4-0b34-4308-865a-69752f35c45d",
"currency": "EUR",
"exchangeRate": 1,
"totals": {
"totalExclTax": 1000,
"totalVat": 190,
"totalInclTax": 1191,
"paidAmount": 500,
"balanceDue": 691
},
"reference": "CMD-CLIENT-778",
"createdAt": "2026-10-02T09:15:00.000Z",
"updatedAt": "2026-10-02T09:15:00.000Z",
"modifiedAt": "2026-10-02T09:15:00.000Z",
"globalDiscount": {
"value": 10,
"unit": "PCT",
"percent": 10
},
"notes": null,
"terms": null,
"lines": [
{
"id": "4d3a4548-8e98-4bb6-8c52-c31940a4ebfd",
"position": 0,
"articleId": "ba517038-d0c9-48f0-8630-e2d12abb0db5",
"articleReference": "ART-0001",
"label": "Ordinateur portable 14\"",
"quantity": 2,
"unit": "U",
"unitPrice": 500,
"vatRate": 19,
"discount": {
"value": 10,
"unit": "PCT",
"percent": 10
},
"customerDiscountPercent": 0,
"totalExclTax": 1000,
"totalVat": 190,
"totalInclTax": 1190,
"isComment": false,
"sourceDocumentId": "ebdec6d0-b240-4fe6-8019-9635538fa139"
}
],
"taxes": [
{
"taxId": "5f785876-9a77-4bc2-8f20-808b57f1ab95",
"label": "Timbre fiscal",
"computation": "PERCENTAGE",
"rate": 1,
"base": 1000,
"amount": 1
}
],
"payments": [
{
"paymentId": "57d143d0-b381-48e6-8e82-e015068e1e79",
"number": "REG-2026-0012",
"date": "2026-10-02",
"method": "TRANSFER",
"amount": 500
}
],
"parent": {
"id": "45d5b81a-6a15-4796-8aa7-023fe4dfe625",
"kind": "delivery_note",
"type": "DEVIS",
"number": "BL-2026-0007",
"status": "DRAFT"
},
"children": [
{
"id": "45d5b81a-6a15-4796-8aa7-023fe4dfe625",
"kind": "delivery_note",
"type": "DEVIS",
"number": "BL-2026-0007",
"status": "DRAFT"
}
],
"deliveryNotes": [
{
"id": "45d5b81a-6a15-4796-8aa7-023fe4dfe625",
"kind": "delivery_note",
"type": "DEVIS",
"number": "BL-2026-0007",
"status": "DRAFT"
}
],
"invoices": [
{
"id": "45d5b81a-6a15-4796-8aa7-023fe4dfe625",
"kind": "delivery_note",
"type": "DEVIS",
"number": "BL-2026-0007",
"status": "DRAFT"
}
],
"stockMoved": false
},
"timestamp": "2026-10-02T09:15:00.000Z"
}Delete a draft — Sales — Quotes #
/api/public/v1/quosuite/sales/quotes/{id}sales:writedeleteQuoteDeletes a draft document with no payment, stock movement or linked document. Otherwise 422: an issued document is cancelled (status: CANCELLED), it does not disappear.
Parameters
idstring (uuid)pathrequiredDocument identifier.
Response 204
Deleted.
Errors
400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR
Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.
401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED
Key missing, invalid, revoked or expired.
403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE
Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.
404NOT_FOUND
Resource not found — or belonging to another workspace, which amounts to the same.
409CONFLICTIDEMPOTENCY_IN_PROGRESS
Conflict: unique value already taken, or same idempotency key still in progress.
422BUSINESS_RULE_VIOLATIONIDEMPOTENCY_KEY_REUSED
Well-formed request but refused by an ERP business rule (forbidden status transition, locked paid document, stock…), or reused idempotency key.
429API_RATE_LIMITEDAPI_AUTH_BLOCKED
Key or workspace quota reached (see Retry-After), or address blocked.
500INTERNAL_ERROR
Unexpected error. Quote requestId to support.
503SERVICE_UNAVAILABLE
Temporarily unavailable (see Retry-After). No infrastructure details.
curl -X DELETE 'https://quosuite.com/api/public/v1/quosuite/sales/quotes/aac39e3a-0c40-44b2-8697-b597f357c5a9' \
-H "Authorization: Bearer $QUOSUITE_API_KEY"Convert — Sales — Quotes #
/api/public/v1/quosuite/sales/quotes/{id}/convertsales:writeIdempotentconvertQuoteCreates a delivery_note / invoice document from this one (lines copied, footer taxes re-resolved for the target, parent → child traceability). Returns the created document. Converting to an invoice moves the source document to INVOICED; a quote must be ACCEPTED, can be converted only once and moves to CONVERTED.
Parameters
idstring (uuid)pathrequiredDocument identifier.
Idempotency-KeystringheaderIdempotency key (1–255 printable ASCII characters, UUID v4 recommended). A retry with the same key and the same body within 24 h replays the response of the first successful call (header
Idempotent-Replayed: true) instead of creating a second time. Same key, different body: 422IDEMPOTENCY_KEY_REUSED. First call still in progress: 409IDEMPOTENCY_IN_PROGRESS.
Request body application/json
targetstringrequiredvaluesdelivery_noteinvoice
Response 201application/json
Created.
idstring (uuid)requiredkindstringrequiredvaluesquotesales_orderdelivery_noteinvoicecredit_notepurchase_ordergoods_receiptpurchase_invoicetypestringrequiredInternal ERP type.
valuesDEVISCOMMANDE_VENTEBON_LIVRAISONFACTUREAVOIR_CLIENTCOMMANDE_ACHATBON_RECEPTIONFACTURE_ACHATBON_SORTIEBON_RETOURORDRE_REPARATIONRESERVATION_LOCATIONCONTRAT_LOCATIONCLIENTBORDEREAU_REMISEtypeLabelstringrequiredType label, in the requested language.
e.g.Facturenumberstringrequirede.g.FAC-2026-0042statusstringrequiredvaluesDRAFTVALIDATEDSENTACCEPTEDREFUSEDDELIVEREDINVOICEDPARTIALLY_PAIDPAIDCANCELLEDEXPIREDCONVERTEDstatusLabelstringrequirede.g.Validédatestringrequirede.g.2026-07-16T00:00:00.000ZdueDatestring | nulle.g.2026-08-16T00:00:00.000ZpartnerPartnerRefDtorequiredPartnerRefDto details
warehouseIdstring (uuid) | nullcurrencystringrequiredDocument currency (ISO 4217).
e.g.EURexchangeRatenumberrequiredExchange rate to the workspace base currency, frozen on creation.
e.g.1totalsDocumentTotalsDtorequiredDocumentTotalsDto details
referencestring | nullExternal reference (customer order…).
e.g.CMD-CLIENT-778createdAtstringrequiredupdatedAtstringrequiredmodifiedAtstring | nullLast content change outside draft (Phase 25 safeguards).
globalDiscountDiscountDtorequiredDiscountDto details
notesstring | nulltermsstring | nullTerms printed on the document.
linesDocumentLineDto[]requiredDocumentLineDto details
taxesDocumentTaxDto[]requiredFooter taxes (stamp…), excluding line VAT.
DocumentTaxDto details
paymentsDocumentPaymentDto[]requiredDocumentPaymentDto details
parentDocumentLinkDto | nullSource document (conversion).
DocumentLinkDto details
childrenDocumentLinkDto[]requiredDocuments derived from this one (conversion).
DocumentLinkDto details
deliveryNotesDocumentLinkDto[]requiredDelivery notes taken over by this invoice.
DocumentLinkDto details
invoicesDocumentLinkDto[]requiredInvoices that take over this delivery note.
DocumentLinkDto details
stockMovedbooleanrequiredHas this document already moved stock?
e.g.false
Errors
400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR
Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.
401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED
Key missing, invalid, revoked or expired.
402PLAN_QUOTA_EXCEEDEDFEATURE_NOT_INCLUDEDMODULE_NOT_INCLUDED
Subscription plan limit or option (monthly document quota, multi-currency…).
403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE
Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.
404NOT_FOUND
Resource not found — or belonging to another workspace, which amounts to the same.
409CONFLICTIDEMPOTENCY_IN_PROGRESS
Conflict: unique value already taken, or same idempotency key still in progress.
422BUSINESS_RULE_VIOLATIONIDEMPOTENCY_KEY_REUSED
Well-formed request but refused by an ERP business rule (forbidden status transition, locked paid document, stock…), or reused idempotency key.
429API_RATE_LIMITEDAPI_AUTH_BLOCKED
Key or workspace quota reached (see Retry-After), or address blocked.
500INTERNAL_ERROR
Unexpected error. Quote requestId to support.
503SERVICE_UNAVAILABLE
Temporarily unavailable (see Retry-After). No infrastructure details.
# One key per operation, reused as is on every retry.
curl -X POST 'https://quosuite.com/api/public/v1/quosuite/sales/quotes/aac39e3a-0c40-44b2-8697-b597f357c5a9/convert' \
-H "Authorization: Bearer $QUOSUITE_API_KEY" \
-H 'Idempotency-Key: 3f1c2a9e-5b7d-4e8a-9c1f-2d6b8e4a7c30' \
-H 'Content-Type: application/json' \
-d '{
"target": "delivery_note"
}'{
"success": true,
"data": {
"id": "ca10e95f-b0c2-41f6-84a4-f4aa0aead531",
"kind": "invoice",
"type": "FACTURE",
"typeLabel": "Facture",
"number": "FAC-2026-0042",
"status": "VALIDATED",
"statusLabel": "Validé",
"date": "2026-07-16T00:00:00.000Z",
"dueDate": "2026-08-16T00:00:00.000Z",
"partner": {
"id": "82822a70-c30d-49de-8bdd-dc8589ea8269",
"code": "CLI-0042",
"name": "Société Exemple SARL"
},
"warehouseId": "8cd914d4-0b34-4308-865a-69752f35c45d",
"currency": "EUR",
"exchangeRate": 1,
"totals": {
"totalExclTax": 1000,
"totalVat": 190,
"totalInclTax": 1191,
"paidAmount": 500,
"balanceDue": 691
},
"reference": "CMD-CLIENT-778",
"createdAt": "2026-10-02T09:15:00.000Z",
"updatedAt": "2026-10-02T09:15:00.000Z",
"modifiedAt": "2026-10-02T09:15:00.000Z",
"globalDiscount": {
"value": 10,
"unit": "PCT",
"percent": 10
},
"notes": null,
"terms": null,
"lines": [
{
"id": "4d3a4548-8e98-4bb6-8c52-c31940a4ebfd",
"position": 0,
"articleId": "ba517038-d0c9-48f0-8630-e2d12abb0db5",
"articleReference": "ART-0001",
"label": "Ordinateur portable 14\"",
"quantity": 2,
"unit": "U",
"unitPrice": 500,
"vatRate": 19,
"discount": {
"value": 10,
"unit": "PCT",
"percent": 10
},
"customerDiscountPercent": 0,
"totalExclTax": 1000,
"totalVat": 190,
"totalInclTax": 1190,
"isComment": false,
"sourceDocumentId": "ebdec6d0-b240-4fe6-8019-9635538fa139"
}
],
"taxes": [
{
"taxId": "5f785876-9a77-4bc2-8f20-808b57f1ab95",
"label": "Timbre fiscal",
"computation": "PERCENTAGE",
"rate": 1,
"base": 1000,
"amount": 1
}
],
"payments": [
{
"paymentId": "57d143d0-b381-48e6-8e82-e015068e1e79",
"number": "REG-2026-0012",
"date": "2026-10-02",
"method": "TRANSFER",
"amount": 500
}
],
"parent": {
"id": "45d5b81a-6a15-4796-8aa7-023fe4dfe625",
"kind": "delivery_note",
"type": "DEVIS",
"number": "BL-2026-0007",
"status": "DRAFT"
},
"children": [
{
"id": "45d5b81a-6a15-4796-8aa7-023fe4dfe625",
"kind": "delivery_note",
"type": "DEVIS",
"number": "BL-2026-0007",
"status": "DRAFT"
}
],
"deliveryNotes": [
{
"id": "45d5b81a-6a15-4796-8aa7-023fe4dfe625",
"kind": "delivery_note",
"type": "DEVIS",
"number": "BL-2026-0007",
"status": "DRAFT"
}
],
"invoices": [
{
"id": "45d5b81a-6a15-4796-8aa7-023fe4dfe625",
"kind": "delivery_note",
"type": "DEVIS",
"number": "BL-2026-0007",
"status": "DRAFT"
}
],
"stockMoved": false
},
"timestamp": "2026-10-02T09:15:00.000Z"
}PDF — Sales — Quotes #
/api/public/v1/quosuite/sales/quotes/{id}/pdfsales:readgetQuotePdfThe document's PDF, rendered with the workspace template, in the requested language (lang, otherwise Accept-Language, otherwise the workspace's; Arabic mirrored RTL).
Parameters
idstring (uuid)pathrequiredDocument identifier.
langstringqueryLanguage of the labels (and of the PDF). Default:
Accept-Language, otherwise the workspace language.frenar
Response 200application/pdf
The PDF file.
Binary file (application/pdf).
Errors
400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR
Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.
401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED
Key missing, invalid, revoked or expired.
403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE
Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.
404NOT_FOUND
Resource not found — or belonging to another workspace, which amounts to the same.
429API_RATE_LIMITEDAPI_AUTH_BLOCKED
Key or workspace quota reached (see Retry-After), or address blocked.
500INTERNAL_ERROR
Unexpected error. Quote requestId to support.
503SERVICE_UNAVAILABLE
Temporarily unavailable (see Retry-After). No infrastructure details.
curl 'https://quosuite.com/api/public/v1/quosuite/sales/quotes/aac39e3a-0c40-44b2-8697-b597f357c5a9/pdf?lang=en' \
-H "Authorization: Bearer $QUOSUITE_API_KEY" \
-o 'quote.pdf'Try this request
Change status — Sales — Quotes #
/api/public/v1/quosuite/sales/quotes/{id}/statussales:writesetQuoteStatusSettable statuses: SENT, ACCEPTED, REFUSED, EXPIRED, VALIDATED, CANCELLED, following the ERP transitions (a forbidden transition returns 422). Cancelling an invoice releases its delivery notes; validating credits loyalty points and, for a credit note, the customer account.
Parameters
idstring (uuid)pathrequiredDocument identifier.
Request body application/json
statusstringrequiredTarget status.
DELIVERED,INVOICED,PARTIALLY_PAID,PAIDandCONVERTEDcannot be set by hand: they follow from delivery / receipt, invoicing, payments and quote conversion.valuesSENTACCEPTEDREFUSEDEXPIREDVALIDATEDCANCELLED
Response 200application/json
Success.
idstring (uuid)requiredkindstringrequiredvaluesquotesales_orderdelivery_noteinvoicecredit_notepurchase_ordergoods_receiptpurchase_invoicetypestringrequiredInternal ERP type.
valuesDEVISCOMMANDE_VENTEBON_LIVRAISONFACTUREAVOIR_CLIENTCOMMANDE_ACHATBON_RECEPTIONFACTURE_ACHATBON_SORTIEBON_RETOURORDRE_REPARATIONRESERVATION_LOCATIONCONTRAT_LOCATIONCLIENTBORDEREAU_REMISEtypeLabelstringrequiredType label, in the requested language.
e.g.Facturenumberstringrequirede.g.FAC-2026-0042statusstringrequiredvaluesDRAFTVALIDATEDSENTACCEPTEDREFUSEDDELIVEREDINVOICEDPARTIALLY_PAIDPAIDCANCELLEDEXPIREDCONVERTEDstatusLabelstringrequirede.g.Validédatestringrequirede.g.2026-07-16T00:00:00.000ZdueDatestring | nulle.g.2026-08-16T00:00:00.000ZpartnerPartnerRefDtorequiredPartnerRefDto details
warehouseIdstring (uuid) | nullcurrencystringrequiredDocument currency (ISO 4217).
e.g.EURexchangeRatenumberrequiredExchange rate to the workspace base currency, frozen on creation.
e.g.1totalsDocumentTotalsDtorequiredDocumentTotalsDto details
referencestring | nullExternal reference (customer order…).
e.g.CMD-CLIENT-778createdAtstringrequiredupdatedAtstringrequiredmodifiedAtstring | nullLast content change outside draft (Phase 25 safeguards).
globalDiscountDiscountDtorequiredDiscountDto details
notesstring | nulltermsstring | nullTerms printed on the document.
linesDocumentLineDto[]requiredDocumentLineDto details
taxesDocumentTaxDto[]requiredFooter taxes (stamp…), excluding line VAT.
DocumentTaxDto details
paymentsDocumentPaymentDto[]requiredDocumentPaymentDto details
parentDocumentLinkDto | nullSource document (conversion).
DocumentLinkDto details
childrenDocumentLinkDto[]requiredDocuments derived from this one (conversion).
DocumentLinkDto details
deliveryNotesDocumentLinkDto[]requiredDelivery notes taken over by this invoice.
DocumentLinkDto details
invoicesDocumentLinkDto[]requiredInvoices that take over this delivery note.
DocumentLinkDto details
stockMovedbooleanrequiredHas this document already moved stock?
e.g.false
Errors
400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR
Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.
401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED
Key missing, invalid, revoked or expired.
403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE
Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.
404NOT_FOUND
Resource not found — or belonging to another workspace, which amounts to the same.
409CONFLICTIDEMPOTENCY_IN_PROGRESS
Conflict: unique value already taken, or same idempotency key still in progress.
422BUSINESS_RULE_VIOLATIONIDEMPOTENCY_KEY_REUSED
Well-formed request but refused by an ERP business rule (forbidden status transition, locked paid document, stock…), or reused idempotency key.
429API_RATE_LIMITEDAPI_AUTH_BLOCKED
Key or workspace quota reached (see Retry-After), or address blocked.
500INTERNAL_ERROR
Unexpected error. Quote requestId to support.
503SERVICE_UNAVAILABLE
Temporarily unavailable (see Retry-After). No infrastructure details.
curl -X POST 'https://quosuite.com/api/public/v1/quosuite/sales/quotes/aac39e3a-0c40-44b2-8697-b597f357c5a9/status' \
-H "Authorization: Bearer $QUOSUITE_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"status": "SENT"
}'{
"success": true,
"data": {
"id": "ca10e95f-b0c2-41f6-84a4-f4aa0aead531",
"kind": "invoice",
"type": "FACTURE",
"typeLabel": "Facture",
"number": "FAC-2026-0042",
"status": "VALIDATED",
"statusLabel": "Validé",
"date": "2026-07-16T00:00:00.000Z",
"dueDate": "2026-08-16T00:00:00.000Z",
"partner": {
"id": "82822a70-c30d-49de-8bdd-dc8589ea8269",
"code": "CLI-0042",
"name": "Société Exemple SARL"
},
"warehouseId": "8cd914d4-0b34-4308-865a-69752f35c45d",
"currency": "EUR",
"exchangeRate": 1,
"totals": {
"totalExclTax": 1000,
"totalVat": 190,
"totalInclTax": 1191,
"paidAmount": 500,
"balanceDue": 691
},
"reference": "CMD-CLIENT-778",
"createdAt": "2026-10-02T09:15:00.000Z",
"updatedAt": "2026-10-02T09:15:00.000Z",
"modifiedAt": "2026-10-02T09:15:00.000Z",
"globalDiscount": {
"value": 10,
"unit": "PCT",
"percent": 10
},
"notes": null,
"terms": null,
"lines": [
{
"id": "4d3a4548-8e98-4bb6-8c52-c31940a4ebfd",
"position": 0,
"articleId": "ba517038-d0c9-48f0-8630-e2d12abb0db5",
"articleReference": "ART-0001",
"label": "Ordinateur portable 14\"",
"quantity": 2,
"unit": "U",
"unitPrice": 500,
"vatRate": 19,
"discount": {
"value": 10,
"unit": "PCT",
"percent": 10
},
"customerDiscountPercent": 0,
"totalExclTax": 1000,
"totalVat": 190,
"totalInclTax": 1190,
"isComment": false,
"sourceDocumentId": "ebdec6d0-b240-4fe6-8019-9635538fa139"
}
],
"taxes": [
{
"taxId": "5f785876-9a77-4bc2-8f20-808b57f1ab95",
"label": "Timbre fiscal",
"computation": "PERCENTAGE",
"rate": 1,
"base": 1000,
"amount": 1
}
],
"payments": [
{
"paymentId": "57d143d0-b381-48e6-8e82-e015068e1e79",
"number": "REG-2026-0012",
"date": "2026-10-02",
"method": "TRANSFER",
"amount": 500
}
],
"parent": {
"id": "45d5b81a-6a15-4796-8aa7-023fe4dfe625",
"kind": "delivery_note",
"type": "DEVIS",
"number": "BL-2026-0007",
"status": "DRAFT"
},
"children": [
{
"id": "45d5b81a-6a15-4796-8aa7-023fe4dfe625",
"kind": "delivery_note",
"type": "DEVIS",
"number": "BL-2026-0007",
"status": "DRAFT"
}
],
"deliveryNotes": [
{
"id": "45d5b81a-6a15-4796-8aa7-023fe4dfe625",
"kind": "delivery_note",
"type": "DEVIS",
"number": "BL-2026-0007",
"status": "DRAFT"
}
],
"invoices": [
{
"id": "45d5b81a-6a15-4796-8aa7-023fe4dfe625",
"kind": "delivery_note",
"type": "DEVIS",
"number": "BL-2026-0007",
"status": "DRAFT"
}
],
"stockMoved": false
},
"timestamp": "2026-10-02T09:15:00.000Z"
}Generated from the QuoSuite API OpenAPI contract v1.0.0.