POST
/
api
/
vendor-credits
/
{vendorCreditId}
/
refunds

Path Parameters

vendorCreditId
string
required

Body

application/json
amount
number
required

The amount of the refund

Example:

100

exchangeRate
number
required

The exchange rate of the refund

Example:

1

depositAccountId
number
required

The id of the deposit account

Example:

1

description
string
required

The description of the refund

Example:

"Refund for vendor credit"

date
string<date-time>
required

The date of the refund

Example:

"2021-01-01"

branchId
number
required

The id of the branch

Example:

1