PUT api/RetailReceipt?BRANCH_CODE={BRANCH_CODE}&VOCTYPE={VOCTYPE}&VOCNO={VOCNO}&YEARMONTH={YEARMONTH}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| BRANCH_CODE | string |
Required |
|
| VOCTYPE | string |
Required |
|
| VOCNO | integer |
Required |
|
| YEARMONTH | string |
Required |
Body Parameters
RetailReceipt| Name | Description | Type | Additional information |
|---|---|---|---|
| REFMID | decimal number |
Required |
|
| VOCTYPE | string |
Max length: 3 |
|
| RECEIPT_MODE | string |
Max length: 6 |
|
| CURRENCY_CODE | string |
Required Max length: 4 |
|
| CURRENCY_RATE | decimal number |
None. |
|
| AMOUNT_FC | decimal number |
None. |
|
| AMOUNT_CC | decimal number |
None. |
|
| DESCRIPTION | string |
Max length: 2500 |
|
| SRNO | integer |
None. |
|
| BRANCH_CODE | string |
Max length: 6 |
|
| VOCNO | decimal number |
None. |
|
| VOCDATE | date |
None. |
|
| ARECVOCNO | string |
Max length: 100 |
|
| ARECVOCTYPE | string |
Max length: 6 |
|
| ARECMID | decimal number |
None. |
|
| LOCKED | boolean |
None. |
|
| FYEARCODE | string |
Max length: 10 |
|
| REC_BRANCHCODE | string |
Max length: 6 |
|
| CARD_NO | string |
Max length: 20 |
|
| CARD_HOLDER | string |
Max length: 50 |
|
| CARD_VALID | string |
Max length: 8 |
|
| RDMLOYALTY | decimal number |
None. |
|
| CREDITDAYS | decimal number |
None. |
|
| VALUE_DATE | date |
None. |
|
| SGST_ACCODE | string |
Required Max length: 6 |
|
| IGST_ACCODE | string |
Required Max length: 6 |
|
| CGST_CTRLACCODE | string |
Required Max length: 6 |
|
| SGST_CTRLACCODE | string |
Required Max length: 6 |
|
| IGST_CTRLACCODE | string |
Required Max length: 6 |
|
| CGST_PER | decimal number |
Required |
|
| CGST_AMOUNTFC | decimal number |
Required |
|
| CGST_AMOUNTCC | decimal number |
Required |
|
| SGST_PER | decimal number |
Required |
|
| SGST_AMOUNTFC | decimal number |
Required |
|
| SGST_AMOUNTCC | decimal number |
Required |
|
| IGST_PER | decimal number |
Required |
|
| IGST_AMOUNTFC | decimal number |
Required |
|
| IGST_AMOUNTCC | decimal number |
Required |
|
| HSN_CODE | string |
Required Max length: 20 |
|
| GST_CODE | string |
Required Max length: 20 |
|
| CGST_ACCODE | string |
Required Max length: 6 |
|
| REC_COMM_AMOUNTFC | decimal number |
None. |
|
| REC_COMM_AMOUNTCC | decimal number |
None. |
|
| POS_CREDIT_ACCODE | string |
Required Max length: 6 |
|
| POS_CREDIT_ACNAME | string |
Required Max length: 100 |
|
| GIFT_CARDNO | string |
Max length: 20 |
|
| DT_YEARMONTH | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"REFMID": 1.1,
"VOCTYPE": "sample string 2",
"RECEIPT_MODE": "sample string 3",
"CURRENCY_CODE": "sample string 4",
"CURRENCY_RATE": 5.1,
"AMOUNT_FC": 6.1,
"AMOUNT_CC": 7.1,
"DESCRIPTION": "sample string 8",
"SRNO": 9,
"BRANCH_CODE": "sample string 10",
"VOCNO": 11.1,
"VOCDATE": "2025-12-16T07:35:02.6902883+04:00",
"ARECVOCNO": "sample string 13",
"ARECVOCTYPE": "sample string 14",
"ARECMID": 15.1,
"LOCKED": true,
"FYEARCODE": "sample string 17",
"REC_BRANCHCODE": "sample string 18",
"CARD_NO": "sample string 19",
"CARD_HOLDER": "sample string 20",
"CARD_VALID": "sample string 21",
"RDMLOYALTY": 22.1,
"CREDITDAYS": 23.1,
"VALUE_DATE": "2025-12-16T07:35:02.6902883+04:00",
"SGST_ACCODE": "sample string 25",
"IGST_ACCODE": "sample string 26",
"CGST_CTRLACCODE": "sample string 27",
"SGST_CTRLACCODE": "sample string 28",
"IGST_CTRLACCODE": "sample string 29",
"CGST_PER": 30.1,
"CGST_AMOUNTFC": 31.1,
"CGST_AMOUNTCC": 32.1,
"SGST_PER": 33.1,
"SGST_AMOUNTFC": 34.1,
"SGST_AMOUNTCC": 35.1,
"IGST_PER": 36.1,
"IGST_AMOUNTFC": 37.1,
"IGST_AMOUNTCC": 38.1,
"HSN_CODE": "sample string 39",
"GST_CODE": "sample string 40",
"CGST_ACCODE": "sample string 41",
"REC_COMM_AMOUNTFC": 42.1,
"REC_COMM_AMOUNTCC": 43.1,
"POS_CREDIT_ACCODE": "sample string 44",
"POS_CREDIT_ACNAME": "sample string 45",
"GIFT_CARDNO": "sample string 46",
"DT_YEARMONTH": "sample string 47"
}
text/html
Sample:
{"REFMID":1.1,"VOCTYPE":"sample string 2","RECEIPT_MODE":"sample string 3","CURRENCY_CODE":"sample string 4","CURRENCY_RATE":5.1,"AMOUNT_FC":6.1,"AMOUNT_CC":7.1,"DESCRIPTION":"sample string 8","SRNO":9,"BRANCH_CODE":"sample string 10","VOCNO":11.1,"VOCDATE":"2025-12-16T07:35:02.6902883+04:00","ARECVOCNO":"sample string 13","ARECVOCTYPE":"sample string 14","ARECMID":15.1,"LOCKED":true,"FYEARCODE":"sample string 17","REC_BRANCHCODE":"sample string 18","CARD_NO":"sample string 19","CARD_HOLDER":"sample string 20","CARD_VALID":"sample string 21","RDMLOYALTY":22.1,"CREDITDAYS":23.1,"VALUE_DATE":"2025-12-16T07:35:02.6902883+04:00","SGST_ACCODE":"sample string 25","IGST_ACCODE":"sample string 26","CGST_CTRLACCODE":"sample string 27","SGST_CTRLACCODE":"sample string 28","IGST_CTRLACCODE":"sample string 29","CGST_PER":30.1,"CGST_AMOUNTFC":31.1,"CGST_AMOUNTCC":32.1,"SGST_PER":33.1,"SGST_AMOUNTFC":34.1,"SGST_AMOUNTCC":35.1,"IGST_PER":36.1,"IGST_AMOUNTFC":37.1,"IGST_AMOUNTCC":38.1,"HSN_CODE":"sample string 39","GST_CODE":"sample string 40","CGST_ACCODE":"sample string 41","REC_COMM_AMOUNTFC":42.1,"REC_COMM_AMOUNTCC":43.1,"POS_CREDIT_ACCODE":"sample string 44","POS_CREDIT_ACNAME":"sample string 45","GIFT_CARDNO":"sample string 46","DT_YEARMONTH":"sample string 47"}
application/xml, text/xml
Sample:
<RetailReceipt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/webAppApi.Models.POS"> <AMOUNT_CC>7.1</AMOUNT_CC> <AMOUNT_FC>6.1</AMOUNT_FC> <ARECMID>15.1</ARECMID> <ARECVOCNO>sample string 13</ARECVOCNO> <ARECVOCTYPE>sample string 14</ARECVOCTYPE> <BRANCH_CODE>sample string 10</BRANCH_CODE> <CARD_HOLDER>sample string 20</CARD_HOLDER> <CARD_NO>sample string 19</CARD_NO> <CARD_VALID>sample string 21</CARD_VALID> <CGST_ACCODE>sample string 41</CGST_ACCODE> <CGST_AMOUNTCC>32.1</CGST_AMOUNTCC> <CGST_AMOUNTFC>31.1</CGST_AMOUNTFC> <CGST_CTRLACCODE>sample string 27</CGST_CTRLACCODE> <CGST_PER>30.1</CGST_PER> <CREDITDAYS>23.1</CREDITDAYS> <CURRENCY_CODE>sample string 4</CURRENCY_CODE> <CURRENCY_RATE>5.1</CURRENCY_RATE> <DESCRIPTION>sample string 8</DESCRIPTION> <DT_YEARMONTH>sample string 47</DT_YEARMONTH> <FYEARCODE>sample string 17</FYEARCODE> <GIFT_CARDNO>sample string 46</GIFT_CARDNO> <GST_CODE>sample string 40</GST_CODE> <HSN_CODE>sample string 39</HSN_CODE> <IGST_ACCODE>sample string 26</IGST_ACCODE> <IGST_AMOUNTCC>38.1</IGST_AMOUNTCC> <IGST_AMOUNTFC>37.1</IGST_AMOUNTFC> <IGST_CTRLACCODE>sample string 29</IGST_CTRLACCODE> <IGST_PER>36.1</IGST_PER> <LOCKED>true</LOCKED> <POS_CREDIT_ACCODE>sample string 44</POS_CREDIT_ACCODE> <POS_CREDIT_ACNAME>sample string 45</POS_CREDIT_ACNAME> <RDMLOYALTY>22.1</RDMLOYALTY> <RECEIPT_MODE>sample string 3</RECEIPT_MODE> <REC_BRANCHCODE>sample string 18</REC_BRANCHCODE> <REC_COMM_AMOUNTCC>43.1</REC_COMM_AMOUNTCC> <REC_COMM_AMOUNTFC>42.1</REC_COMM_AMOUNTFC> <REFMID>1.1</REFMID> <SGST_ACCODE>sample string 25</SGST_ACCODE> <SGST_AMOUNTCC>35.1</SGST_AMOUNTCC> <SGST_AMOUNTFC>34.1</SGST_AMOUNTFC> <SGST_CTRLACCODE>sample string 28</SGST_CTRLACCODE> <SGST_PER>33.1</SGST_PER> <SRNO>9</SRNO> <VALUE_DATE>2025-12-16T07:35:02.6902883+04:00</VALUE_DATE> <VOCDATE>2025-12-16T07:35:02.6902883+04:00</VOCDATE> <VOCNO>11.1</VOCNO> <VOCTYPE>sample string 2</VOCTYPE> </RetailReceipt>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json, text/html
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />