POST api/receipt/addfunds

Add funds to an account/group by id or suspense account

Request Information

URI Parameters

None.

Body Parameters

SetReceiptFundsDataContract
NameDescriptionTypeAdditional 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.

Allocations

Collection of MakeInvoiceAllocationDataContract

None.

Id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "DateTime": "2020-12-01T15:46:52.5290568Z",
  "GroupId": 1,
  "AccountId": 1,
  "IsSuspense": true,
  "IsAgentCash": true,
  "Amount": 3.0,
  "IsUncleared": true,
  "SystemBankAccountId": 1,
  "PaymentType": 0,
  "Description": "sample string 4",
  "Allocations": [
    {
      "InvoiceId": 1,
      "Amount": 2.0,
      "DateTime": "2020-12-01T15:46:52.5290568Z",
      "AccountId": 3,
      "InvoiceItemAllocations": [
        {
          "Amount": 1.0,
          "InvoiceItemId": 2
        },
        {
          "Amount": 1.0,
          "InvoiceItemId": 2
        }
      ]
    },
    {
      "InvoiceId": 1,
      "Amount": 2.0,
      "DateTime": "2020-12-01T15:46:52.5290568Z",
      "AccountId": 3,
      "InvoiceItemAllocations": [
        {
          "Amount": 1.0,
          "InvoiceItemId": 2
        },
        {
          "Amount": 1.0,
          "InvoiceItemId": 2
        }
      ]
    }
  ],
  "Id": 5
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.