POST api/vendorbill
Request Information
URI Parameters
None.
Body Parameters
BillViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| BillId | integer |
None. |
|
| BillNumber | string |
Required |
|
| BillDate | date |
None. |
|
| VendorId | integer |
None. |
|
| overduedate | integer |
None. |
|
| VendorName | string |
None. |
|
| TermsCondition | string |
None. |
|
| AdjustmentAmount | decimal number |
None. |
|
| GSTNumber | integer |
None. |
|
| BillStatus | string |
None. |
|
| GSTTreatment | string |
None. |
|
| AdjustmentDescription | string |
None. |
|
| BillingAddressLine1 | string |
None. |
|
| BillingAddressLine2 | string |
None. |
|
| BillingCity | string |
None. |
|
| BillingState | string |
None. |
|
| BillingCountry | string |
None. |
|
| OrderNumber | string |
None. |
|
| DueDate | date |
None. |
|
| PaymentTerms | string |
None. |
|
| Notes | string |
None. |
|
| SubTotal | decimal number |
None. |
|
| CGSTAmount | decimal number |
None. |
|
| SGSTAmount | decimal number |
None. |
|
| IGSTAmount | decimal number |
None. |
|
| CGSTPercentage | decimal number |
None. |
|
| SGSTPercentage | decimal number |
None. |
|
| IGSTPercentage | decimal number |
None. |
|
| RountOff | decimal number |
None. |
|
| Total | decimal number |
None. |
|
| DiscountAmount | decimal number |
None. |
|
| DiscountValue | decimal number |
None. |
|
| DiscountType | string |
None. |
|
| EditLogNote | string |
None. |
|
| BalanceDue | decimal number |
None. |
|
| PaymentStatus | string |
None. |
|
| CreatedBy | string |
None. |
|
| CreatedDate | date |
None. |
|
| UpdatedBy | string |
None. |
|
| UpdatedDate | date |
None. |
|
| SaaSid | string |
None. |
|
| Status | integer |
None. |
|
| ItemId | integer |
None. |
|
| JsonListItems | string |
None. |
|
| lstBillItems | Collection of BillItemViewModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"BillId": 1,
"BillNumber": "sample string 2",
"BillDate": "2026-09-16T00:45:15.7120955+05:30",
"VendorId": 4,
"overduedate": 5,
"VendorName": "sample string 6",
"TermsCondition": "sample string 7",
"AdjustmentAmount": 8.0,
"GSTNumber": 9,
"BillStatus": "sample string 10",
"GSTTreatment": "sample string 11",
"AdjustmentDescription": "sample string 12",
"BillingAddressLine1": "sample string 13",
"BillingAddressLine2": "sample string 14",
"BillingCity": "sample string 15",
"BillingState": "sample string 16",
"BillingCountry": "sample string 17",
"OrderNumber": "sample string 18",
"DueDate": "2026-09-16T00:45:15.7120955+05:30",
"PaymentTerms": "sample string 20",
"Notes": "sample string 21",
"SubTotal": 22.0,
"CGSTAmount": 23.0,
"SGSTAmount": 24.0,
"IGSTAmount": 25.0,
"CGSTPercentage": 26.0,
"SGSTPercentage": 27.0,
"IGSTPercentage": 28.0,
"RountOff": 29.0,
"Total": 30.0,
"DiscountAmount": 31.0,
"DiscountValue": 32.0,
"DiscountType": "sample string 33",
"EditLogNote": "sample string 34",
"BalanceDue": 35.0,
"PaymentStatus": "sample string 36",
"CreatedBy": "sample string 37",
"CreatedDate": "2026-09-16T00:45:15.7120955+05:30",
"UpdatedBy": "sample string 39",
"UpdatedDate": "2026-09-16T00:45:15.7120955+05:30",
"SaaSid": "sample string 41",
"Status": 42,
"ItemId": 43,
"JsonListItems": "sample string 44",
"lstBillItems": [
{
"BillItemId": 1,
"BillId": 2,
"ItemName": "sample string 3",
"ItemDescription": "sample string 4",
"ItemSno": 5,
"ItemHSN": "sample string 6",
"Quantity": 7,
"Rate": 8.0,
"CGST": 9.0,
"SGST": 10.0,
"IGST": 11.0,
"DiscountAmount": 12.0,
"DiscountValue": 13.0,
"DiscountType": "sample string 14",
"Amount": 15.0,
"CreatedBy": "sample string 16",
"CreatedDate": "2026-09-16T00:45:15.7120955+05:30",
"UpdatedBy": "sample string 18",
"UpdatedDate": "2026-09-16T00:45:15.7120955+05:30",
"Status": 20,
"ItemID": 21,
"TaxPercentage": 22,
"FromDate": "2026-09-16T00:45:15.7120955+05:30",
"ToDate": "2026-09-16T00:45:15.7120955+05:30",
"VehicleId": 25,
"StartingOdometer": 26,
"ClosingOdometer": 27,
"SaaSid": "sample string 28"
},
{
"BillItemId": 1,
"BillId": 2,
"ItemName": "sample string 3",
"ItemDescription": "sample string 4",
"ItemSno": 5,
"ItemHSN": "sample string 6",
"Quantity": 7,
"Rate": 8.0,
"CGST": 9.0,
"SGST": 10.0,
"IGST": 11.0,
"DiscountAmount": 12.0,
"DiscountValue": 13.0,
"DiscountType": "sample string 14",
"Amount": 15.0,
"CreatedBy": "sample string 16",
"CreatedDate": "2026-09-16T00:45:15.7120955+05:30",
"UpdatedBy": "sample string 18",
"UpdatedDate": "2026-09-16T00:45:15.7120955+05:30",
"Status": 20,
"ItemID": 21,
"TaxPercentage": 22,
"FromDate": "2026-09-16T00:45:15.7120955+05:30",
"ToDate": "2026-09-16T00:45:15.7120955+05:30",
"VehicleId": 25,
"StartingOdometer": 26,
"ClosingOdometer": 27,
"SaaSid": "sample string 28"
}
]
}
application/xml, text/xml
Sample:
<BillViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TMSPRO.BusinessModel">
<AdjustmentAmount>8</AdjustmentAmount>
<AdjustmentDescription>sample string 12</AdjustmentDescription>
<BalanceDue>35</BalanceDue>
<BillDate>2026-09-16T00:45:15.7120955+05:30</BillDate>
<BillId>1</BillId>
<BillNumber>sample string 2</BillNumber>
<BillStatus>sample string 10</BillStatus>
<BillingAddressLine1>sample string 13</BillingAddressLine1>
<BillingAddressLine2>sample string 14</BillingAddressLine2>
<BillingCity>sample string 15</BillingCity>
<BillingCountry>sample string 17</BillingCountry>
<BillingState>sample string 16</BillingState>
<CGSTAmount>23</CGSTAmount>
<CGSTPercentage>26</CGSTPercentage>
<CreatedBy>sample string 37</CreatedBy>
<CreatedDate>2026-09-16T00:45:15.7120955+05:30</CreatedDate>
<DiscountAmount>31</DiscountAmount>
<DiscountType>sample string 33</DiscountType>
<DiscountValue>32</DiscountValue>
<DueDate>2026-09-16T00:45:15.7120955+05:30</DueDate>
<EditLogNote>sample string 34</EditLogNote>
<GSTNumber>9</GSTNumber>
<GSTTreatment>sample string 11</GSTTreatment>
<IGSTAmount>25</IGSTAmount>
<IGSTPercentage>28</IGSTPercentage>
<ItemId>43</ItemId>
<JsonListItems>sample string 44</JsonListItems>
<Notes>sample string 21</Notes>
<OrderNumber>sample string 18</OrderNumber>
<PaymentStatus>sample string 36</PaymentStatus>
<PaymentTerms>sample string 20</PaymentTerms>
<RountOff>29</RountOff>
<SGSTAmount>24</SGSTAmount>
<SGSTPercentage>27</SGSTPercentage>
<SaaSid>sample string 41</SaaSid>
<Status>42</Status>
<SubTotal>22</SubTotal>
<TermsCondition>sample string 7</TermsCondition>
<Total>30</Total>
<UpdatedBy>sample string 39</UpdatedBy>
<UpdatedDate>2026-09-16T00:45:15.7120955+05:30</UpdatedDate>
<VendorId>4</VendorId>
<VendorName>sample string 6</VendorName>
<lstBillItems>
<BillItemViewModel>
<Amount>15</Amount>
<BillId>2</BillId>
<BillItemId>1</BillItemId>
<CGST>9</CGST>
<ClosingOdometer>27</ClosingOdometer>
<CreatedBy>sample string 16</CreatedBy>
<CreatedDate>2026-09-16T00:45:15.7120955+05:30</CreatedDate>
<DiscountAmount>12</DiscountAmount>
<DiscountType>sample string 14</DiscountType>
<DiscountValue>13</DiscountValue>
<FromDate>2026-09-16T00:45:15.7120955+05:30</FromDate>
<IGST>11</IGST>
<ItemDescription>sample string 4</ItemDescription>
<ItemHSN>sample string 6</ItemHSN>
<ItemID>21</ItemID>
<ItemName>sample string 3</ItemName>
<ItemSno>5</ItemSno>
<Quantity>7</Quantity>
<Rate>8</Rate>
<SGST>10</SGST>
<SaaSid>sample string 28</SaaSid>
<StartingOdometer>26</StartingOdometer>
<Status>20</Status>
<TaxPercentage>22</TaxPercentage>
<ToDate>2026-09-16T00:45:15.7120955+05:30</ToDate>
<UpdatedBy>sample string 18</UpdatedBy>
<UpdatedDate>2026-09-16T00:45:15.7120955+05:30</UpdatedDate>
<VehicleId>25</VehicleId>
</BillItemViewModel>
<BillItemViewModel>
<Amount>15</Amount>
<BillId>2</BillId>
<BillItemId>1</BillItemId>
<CGST>9</CGST>
<ClosingOdometer>27</ClosingOdometer>
<CreatedBy>sample string 16</CreatedBy>
<CreatedDate>2026-09-16T00:45:15.7120955+05:30</CreatedDate>
<DiscountAmount>12</DiscountAmount>
<DiscountType>sample string 14</DiscountType>
<DiscountValue>13</DiscountValue>
<FromDate>2026-09-16T00:45:15.7120955+05:30</FromDate>
<IGST>11</IGST>
<ItemDescription>sample string 4</ItemDescription>
<ItemHSN>sample string 6</ItemHSN>
<ItemID>21</ItemID>
<ItemName>sample string 3</ItemName>
<ItemSno>5</ItemSno>
<Quantity>7</Quantity>
<Rate>8</Rate>
<SGST>10</SGST>
<SaaSid>sample string 28</SaaSid>
<StartingOdometer>26</StartingOdometer>
<Status>20</Status>
<TaxPercentage>22</TaxPercentage>
<ToDate>2026-09-16T00:45:15.7120955+05:30</ToDate>
<UpdatedBy>sample string 18</UpdatedBy>
<UpdatedDate>2026-09-16T00:45:15.7120955+05:30</UpdatedDate>
<VehicleId>25</VehicleId>
</BillItemViewModel>
</lstBillItems>
<overduedate>5</overduedate>
</BillViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
JsonResultOfAPIBaseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Content | APIBaseModel |
None. |
|
| SerializerSettings | JsonSerializerSettings |
None. |
|
| Encoding | Encoding |
None. |
|
| Request | HttpRequestMessage |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.