Credit notes

Add a new line item to a credit note

post/payable_credit_notes/{credit_note_id}/line_items

Request

  • Base URL: https://api.sandbox.monite.com/v1
  • URL: https://api.sandbox.monite.com/v1/payable_credit_notes/{credit_note_id}/line_items
  • Auth: HTTP bearer

Path parameters

credit_note_idstring required

Headers

x-monite-versionstring required
x-monite-entity-idstring required

The ID of the entity that owns the requested resource.

Request body

descriptionstring

Detailed description of the line item

namestring

Name or title of the line item

quantitynumber double

Quantity of items

taxinteger

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

unitstring

Unit of measurement

unit_priceinteger

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

Response

Successful Response

idstring uuid required

Unique identifier of the line item

created_atstring date-time required

Timestamp when the line item was created

updated_atstring date-time required

Timestamp when the line item was last updated

created_by_user_idstring uuid

ID of the user who created the line item

credit_note_idstring uuid required

ID of the parent credit note

descriptionstring

Detailed description of the line item

namestring

Name or title of the line item

quantitynumber double

Quantity of items

subtotalinteger

Subtotal amount before tax

taxinteger

Tax percentage

tax_amountinteger

Tax amount

totalinteger

Total amount including tax

unitstring

Unit of measurement

unit_priceinteger

Price per unit in smallest currency unit

Changes

No recorded changes to this operation across all 1 revision of this API.