Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the entity that owns the requested resource.
"9d2b4c8f-2087-4738-ba91-7359683c49a4"
Schema for updating an existing credit note. All fields are optional.
ID of the payable this credit note is based on. The credit note will be linked to this payable
"123e4567-e89b-12d3-a456-426614174000"
The document ID of the original payable
255"INV-2287"
ID of the counterpart's address
"123e4567-e89b-12d3-a456-426614174000"
ID of the counterpart's bank account
"123e4567-e89b-12d3-a456-426614174000"
ID of the counterpart
"123e4567-e89b-12d3-a456-426614174000"
ID of the counterpart's VAT registration
"123e4567-e89b-12d3-a456-426614174000"
The currency code of the credit note
AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BRL, BSD, BTN, BWP, BYN, BZD, CAD, CDF, CHF, CLP, CNY, COP, CRC, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ETB, EUR, FJD, FKP, GBP, GEL, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HTG, HUF, IDR, ILS, INR, IQD, ISK, JMD, JOD, JPY, KES, KGS, KHR, KMF, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LYD, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MUR, MVR, MWK, MXN, MYR, MZN, NAD, NGN, NIO, NOK, NPR, NZD, OMR, PAB, PEN, PGK, PHP, PKR, PLN, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SEK, SGD, SHP, SLE, SOS, SRD, SSP, SVC, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USD, UYU, UZS, VND, VUV, WST, XAF, XCD, XOF, XPF, YER, ZAR, ZMW "EUR"
An arbitrary description of this credit note
255"Credit note for returned items from invoice INV-2287"
A unique credit note number assigned by the credit note issuer for tracking purposes
255"CN-2287"
The date when the credit note was issued, in the YYYY-MM-DD format
"2024-01-15"
The ID of the project this credit note belongs to
"123e4567-e89b-12d3-a456-426614174000"
Email address of the sender
255"supplier@example.com"
The subtotal amount before taxes
x >= 01000
List of tag IDs associated with this credit note
["123e4567-e89b-12d3-a456-426614174000"]The tax percentage applied to the subtotal
0 <= x <= 1000020
The calculated tax amount
x >= 0200
The total amount including taxes
x >= 01200
Successful Response
Schema for credit note response. Includes all fields that can be returned from the API.
The unique identifier of the credit note
"123e4567-e89b-12d3-a456-426614174000"
Date and time when the credit note was created in the system
"2024-01-15T14:30:00Z"
Date and time of the last update to the credit note
"2024-01-15T14:30:00Z"
The ID of the entity to which the credit note belongs
"123e4567-e89b-12d3-a456-426614174000"
The origin or source system of the credit note
128"SAP"
How the data was input (ocr/user_specified)
128"user_specified"
The current status of the credit note in its lifecycle
30"submitted_for_approval"
ID of the payable this credit note is based on
"123e4567-e89b-12d3-a456-426614174000"
The document ID of the original payable that this credit note refers to
255"INV-2287"
Object representing de-normalized counterpart data
ID of the counterpart's address
"123e4567-e89b-12d3-a456-426614174000"
ID of the counterpart's bank account
"123e4567-e89b-12d3-a456-426614174000"
ID of the counterpart
"123e4567-e89b-12d3-a456-426614174000"
Object representing counterpart data which was extracted by OCR. Used for informational purposes.
ID of the counterpart's VAT registration
"123e4567-e89b-12d3-a456-426614174000"
External system's user ID for the creator
255"ext_user_123"
Name of the external user who created the credit note
255"John Doe"
ID of the user who created the credit note
"123e4567-e89b-12d3-a456-426614174000"
The currency code
5"EUR"
Description of the credit note
255"Credit note for returned items from invoice INV-2287"
The credit note's unique document number
255"CN-2287"
The id of the credit note file stored in the file saver.
"123e4567-e89b-12d3-a456-426614174000"
The URL of the credit note file stored in the file saver.
Date when the credit note was issued
"2024-01-15"
ID of the OCR processing request
"123e4567-e89b-12d3-a456-426614174000"
Status of OCR processing
10"completed"
ID of the associated project
"123e4567-e89b-12d3-a456-426614174000"
Email address of the sender
255"supplier@example.com"
The subtotal amount before taxes
1000
List of tags associated with this credit note
[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Department A",
"category": "department"
}
]The tax percentage
20
The calculated tax amount
200
The total amount including taxes
1200