curl --request GET \
--url https://thirdparty.qonto.com/v2/credit_notes/{id} \
--header 'Authorization: Bearer <token>'{
"credit_note": {
"id": "4d5418bb-bd0d-4df4-865c-c07afab8bb48",
"invoice_id": "4d5418bb-bd0d-4df4-865c-c07afab8bb48",
"attachment_id": "4d5418bb-bd0d-4df4-865c-c07afab8bb48",
"issue_date": "2022-03-01",
"invoice_issue_date": "2022-03-02",
"number": "INV001",
"terms_and_conditions": "This is an example.",
"header": "This is an example.",
"footer": "This is an example.",
"vat_amount": {
"value": "0.51",
"currency": "EUR"
},
"vat_amount_cents": 51,
"total_amount": {
"value": "12.52",
"currency": "EUR"
},
"total_amount_cents": 1252,
"currency": "EUR",
"created_at": "2022-03-04T17:58:30+02:00",
"finalized_at": "2022-03-04T17:58:30+02:00",
"contact_email": "[email protected]",
"invoice_url": "https://pay.qonto.com/invoices/00000000-0000-0000-0000-000000000000",
"einvoicing_status": "pending",
"welfare_fund": {
"type": "TC01",
"rate": "0.0001"
},
"withholding_tax": {
"reason": "RF01",
"rate": "0.01",
"payment_reason": "<string>",
"amount": "1.00"
},
"stamp_duty_amount": "1.00",
"items": [
{
"title": "Plastic tables",
"description": "Plastic tables for McDonald’s restaurants",
"quantity": "1.5",
"unit": "meter",
"unit_price": {
"value": "10.0",
"currency": "EUR"
},
"unit_price_cents": 1000,
"vat_rate": "0.1",
"vat_exemption_reason": "N1",
"discount": {
"type": "percentage",
"value": "0.1",
"amount": {
"value": "120",
"currency": "EUR"
}
},
"total_vat": {
"value": "120",
"currency": "EUR"
},
"total_vat_cents": 12000,
"total_amount": {
"value": "300.50",
"currency": "EUR"
},
"total_amount_cents": 30050,
"subtotal": {
"value": "120",
"currency": "EUR"
},
"subtotal_cents": 12000
}
],
"client": {
"id": "33v418bb-bd0d-4df4-865c-c07afab8bb48",
"name": "McDonald's",
"first_name": "Jane",
"last_name": "Doe",
"type": "individual",
"email": "[email protected]",
"vat_number": "FR32123456789",
"tax_identification_number": "123456789",
"address": "1 place de l’Opéra",
"city": "Paris",
"zip_code": "75009",
"province_code": "<string>",
"country_code": "fr",
"recipient_code": "<string>",
"locale": "fr",
"billing_address": {
"street_address": "123 Main Street",
"city": "Paris",
"zip_code": "75009",
"province_code": "<string>",
"country_code": "FR"
},
"delivery_address": {
"street_address": "123 Main Street",
"city": "Paris",
"zip_code": "75009",
"province_code": "<string>",
"country_code": "FR"
}
},
"einvoicing_lifecycle_events": [
{
"status_code": 200,
"reason": "DOUBLE FACTURE",
"reason_message": "I already received this invoice",
"timestamp": "2024-12-04T11:05:16.4497Z"
}
]
}
}OAuth scope: client_invoices.read
Retrieves the credit note identified by the id path parameter.
curl --request GET \
--url https://thirdparty.qonto.com/v2/credit_notes/{id} \
--header 'Authorization: Bearer <token>'{
"credit_note": {
"id": "4d5418bb-bd0d-4df4-865c-c07afab8bb48",
"invoice_id": "4d5418bb-bd0d-4df4-865c-c07afab8bb48",
"attachment_id": "4d5418bb-bd0d-4df4-865c-c07afab8bb48",
"issue_date": "2022-03-01",
"invoice_issue_date": "2022-03-02",
"number": "INV001",
"terms_and_conditions": "This is an example.",
"header": "This is an example.",
"footer": "This is an example.",
"vat_amount": {
"value": "0.51",
"currency": "EUR"
},
"vat_amount_cents": 51,
"total_amount": {
"value": "12.52",
"currency": "EUR"
},
"total_amount_cents": 1252,
"currency": "EUR",
"created_at": "2022-03-04T17:58:30+02:00",
"finalized_at": "2022-03-04T17:58:30+02:00",
"contact_email": "[email protected]",
"invoice_url": "https://pay.qonto.com/invoices/00000000-0000-0000-0000-000000000000",
"einvoicing_status": "pending",
"welfare_fund": {
"type": "TC01",
"rate": "0.0001"
},
"withholding_tax": {
"reason": "RF01",
"rate": "0.01",
"payment_reason": "<string>",
"amount": "1.00"
},
"stamp_duty_amount": "1.00",
"items": [
{
"title": "Plastic tables",
"description": "Plastic tables for McDonald’s restaurants",
"quantity": "1.5",
"unit": "meter",
"unit_price": {
"value": "10.0",
"currency": "EUR"
},
"unit_price_cents": 1000,
"vat_rate": "0.1",
"vat_exemption_reason": "N1",
"discount": {
"type": "percentage",
"value": "0.1",
"amount": {
"value": "120",
"currency": "EUR"
}
},
"total_vat": {
"value": "120",
"currency": "EUR"
},
"total_vat_cents": 12000,
"total_amount": {
"value": "300.50",
"currency": "EUR"
},
"total_amount_cents": 30050,
"subtotal": {
"value": "120",
"currency": "EUR"
},
"subtotal_cents": 12000
}
],
"client": {
"id": "33v418bb-bd0d-4df4-865c-c07afab8bb48",
"name": "McDonald's",
"first_name": "Jane",
"last_name": "Doe",
"type": "individual",
"email": "[email protected]",
"vat_number": "FR32123456789",
"tax_identification_number": "123456789",
"address": "1 place de l’Opéra",
"city": "Paris",
"zip_code": "75009",
"province_code": "<string>",
"country_code": "fr",
"recipient_code": "<string>",
"locale": "fr",
"billing_address": {
"street_address": "123 Main Street",
"city": "Paris",
"zip_code": "75009",
"province_code": "<string>",
"country_code": "FR"
},
"delivery_address": {
"street_address": "123 Main Street",
"city": "Paris",
"zip_code": "75009",
"province_code": "<string>",
"country_code": "FR"
}
},
"einvoicing_lifecycle_events": [
{
"status_code": 200,
"reason": "DOUBLE FACTURE",
"reason_message": "I already received this invoice",
"timestamp": "2024-12-04T11:05:16.4497Z"
}
]
}
}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.
Required only for Sandbox API requests; to get one, please sign up to the Developer Portal.
ID of the credit note
Returns the credit note identified by the id path parameter.
Show child attributes
"4d5418bb-bd0d-4df4-865c-c07afab8bb48"
Invoice id the credit note is linked to.
"4d5418bb-bd0d-4df4-865c-c07afab8bb48"
Attachment UUID corresponding to that particular credit note. You can obtain details and get the credit note by using Get attachment.
"4d5418bb-bd0d-4df4-865c-c07afab8bb48"
Date the initiator mentioned that the credit note was created.
"2022-03-01"
Issue date of the invoice identified by invoice_id.
"2022-03-02"
"INV001"
T&C data added by the credit note’s initiator.
"This is an example."
Header text added by the credit note’s initiator.
"This is an example."
Footer text added by the credit note’s initiator.
"This is an example."
51
1252
"EUR"
Date the credit note was created. Note that this is a machine date.
"2022-03-04T17:58:30+02:00"
"2022-03-04T17:58:30+02:00"
E-mail address of the credit note’s initiator.
URL of the invoice public page, accessible without authentication for 180 days after issuance, provided the invoice has not been canceled.
"https://pay.qonto.com/invoices/00000000-0000-0000-0000-000000000000"
pending, submitted, declined, approved, not_delivered, submission_failed Show child attributes
rate field specifies the percentage of tax and amount field specifies the total amount of the tax.Show child attributes
RF01, RF02, RF03, RF04, RF05, RF06 "RF01"
4 - 6"0.01"
1 - 2"1.00"
4 - 15"1.00"
Show child attributes
"Plastic tables"
"Plastic tables for McDonald’s restaurants"
"1.5"
"meter"
Amount in cents of the price per unit. Note that an item can contain multiple units. The number of units is defined via quantity.
1000
VAT rate in decimal (0.1 for 10%) applicable to that particular item.
"0.1"
Exemption reason
N1, N2, N2.1, N2.2, N3, N3.1, N3.2, N3.3, N3.4, N3.5, N3.6, N4, N5, N6, N6.1, N6.2, N6.3, N6.4, N6.5, N6.6, N6.7, N6.8, N6.9, N7, S293B, S262.1, S259, S283, S261, S262, S263, S19.1, S4.1B, S4.1A, S4, S13B, S122, S25, S21, S69, S20, S84.1.2 Show child attributes
percentage, absolute "percentage"
Discount rate or absolute amount. For percentage, the minimum value is 0.0001 (0.01%), and the maximum value is 1 (100%). For absolute value, the maximum is determined by Quantity * Unit Price.
"0.1"
VAT amount in cents that is applicable to that specific item.
12000
Amount in cents that needs to be paid by the client for that specific item.
30050
Subtotal amount in cents for the item without VAT.
12000
Client that needs to pay the invoice.
Show child attributes
"33v418bb-bd0d-4df4-865c-c07afab8bb48"
Note that this property will be returned only if the client is a company.
"McDonald's"
Note that this property will be returned only if the client is an individual or a freelancer.
"Jane"
Note that this property will be returned only if the client is an individual or a freelancer.
"Doe"
individual, company, freelancer "individual"
"FR32123456789"
"123456789"
"1 place de l’Opéra"
"Paris"
"75009"
Province code of the client. It is required only for Italian organizations
"fr"
Recipient code, so that the client can receive the e-invoice in his SdI portal.
"fr"
Billing address of the client, which will be reflected on the invoice. Stores the same data as the root-level fields address fields (address, city, zip_code, province_code, country_code).
Send either a billing_address object filled-in or individual root-level address fields (address, city, zip_code, province_code, country_code). When both are sent, billing_address takes precedence and overwrites root-level fields.
Show child attributes
Street address section of the billing address of the client (eg street, number, floor, door, etc).
250"123 Main Street"
City on the billing address of the client
50"Paris"
Zip code on the billing address of the client
20"75009"
Province code of the client's billing address. It is required only for Italian organizations.
2Country code on the billing address of the client (ISO 3166 format)
2"FR"
Delivery address of the client. Stores the same data as the root-level fields address fields (address, city, zip_code, province_code, country_code).
Show child attributes
Street address section of the delivery address of the client. (eg street, number, floor, door, etc)
250"123 Main Street"
City on the delivery address of the client
50"Paris"
Zip code on the delivery address of the client
20"75009"
Province code of the client's delivery address. It is required only for Italian organizations
2Country code on the delivery address of the client (ISO 3166 format)
2"FR"
Array of lifecycle events related to the e-invoicing process
Show child attributes
Status code of the operation. - 200: Déposée (Submitted) - 201: Emise par la plateforme (Issued by the platform) - 202: Reçue de la plateforme (Received from the platform) - 203: Mise à disposition (Made available) - 204: Prise en charge (Taken over) - 205: Approuvée (Approved) - 206: Approuvée partiellement (Partially approved) - 207: En litige (In dispute) - 208: Suspendue (Suspended) - 209: Complétée (Completed) - 210: Refusée (Refused) - 211: Paiement transmis (Payment sent) - 212: Encaissée (Collected) - 213: Rejetée (Rejected) - 214: Visée (Vised)
200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214 200
The reason label associated with a given event
"DOUBLE FACTURE"
The reason message associated with a given event (comment provided by the user generating the event)
"I already received this invoice"
The timestamp of the event
"2024-12-04T11:05:16.4497Z"
Was this page helpful?