Skip to main content
POST
Create a credit note

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.

Headers

X-Qonto-Staging-Token
string

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

Body

application/json
invoice_id
string<uuid>
required

ID of the invoice to create the credit note for.

Example:

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

issue_date
string<date>
required

Date the credit note was issued. The format should be YYYY-MM-DD.

Example:

"2024-01-15"

reason
string
required

Reason for issuing the credit note.

Maximum string length: 500
Example:

"Product returned"

currency
string
required

Currency for the credit note. Trigram following ISO 4217.

Example:

"EUR"

items
object[]
required

Line items for the credit note. Quantities should be positive; the system will negate them.

number
string

Credit note number. Must be unique within the organization and is:

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

"CN-2024-001"

terms_and_conditions
string

Additional notes added by the credit note's initiator.

Maximum string length: 525
contact_email
string<email>

Contact email for the credit note.

Example:

"contact@company.com"

discount
object

Global discount applied to the entire credit note. This discount is applied to the sum of all items (after item-level discounts, if any).

welfare_fund
object

Italian-specific welfare fund details.

withholding_tax
object

Italian and Spanish-specific withholding tax details.

stamp_duty_amount
string

Italian-specific stamp duty amount.

Example:

"2.00"

Response

Returns the credit note created.

credit_note
object
required