POST api/Services/AllocatePaymentToInvoiceCreditNote
Request Information
URI Parameters
None.
Body Parameters
invoicePaymentDetailAPi| Name | Description | Type | Additional information |
|---|---|---|---|
| AuthenticationCode | string |
None. |
|
| InvoiceId | integer |
None. |
|
| PaymentAmount | string |
None. |
|
| FinalPaymentAmount | decimal number |
None. |
|
| PaymentMethodId | integer |
None. |
|
| fkBankAccountId | integer |
None. |
|
| InvoiceDate | date |
None. |
|
| Descripition | string |
None. |
|
| IsSaleInvoice | integer |
None. |
|
| PageMode | integer |
None. |
|
| LanguageId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"AuthenticationCode": "sample string 1",
"InvoiceId": 2,
"PaymentAmount": "sample string 3",
"FinalPaymentAmount": 4.0,
"PaymentMethodId": 5,
"fkBankAccountId": 6,
"InvoiceDate": "2025-12-31T17:41:06.9585292+00:00",
"Descripition": "sample string 8",
"IsSaleInvoice": 9,
"PageMode": 10,
"LanguageId": 11
}
text/html
Sample:
{"AuthenticationCode":"sample string 1","InvoiceId":2,"PaymentAmount":"sample string 3","FinalPaymentAmount":4.0,"PaymentMethodId":5,"fkBankAccountId":6,"InvoiceDate":"2025-12-31T17:41:06.9585292+00:00","Descripition":"sample string 8","IsSaleInvoice":9,"PageMode":10,"LanguageId":11}
application/xml, text/xml
Sample:
<invoicePaymentDetailAPi xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EasyAccounting.ViewModel"> <AuthenticationCode>sample string 1</AuthenticationCode> <Descripition>sample string 8</Descripition> <FinalPaymentAmount>4</FinalPaymentAmount> <InvoiceDate>2025-12-31T17:41:06.9585292+00:00</InvoiceDate> <InvoiceId>2</InvoiceId> <IsSaleInvoice>9</IsSaleInvoice> <LanguageId>11</LanguageId> <PageMode>10</PageMode> <PaymentAmount>sample string 3</PaymentAmount> <PaymentMethodId>5</PaymentMethodId> <fkBankAccountId>6</fkBankAccountId> </invoicePaymentDetailAPi>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |