Add a new line item to a credit note

Path parameters

credit_note_idstringRequired

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

x-monite-versionstringRequired
x-monite-entity-idstringRequired
The ID of the entity that owns the requested resource.

Request

This endpoint expects an object.
descriptionstringOptional
Detailed description of the line item
namestringOptional
Name or title of the line item
quantitydoubleOptional>=0
Quantity of items
taxintegerOptional<=10000

VAT rate in percent minor units. Example: 12.5% is 1250.

unitstringOptional
Unit of measurement
unit_priceintegerOptional>=0

Price per unit in smallest currency unit (e.g. cents)

Response

Successful Response
idstringformat: "uuid"
Unique identifier of the line item
created_atdatetime
Timestamp when the line item was created
updated_atdatetime
Timestamp when the line item was last updated
credit_note_idstringformat: "uuid"
ID of the parent credit note
created_by_user_idstring or nullformat: "uuid"
ID of the user who created the line item
descriptionstring or null
Detailed description of the line item
namestring or null
Name or title of the line item
quantitydouble or null>=0
Quantity of items
subtotalinteger or null>=0
Subtotal amount before tax
taxinteger or null>=0
Tax percentage
tax_amountinteger or null>=0
Tax amount
totalinteger or null>=0
Total amount including tax
unitstring or null
Unit of measurement
unit_priceinteger or null>=0
Price per unit in smallest currency unit

Errors