POST v1/Inv/AddInvhead
Request Information
URI Parameters
None.
Body Parameters
MobInvHead| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| BranchCode | integer |
None. |
|
| BillNo | string |
None. |
|
| BillDate | date |
None. |
|
| CustCode | string |
None. |
|
| SubTotal | decimal number |
None. |
|
| TotalAmt | decimal number |
None. |
|
| ItemDiscAmt | decimal number |
None. |
|
| BillDiscPer | decimal number |
None. |
|
| BillDiscAmt | decimal number |
None. |
|
| loyaltyDiscPer | decimal number |
None. |
|
| LoyaltyDiscAmt | decimal number |
None. |
|
| LessAmt | decimal number |
None. |
|
| GSTAmt | decimal number |
None. |
|
| PayAmt | decimal number |
None. |
|
| BillCash | decimal number |
None. |
|
| CardAmt | decimal number |
None. |
|
| CardNo | integer |
None. |
|
| CardName | string |
None. |
|
| CurrancyCode | integer |
None. |
|
| BillCurrency | string |
None. |
|
| ExChangeRate | decimal number |
None. |
|
| TaxName1 | string |
None. |
|
| TaxPer1 | decimal number |
None. |
|
| TaxAmt1 | decimal number |
None. |
|
| TaxName2 | string |
None. |
|
| TaxPer2 | decimal number |
None. |
|
| TaxAmt2 | decimal number |
None. |
|
| RePrint | integer |
None. |
|
| UpdateStatus | string |
None. |
|
| TenderedAmt | decimal number |
None. |
|
| Balance | decimal number |
None. |
|
| UserName | string |
None. |
|
| SalePaerson | string |
None. |
|
| Remarks | string |
None. |
|
| BillCancel | integer |
None. |
|
| BillTime | time interval |
None. |
|
| Shift | string |
None. |
|
| DiscountType | string |
None. |
|
| RoundOff | decimal number |
None. |
|
| Bill_No1 | decimal number |
None. |
|
| TerminalCode | string |
None. |
|
| Emp_Code | string |
None. |
|
| CNADJUSTAmt | decimal number |
None. |
|
| Sale_Type | string |
None. |
|
| BusinessDate | date |
None. |
|
| SyncStatus | string |
None. |
|
| SyncDate | date |
None. |
|
| SyncTime | time interval |
None. |
|
| Bill_Type | string |
None. |
|
| Delivery_Status | string |
None. |
|
| Driver_Code | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"BranchCode": 2,
"BillNo": "sample string 3",
"BillDate": "2026-07-25T11:29:35.6276462+05:30",
"CustCode": "sample string 4",
"SubTotal": 1.0,
"TotalAmt": 1.0,
"ItemDiscAmt": 1.0,
"BillDiscPer": 1.0,
"BillDiscAmt": 1.0,
"loyaltyDiscPer": 1.0,
"LoyaltyDiscAmt": 1.0,
"LessAmt": 1.0,
"GSTAmt": 1.0,
"PayAmt": 1.0,
"BillCash": 1.0,
"CardAmt": 1.0,
"CardNo": 1,
"CardName": "sample string 5",
"CurrancyCode": 1,
"BillCurrency": "sample string 6",
"ExChangeRate": 1.0,
"TaxName1": "sample string 7",
"TaxPer1": 1.0,
"TaxAmt1": 1.0,
"TaxName2": "sample string 8",
"TaxPer2": 1.0,
"TaxAmt2": 1.0,
"RePrint": 1,
"UpdateStatus": "sample string 9",
"TenderedAmt": 1.0,
"Balance": 1.0,
"UserName": "sample string 10",
"SalePaerson": "sample string 11",
"Remarks": "sample string 12",
"BillCancel": 1,
"BillTime": "00:00:00.1234567",
"Shift": "sample string 13",
"DiscountType": "sample string 14",
"RoundOff": 1.0,
"Bill_No1": 1.0,
"TerminalCode": "sample string 15",
"Emp_Code": "sample string 16",
"CNADJUSTAmt": 1.0,
"Sale_Type": "sample string 17",
"BusinessDate": "2026-07-25T11:29:35.6276462+05:30",
"SyncStatus": "sample string 19",
"SyncDate": "2026-07-25T11:29:35.6276462+05:30",
"SyncTime": "00:00:00.1234567",
"Bill_Type": "sample string 22",
"Delivery_Status": "sample string 23",
"Driver_Code": 1
}
text/xml
Sample:
<MobInvHead xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AppEntity"> <Balance>1</Balance> <BillCancel>1</BillCancel> <BillCash>1</BillCash> <BillCurrency>sample string 6</BillCurrency> <BillDate>2026-07-25T11:29:35.6276462+05:30</BillDate> <BillDiscAmt>1</BillDiscAmt> <BillDiscPer>1</BillDiscPer> <BillNo>sample string 3</BillNo> <BillTime>PT0.1234567S</BillTime> <Bill_No1>1</Bill_No1> <Bill_Type>sample string 22</Bill_Type> <BranchCode>2</BranchCode> <BusinessDate>2026-07-25T11:29:35.6276462+05:30</BusinessDate> <CNADJUSTAmt>1</CNADJUSTAmt> <CardAmt>1</CardAmt> <CardName>sample string 5</CardName> <CardNo>1</CardNo> <CurrancyCode>1</CurrancyCode> <CustCode>sample string 4</CustCode> <Delivery_Status>sample string 23</Delivery_Status> <DiscountType>sample string 14</DiscountType> <Driver_Code>1</Driver_Code> <Emp_Code>sample string 16</Emp_Code> <ExChangeRate>1</ExChangeRate> <GSTAmt>1</GSTAmt> <Id>1</Id> <ItemDiscAmt>1</ItemDiscAmt> <LessAmt>1</LessAmt> <LoyaltyDiscAmt>1</LoyaltyDiscAmt> <PayAmt>1</PayAmt> <RePrint>1</RePrint> <Remarks>sample string 12</Remarks> <RoundOff>1</RoundOff> <SalePaerson>sample string 11</SalePaerson> <Sale_Type>sample string 17</Sale_Type> <Shift>sample string 13</Shift> <SubTotal>1</SubTotal> <SyncDate>2026-07-25T11:29:35.6276462+05:30</SyncDate> <SyncStatus>sample string 19</SyncStatus> <SyncTime>PT0.1234567S</SyncTime> <TaxAmt1>1</TaxAmt1> <TaxAmt2>1</TaxAmt2> <TaxName1>sample string 7</TaxName1> <TaxName2>sample string 8</TaxName2> <TaxPer1>1</TaxPer1> <TaxPer2>1</TaxPer2> <TenderedAmt>1</TenderedAmt> <TerminalCode>sample string 15</TerminalCode> <TotalAmt>1</TotalAmt> <UpdateStatus>sample string 9</UpdateStatus> <UserName>sample string 10</UserName> <loyaltyDiscPer>1</loyaltyDiscPer> </MobInvHead>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
TrackInsertRecord| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccess | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsSuccess": true
}
text/xml
Sample:
<TrackInsertRecord xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AppEntity"> <IsSuccess>true</IsSuccess> </TrackInsertRecord>