POST api/SalesBill/CustomerPaymentSalesBill
Request Information
URI Parameters
None.
Body Parameters
SalesBillListViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| invoicemasterid | integer |
None. |
|
| customerinfoid | integer |
None. |
|
| invoiceno | string |
None. |
|
| invoicedate | date |
None. |
|
| challanno | string |
None. |
|
| challandate | date |
None. |
|
| clientdcno | string |
None. |
|
| clientdcdate | date |
None. |
|
| subtotal | decimal number |
None. |
|
| netamount | decimal number |
None. |
|
| trptcharges | decimal number |
None. |
|
| taxableamount | decimal number |
None. |
|
| totalsgst | decimal number |
None. |
|
| totalcgst | decimal number |
None. |
|
| totaligst | decimal number |
None. |
|
| totalroundoff | decimal number |
None. |
|
| grandtotal | decimal number |
None. |
|
| totalinvoiceamount | decimal number |
None. |
|
| totalpaidamount | decimal number |
None. |
|
| totalbalanceamount | decimal number |
None. |
|
| balanceamount | decimal number |
None. |
|
| companyname | string |
None. |
|
| isactive | boolean |
None. |
|
| paymentmasterid | integer |
None. |
|
| paymentnumber | string |
None. |
|
| paymentamount | decimal number |
None. |
|
| paymenttypeid | integer |
None. |
|
| paymentmethod | string |
None. |
|
| paymentdate | date |
None. |
|
| chequenumber | string |
None. |
|
| tdsamount | decimal number |
None. |
|
| tdsapplied | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"invoicemasterid": 1,
"customerinfoid": 2,
"invoiceno": "sample string 3",
"invoicedate": "2026-01-29T14:46:11.6562151+05:30",
"challanno": "sample string 5",
"challandate": "2026-01-29T14:46:11.6562151+05:30",
"clientdcno": "sample string 7",
"clientdcdate": "2026-01-29T14:46:11.6562151+05:30",
"subtotal": 9.0,
"netamount": 10.0,
"trptcharges": 11.0,
"taxableamount": 12.0,
"totalsgst": 13.0,
"totalcgst": 14.0,
"totaligst": 15.0,
"totalroundoff": 16.0,
"grandtotal": 17.0,
"totalinvoiceamount": 18.0,
"totalpaidamount": 19.0,
"totalbalanceamount": 20.0,
"balanceamount": 21.0,
"companyname": "sample string 22",
"isactive": true,
"paymentmasterid": 24,
"paymentnumber": "sample string 25",
"paymentamount": 26.0,
"paymenttypeid": 27,
"paymentmethod": "sample string 28",
"paymentdate": "2026-01-29T14:46:11.6714182+05:30",
"chequenumber": "sample string 30",
"tdsamount": 31.1,
"tdsapplied": true
}
application/xml, text/xml
Sample:
<SalesBillListViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/polymech_api.Models"> <balanceamount>21</balanceamount> <challandate>2026-01-29T14:46:11.6562151+05:30</challandate> <challanno>sample string 5</challanno> <chequenumber>sample string 30</chequenumber> <clientdcdate>2026-01-29T14:46:11.6562151+05:30</clientdcdate> <clientdcno>sample string 7</clientdcno> <companyname>sample string 22</companyname> <customerinfoid>2</customerinfoid> <grandtotal>17</grandtotal> <invoicedate>2026-01-29T14:46:11.6562151+05:30</invoicedate> <invoicemasterid>1</invoicemasterid> <invoiceno>sample string 3</invoiceno> <isactive>true</isactive> <netamount>10</netamount> <paymentamount>26</paymentamount> <paymentdate>2026-01-29T14:46:11.6714182+05:30</paymentdate> <paymentmasterid>24</paymentmasterid> <paymentmethod>sample string 28</paymentmethod> <paymentnumber>sample string 25</paymentnumber> <paymenttypeid>27</paymenttypeid> <subtotal>9</subtotal> <taxableamount>12</taxableamount> <tdsamount>31.1</tdsamount> <tdsapplied>true</tdsapplied> <totalbalanceamount>20</totalbalanceamount> <totalcgst>14</totalcgst> <totaligst>15</totaligst> <totalinvoiceamount>18</totalinvoiceamount> <totalpaidamount>19</totalpaidamount> <totalroundoff>16</totalroundoff> <totalsgst>13</totalsgst> <trptcharges>11</trptcharges> </SalesBillListViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResultViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| status | boolean |
None. |
|
| message | string |
None. |
|
| data | Object |
None. |
|
| errorCode | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": true,
"message": "sample string 2",
"data": {},
"errorCode": 4
}
application/xml, text/xml
Sample:
<HttpResultViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/polymech_api.Models"> <data /> <errorCode>4</errorCode> <message>sample string 2</message> <status>true</status> </HttpResultViewModel>