Skip to main content
POST
Create credit note line

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <api_key>, where <api_key> is your api key.

Path Parameters

creditNoteId
string<uuid>
required

Body

application/json;charset=UTF-8
customProperties
(object | null)[] | null

List of custom properties for this line

List of custom properties to set on the vendor. Replaces the existing set.

netTransactionAmount
object
grossTransactionAmount
object
taxTransactionAmount
object
description
string | null

Line description

ledgerTaxId
string<uuid> | null

ID of the tax code

ledgerAccountId
string<uuid> | null

ID of the ledger account

accrualTemplateId
string<uuid> | null

ID of the accrual template

accrualStartDate
string<date> | null

Start date for accrual

accrualEndDate
string<date> | null

End date for accrual

Response

default - application/json;charset=UTF-8

default response

id
string<uuid>

Unique identifier for the object

companyId
string<uuid>

ID of the company

creditNoteId
string<uuid>

ID of the credit note this line belongs to

grossTransactionAmount
object
netTransactionAmount
object
description
string | null

Description of the credit note line item

ledgerTaxId
string<uuid> | null

ID of the tax code

taxTransactionAmount
object
ledgerAccountId
string<uuid> | null

ID of the ledger account

costCenterId
string<uuid> | null

ID of the cost center

createdAt
string<date-time>

Timestamp when the credit note line item was created

updatedAt
string<date-time>

Timestamp when the credit note line item was last updated

accrualTemplateId
string<uuid> | null

ID of the accrual template

accrualStartDate
string<date> | null

Start date for accrual

accrualEndDate
string<date> | null

End date for accrual

accrualDefaultDuration
integer<int32> | null

Default duration for accrual in months