/
Create an Open Credit Balance
Create an Open Credit Balance
Use this method to create an Open Credit Balance for a specific Customer.
Valid Tokens: Company.
Related Articles
-
How to Issue a Customer Credit (Knowledge Base)
-
Process a Refund (Knowledge Base)
-
Apply Open Credits to a Payment (Knowledge Base)
-
Common Actions with Credits (Knowledge Base)
-
Approve, Reject, or Reopen Credits (Knowledge Base)
Request
URL: https://api.kometsales.com/api/open.credit.balance.create
Method: POST
Content-Type: application/JSON
Input Parameters
authenticationToken (required)(string:50)
Komet Sales security token.
customerCode (required)(string:20)
Customer Code.
openCredits (required)
An array containing open credits with their corresponding information.
The maximum amount of credits is 50 per request.
date (date)
Credit date.
Date format: YYYY-MM-DD
balance (integer)
Total credit amount.
{
"authenticationToken": "62ljmkn5f3adf978a7vidpob6l",
"customerCode" : "FL219",
"openCredits" : [{
"date": "2017-09-16",
"balance": 450.999
},
{
"date": "2017-09-10",
"balance": 1800
}]
}
Response
message (string:500)
Transaction status description.
status (integer:1)
Transaction status.
Valid values: 1 = Success | 0 = Failure
{
"message": "Open Credits Balance Adjustment was successfully saved.",
"status": 1
}
Peacock
, multiple selections available,
Related content
How to Issue a Customer Credit
How to Issue a Customer Credit
Read with this
Upload Open Credits Into Komet Sales
Upload Open Credits Into Komet Sales
More like this
Synchronize credits with an external system
Synchronize credits with an external system
More like this
Get a detailed list of Customer Credits
Get a detailed list of Customer Credits
More like this
Mark a Payment as Synchronized
Mark a Payment as Synchronized
More like this