POST api/CreateInvoicePayment
Request Information
URI Parameters
None.
Body Parameters
CreateInvoicePaymentPostVm| Name | Description | Type | Additional information |
|---|---|---|---|
| Date | string |
None. |
|
| ChequeNumber | string |
None. |
|
| ChequeDate | string |
None. |
|
| InFavourOf | string |
None. |
|
| BankName | string |
None. |
|
| NetAmount | decimal number |
None. |
|
| TotalAmount | decimal number |
None. |
|
| Cgst | decimal number |
None. |
|
| CgstInPercentage | decimal number |
None. |
|
| Sgst | decimal number |
None. |
|
| SgstInPercentage | decimal number |
None. |
|
| Igst | decimal number |
None. |
|
| IgstInPercentage | decimal number |
None. |
|
| Tds | decimal number |
None. |
|
| TdsInPercentage | decimal number |
None. |
|
| TaxAmount | decimal number |
None. |
|
| ServiceTax | decimal number |
None. |
|
| ServiceTaxInPercentage | decimal number |
None. |
|
| PaymentType | string |
None. |
|
| TaxType | string |
None. |
|
| LedgerToId | integer |
None. |
|
| InvoiceId | integer |
None. |
|
| ReservationId | integer |
None. |
|
| Invoices | Collection of InvoicesAmountVm |
None. |
|
| Narration | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Date": "sample string 1",
"ChequeNumber": "sample string 2",
"ChequeDate": "sample string 3",
"InFavourOf": "sample string 4",
"BankName": "sample string 5",
"NetAmount": 6.1,
"TotalAmount": 7.1,
"Cgst": 8.1,
"CgstInPercentage": 9.1,
"Sgst": 10.1,
"SgstInPercentage": 11.1,
"Igst": 12.1,
"IgstInPercentage": 13.1,
"Tds": 14.1,
"TdsInPercentage": 15.1,
"TaxAmount": 16.1,
"ServiceTax": 17.1,
"ServiceTaxInPercentage": 18.1,
"PaymentType": "sample string 19",
"TaxType": "sample string 20",
"LedgerToId": 21,
"InvoiceId": 1,
"ReservationId": 1,
"Invoices": [
{
"InvoiceId": 1,
"Amount": 2.1
},
{
"InvoiceId": 1,
"Amount": 2.1
}
],
"Narration": "sample string 22"
}
application/xml, text/xml
Sample:
<CreateInvoicePaymentPostVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Services.Invoice">
<BankName>sample string 5</BankName>
<Cgst>8.1</Cgst>
<CgstInPercentage>9.1</CgstInPercentage>
<ChequeDate>sample string 3</ChequeDate>
<ChequeNumber>sample string 2</ChequeNumber>
<Date>sample string 1</Date>
<Igst>12.1</Igst>
<IgstInPercentage>13.1</IgstInPercentage>
<InFavourOf>sample string 4</InFavourOf>
<InvoiceId>1</InvoiceId>
<Invoices>
<InvoicesAmountVm>
<Amount>2.1</Amount>
<InvoiceId>1</InvoiceId>
</InvoicesAmountVm>
<InvoicesAmountVm>
<Amount>2.1</Amount>
<InvoiceId>1</InvoiceId>
</InvoicesAmountVm>
</Invoices>
<LedgerToId>21</LedgerToId>
<Narration>sample string 22</Narration>
<NetAmount>6.1</NetAmount>
<PaymentType>sample string 19</PaymentType>
<ReservationId>1</ReservationId>
<ServiceTax>17.1</ServiceTax>
<ServiceTaxInPercentage>18.1</ServiceTaxInPercentage>
<Sgst>10.1</Sgst>
<SgstInPercentage>11.1</SgstInPercentage>
<TaxAmount>16.1</TaxAmount>
<TaxType>sample string 20</TaxType>
<Tds>14.1</Tds>
<TdsInPercentage>15.1</TdsInPercentage>
<TotalAmount>7.1</TotalAmount>
</CreateInvoicePaymentPostVm>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Response| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Description | string |
None. |
|
| Data | Object |
None. |
|
| Count | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2",
"Description": "sample string 3",
"Data": {},
"Count": 5
}
application/xml, text/xml
Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Models"> <Count>5</Count> <Data /> <Description>sample string 3</Description> <Message>sample string 2</Message> <Success>true</Success> </Response>