POST services/api/v1/POS/Save_POSSalesReturn
Request Information
URI Parameters
None.
Body Parameters
PReturnMaster| Name | Description | Type | Additional information |
|---|---|---|---|
| InvNo | integer |
None. |
|
| InvDate | date |
None. |
|
| CounterId | integer |
None. |
|
| CashierId | integer |
None. |
|
| CounterOpId | integer |
None. |
|
| TotAmount | decimal number |
None. |
|
| TotCash | decimal number |
None. |
|
| TotCredit | decimal number |
None. |
|
| CustomerId | integer |
None. |
|
| Balance | decimal number |
None. |
|
| DayOpenId | integer |
None. |
|
| TotalCredit | decimal number |
None. |
|
| LCode | integer |
None. |
|
| PReturnDetails | Collection of PReturnDetails |
None. |
Request Formats
application/json, text/json
Sample:
{
"InvNo": 1,
"InvDate": "2026-09-09T15:04:51.8583468+04:00",
"CounterId": 3,
"CashierId": 4,
"CounterOpId": 5,
"TotAmount": 6.0,
"TotCash": 7.0,
"TotCredit": 8.0,
"CustomerId": 9,
"Balance": 10.0,
"DayOpenId": 11,
"TotalCredit": 12.0,
"LCode": 13,
"PReturnDetails": [
{
"OgSlno": 1,
"RetInvNo": 2,
"RetLocId": 3,
"Barcode": "sample string 4",
"OgRate": 5.0,
"OgQty": 6.0,
"RtRate": 7.0,
"RtQty": 8.0
},
{
"OgSlno": 1,
"RetInvNo": 2,
"RetLocId": 3,
"Barcode": "sample string 4",
"OgRate": 5.0,
"OgQty": 6.0,
"RtRate": 7.0,
"RtQty": 8.0
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PReturnMaster| Name | Description | Type | Additional information |
|---|---|---|---|
| InvNo | integer |
None. |
|
| InvDate | date |
None. |
|
| CounterId | integer |
None. |
|
| CashierId | integer |
None. |
|
| CounterOpId | integer |
None. |
|
| TotAmount | decimal number |
None. |
|
| TotCash | decimal number |
None. |
|
| TotCredit | decimal number |
None. |
|
| CustomerId | integer |
None. |
|
| Balance | decimal number |
None. |
|
| DayOpenId | integer |
None. |
|
| TotalCredit | decimal number |
None. |
|
| LCode | integer |
None. |
|
| PReturnDetails | Collection of PReturnDetails |
None. |
Response Formats
application/json, text/json
Sample:
{
"InvNo": 1,
"InvDate": "2026-09-09T15:04:51.8895913+04:00",
"CounterId": 3,
"CashierId": 4,
"CounterOpId": 5,
"TotAmount": 6.0,
"TotCash": 7.0,
"TotCredit": 8.0,
"CustomerId": 9,
"Balance": 10.0,
"DayOpenId": 11,
"TotalCredit": 12.0,
"LCode": 13,
"PReturnDetails": [
{
"OgSlno": 1,
"RetInvNo": 2,
"RetLocId": 3,
"Barcode": "sample string 4",
"OgRate": 5.0,
"OgQty": 6.0,
"RtRate": 7.0,
"RtQty": 8.0
},
{
"OgSlno": 1,
"RetInvNo": 2,
"RetLocId": 3,
"Barcode": "sample string 4",
"OgRate": 5.0,
"OgQty": 6.0,
"RtRate": 7.0,
"RtQty": 8.0
}
]
}