v2

latestSwagger 2.02026-08-01139174369.1 KB
CashReceipts

Returns information about a single Cash Receipt.

get/v1/cashReceipts/{id}

Path parameters

idinteger required

Id of Cash Receipt to return.

Response

OK

discountnumber double
unallocatednumber double
customerIdinteger
detailCollectionstring[]
vatTypeIdinteger
ledgernumber double
plaidTransactionIdstring
idinteger
bookTranTypeIdinteger
acCodestring
notestring
entryDatestring date-time
procDatestring date-time
totalnumber double
timestampstring byte

Example response

{
  "discount": 0,
  "unallocated": 0,
  "detailCollection": [
    "det_1",
    "det_2",
    "det_3"
  ],
  "acEntries": [
    {
      "id": 1,
      "accountCode": "000",
      "analysisCategoryId": 1,
      "description": "AnCat1",
      "value": 30
    }
  ],
  "vatEntries": [
    {
      "id": 1,
      "vatRateId": 1,
      "percentage": 15,
      "amount": 50
    }
  ],
  "ledger": 0,
  "id": 1,
  "bookTranTypeId": 1,
  "note": "note1",
  "entryDate": "2011-01-01T00:00:00",
  "procDate": "2011-01-05T00:00:00",
  "total": 50,
  "timestamp": "WTVD5vbv3gg=",
  "customFields": [
    {
      "id": 1,
      "userDefinedFieldId": 1,
      "description": "acudf_1",
      "value": "acudfv_1"
    }
  ]
}