Value must be 'Bearer
"Bearer bc_1234567890abcdef"
Required if Authorization is a JWT token. The organization ID to operate within.
The id of the vendor
1
The exchange rate of the vendor credit
1
The vendor credit number
"123456"
The reference number of the vendor credit
"123456"
The date of the vendor credit
"2021-01-01"
The note of the vendor credit
"123456"
The open status of the vendor credit
true
The warehouse id of the vendor credit
1
The branch id of the vendor credit
1
The entries of the vendor credit
[
{
"itemId": 1,
"quantity": 1,
"unitPrice": 1,
"discount": 1,
"discountType": "percentage",
"accountId": 1,
"amount": 1
}
]The attachments of the vendor credit
[{ "key": "123456" }]The discount of the vendor credit
1
The discount type of the vendor credit
"percentage"
The adjustment of the vendor credit
1