POST api/Invoice/AllocatePaymentToInvoice
Request Information
URI Parameters
None.
Body Parameters
InvoicePaymentViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| AuthenticationCode | string |
None. |
|
| InvoiceId | integer |
None. |
|
| PaymentAmount | string |
None. |
|
| BankAccountId | integer |
None. |
|
| PaymentDate | date |
None. |
|
| Descripition | string |
None. |
|
| LanguageId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"AuthenticationCode": "sample string 1",
"InvoiceId": 2,
"PaymentAmount": "sample string 3",
"BankAccountId": 4,
"PaymentDate": "2025-12-31T17:42:14.03725+00:00",
"Descripition": "sample string 6",
"LanguageId": 7
}
text/html
Sample:
{"AuthenticationCode":"sample string 1","InvoiceId":2,"PaymentAmount":"sample string 3","BankAccountId":4,"PaymentDate":"2025-12-31T17:42:14.03725+00:00","Descripition":"sample string 6","LanguageId":7}
application/xml, text/xml
Sample:
<InvoicePaymentViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EasyAccounting.ViewModel"> <AuthenticationCode>sample string 1</AuthenticationCode> <BankAccountId>4</BankAccountId> <Descripition>sample string 6</Descripition> <InvoiceId>2</InvoiceId> <LanguageId>7</LanguageId> <PaymentAmount>sample string 3</PaymentAmount> <PaymentDate>2025-12-31T17:42:14.03725+00:00</PaymentDate> </InvoicePaymentViewModel>
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. |