Skip to main content
PATCH
Update a quote

Authorizations

Authorization
string
header
required

Bearer authorization header: Bearer <token>, where <token> is the access token received from the authorization server at the end of the OAuth 2.0 flow.

FlowAuthorization Code
Authorization URL
https://oauth.qonto.com/oauth2/auth
Token URL
https://oauth.qonto.com/oauth2/token
Refresh URL
https://oauth.qonto.com/oauth2/token
Scopes1
client_invoice.write
Create client invoices

Headers

X-Qonto-Staging-Token
string

Required only for Sandbox API requests; to get one, please sign up to the Developer Portal.

Path Parameters

id
string<uuid>
required

The unique identifier of the quote.

Body

application/json

All fields are optional - only provided fields will be updated.

upload_id
string<uuid>

Optional ID of a previously uploaded file to attach to this quote. The upload must have been created using the POST /v2/client_invoices/uploads endpoint.

Example:

"4d5418bb-bd0d-4df4-865c-c07afab8bb48"

issue_date
string<date>

Issue date in YYYY-MM-DD format. Required: sending null or an empty string returns a 422 error.

Example:

"2024-01-15"

expiry_date
string<date>

Expiry date in YYYY-MM-DD format. Required: sending null or an empty string returns a 422 error.

Example:

"2024-02-15"

number
string

Quote's number. Must be unique within the organization and is:

  • required if automatic numbering is disabled for the authenticated organization;
  • optional if automatic numbering is enabled for the authenticated organization (default setting). However, if provided, it will be used as the quote's number.
Maximum string length: 40
Example:

"Q-2024-001"

terms_and_conditions
string

Terms and conditions text

Maximum string length: 3000
currency
string

Currency code (ISO 4217, alpha 3)

Example:

"EUR"

header
string

Optional header text for the quote.

Maximum string length: 1000

Optional footer text for the quote.

Maximum string length: 1000
settings
object

This collection of properties can be optionally used to temporarily override some of the organization's properties for this one invoice.

discount
object

Global discount applied to the quote

items
object[]

Quote's line items

Minimum array length: 1
welfare_fund
object

Welfare fund details (Italian specific)

withholding_tax
object

Withholding tax details (Italian specific)

stamp_duty_amount
string

Stamp duty amount (Italian specific)

Example:

"0.1"

Response

Returns the updated quote.

quote
object
required