Import Records
Import Automatic Credit Refunds
REST API | docsApi/createRefund |
Parameters | Description | Parameter Options/value |
---|---|---|
stockid Required | The transaction ID that's being refunded | transaction ID |
JSON Example
{
stockid: 626
}
OutputData
Name | Options |
---|---|
statusCode | 200 – OK / 500 - Errors |
stockid | ID |
docUrl | Link to the document or message sent by email. |
Import Cash, Cheque or Credit Refunds
REST API | cancelKabala/cancel |
Parameters | Description | Parameter Options/value |
---|---|---|
stockid Required | The transaction ID that's being refunded | transaction ID |
matchflag | Cancel document adjustments | 0 / 1 |
copies | Number of copies | numeric |
JSON Example
{
"stockId":222763,
"matchflag":0,
"copies":1
}
OutputData
Name | Options |
---|---|
statusCode | 200 – OK / 500 - Errors |
docUrl | Link to the document or message sent by email. |
JSON Examples
{
"docUrl": "canceled_Doc.pdf"
}
{
"status": "error",
"statusCode": 500,
"message": {
"numError": 117,
"messageError": "קבלה זו כבר בוטלה"
}
}