POST api/receipt/addfunds

Add funds to an account/group by id or suspense account Processes this receipt API request. The parameter and response sections describe the data exchanged with the API.

Request Information

URI Parameters

None.

Body Parameters

The set receipt funds data contract supplied with the request.

SetReceiptFundsDataContract
NameDescriptionTypeAdditional information
DateTime

The date time, expressed as a date and time.

date

None.

GroupId

The unique identifier of the related group resource.

integer

None.

AccountId

The unique identifier of the related account resource.

integer

None.

IsSuspense

Indicates whether this item is suspense.

boolean

None.

IsAgentCash

Indicates whether this item is agent cash.

boolean

None.

Amount

The amount value.

decimal number

None.

IsUncleared

Indicates whether this item is uncleared.

boolean

None.

SystemBankAccountId

The unique identifier of the related system bank account resource.

integer

None.

PaymentType

The payment type classification.

PaymentType

None.

Description

The description value.

string

None.

PropertyAccountId

The unique identifier of the related property account resource.

integer

None.

Allocations

The collection of allocations.

Collection of MakeInvoiceAllocationDataContract

None.

Id

The unique identifier of this resource.

integer

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "DateTime": "2026-08-05T00:21:43.5914469Z",
  "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": "2026-08-05T00:21:43.5914469Z",
      "AccountId": 3,
      "InvoiceItemAllocations": [
        {
          "Amount": 1.0,
          "InvoiceItemId": 2
        },
        {
          "Amount": 1.0,
          "InvoiceItemId": 2
        }
      ]
    },
    {
      "InvoiceId": 1,
      "Amount": 2.0,
      "DateTime": "2026-08-05T00:21:43.5914469Z",
      "AccountId": 3,
      "InvoiceItemAllocations": [
        {
          "Amount": 1.0,
          "InvoiceItemId": 2
        },
        {
          "Amount": 1.0,
          "InvoiceItemId": 2
        }
      ]
    }
  ],
  "Id": 5
}

Response Information

Resource Description

The response returned after the operation completes.

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.