POST api/receipt/addfunds
Add funds to an account/group by id or suspense account
Request Information
URI Parameters
None.
Body Parameters
SetReceiptFundsDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| DateTime | date |
None. |
|
| GroupId | integer |
None. |
|
| AccountId | integer |
None. |
|
| IsSuspense | boolean |
None. |
|
| IsAgentCash | boolean |
None. |
|
| Amount | decimal number |
None. |
|
| IsUncleared | boolean |
None. |
|
| SystemBankAccountId | integer |
None. |
|
| PaymentType | PaymentType |
None. |
|
| Description | string |
None. |
|
| PropertyAccountId | integer |
None. |
|
| Allocations | Collection of MakeInvoiceAllocationDataContract |
None. |
|
| Id | integer |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{
"DateTime": "2025-11-18T06:41:10.9786446Z",
"GroupId": 1,
"AccountId": 1,
"IsSuspense": true,
"IsAgentCash": true,
"Amount": 3.0,
"IsUncleared": true,
"SystemBankAccountId": 1,
"PaymentType": 0,
"Description": "sample string 4",
"PropertyAccountId": 1,
"Allocations": [
{
"InvoiceId": 1,
"Amount": 2.0,
"DateTime": "2025-11-18T06:41:10.9786446Z",
"AccountId": 3,
"InvoiceItemAllocations": [
{
"Amount": 1.0,
"InvoiceItemId": 2
},
{
"Amount": 1.0,
"InvoiceItemId": 2
}
]
},
{
"InvoiceId": 1,
"Amount": 2.0,
"DateTime": "2025-11-18T06:41:10.9786446Z",
"AccountId": 3,
"InvoiceItemAllocations": [
{
"Amount": 1.0,
"InvoiceItemId": 2
},
{
"Amount": 1.0,
"InvoiceItemId": 2
}
]
}
],
"Id": 5
}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.