POST api/v1/SaveInvoice
Request Information
URI Parameters
None.
Body Parameters
InvoiceInput| Name | Description | Type | Additional information |
|---|---|---|---|
| Mode | string |
None. |
|
| InvoiceID | integer |
None. |
|
| CompID | integer |
None. |
|
| LocID | integer |
None. |
|
| UserID | integer |
None. |
|
| YearID | integer |
None. |
|
| DeviceID | integer |
None. |
|
| BillingGSTIN | string |
None. |
|
| DeliveryID | integer |
None. |
|
| BillNo | string |
None. |
|
| BillType | string |
None. |
|
| BillDate | date |
None. |
|
| BillAmount | decimal number |
None. |
|
| AmtTendered | decimal number |
None. |
|
| RoundOff | decimal number |
None. |
|
| Result | integer |
None. |
|
| MachineName | string |
None. |
|
| DiscountValue | decimal number |
None. |
|
| DiscountID | integer |
None. |
|
| DiscPer | decimal number |
None. |
|
| CouponNo | string |
None. |
|
| TableID | integer |
None. |
|
| TableNo | string |
None. |
|
| BillingMobile | string |
None. |
|
| BillingName | string |
None. |
|
| BillingAddress | string |
None. |
|
| fk_eWalletID | integer |
None. |
|
| OnlineOrderNo | string |
None. |
|
| RefTableNo | string |
None. |
|
| json | string |
None. |
|
| JsonRcvdAmt | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Mode": "sample string 1",
"InvoiceID": 2,
"CompID": 3,
"LocID": 4,
"UserID": 5,
"YearID": 6,
"DeviceID": 7,
"BillingGSTIN": "sample string 8",
"DeliveryID": 9,
"BillNo": "sample string 10",
"BillType": "sample string 11",
"BillDate": "2025-12-15T02:49:50.1528641+05:30",
"BillAmount": 13.0,
"AmtTendered": 14.0,
"RoundOff": 15.0,
"Result": 16,
"MachineName": "sample string 17",
"DiscountValue": 18.0,
"DiscountID": 19,
"DiscPer": 20.0,
"CouponNo": "sample string 21",
"TableID": 22,
"TableNo": "sample string 23",
"BillingMobile": "sample string 24",
"BillingName": "sample string 25",
"BillingAddress": "sample string 26",
"fk_eWalletID": 27,
"OnlineOrderNo": "sample string 28",
"RefTableNo": "sample string 29",
"json": "sample string 30",
"JsonRcvdAmt": "sample string 31"
}
application/xml, text/xml
Sample:
<InvoiceInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models"> <AmtTendered>14</AmtTendered> <BillAmount>13</BillAmount> <BillDate>2025-12-15T02:49:50.1528641+05:30</BillDate> <BillNo>sample string 10</BillNo> <BillType>sample string 11</BillType> <BillingAddress>sample string 26</BillingAddress> <BillingGSTIN>sample string 8</BillingGSTIN> <BillingMobile>sample string 24</BillingMobile> <BillingName>sample string 25</BillingName> <CompID>3</CompID> <CouponNo>sample string 21</CouponNo> <DeliveryID>9</DeliveryID> <DeviceID>7</DeviceID> <DiscPer>20</DiscPer> <DiscountID>19</DiscountID> <DiscountValue>18</DiscountValue> <InvoiceID>2</InvoiceID> <JsonRcvdAmt>sample string 31</JsonRcvdAmt> <LocID>4</LocID> <MachineName>sample string 17</MachineName> <Mode>sample string 1</Mode> <OnlineOrderNo>sample string 28</OnlineOrderNo> <RefTableNo>sample string 29</RefTableNo> <Result>16</Result> <RoundOff>15</RoundOff> <TableID>22</TableID> <TableNo>sample string 23</TableNo> <UserID>5</UserID> <YearID>6</YearID> <fk_eWalletID>27</fk_eWalletID> <json>sample string 30</json> </InvoiceInput>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
InvoiceModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Result | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Result": 1
}
application/xml, text/xml
Sample:
<InvoiceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models"> <Result>1</Result> </InvoiceModel>