v2

latestSwagger 2.02026-08-01139174369.1 KB
SalesEntries

Returns information about a single Sales Entry.

get/v1/salesEntries/{id}

Path parameters

idinteger required

Id of Sales Entry to return.

Response

OK

detailCollectionstring[]
isDiscrepancyAcceptedboolean
customerIdinteger
referencestring
detailsstring
unpaidnumber double
netGoodsnumber double
netServicesnumber double
vatTypeIdinteger
totalNetnumber double
totalVATnumber double
idinteger
bookTranTypeIdinteger
acCodestring
notestring
entryDatestring date-time
procDatestring date-time
totalnumber double
timestampstring byte

Example response

{
  "acEntries": [
    {
      "id": 73450,
      "accountCode": "SA01",
      "analysisCategoryId": 40888,
      "description": "SAL 1",
      "value": 636.36
    }
  ],
  "vatEntries": [
    {
      "id": 63649,
      "vatRateId": 30657,
      "percentage": 10,
      "amount": 636.36
    }
  ],
  "detailCollection": [],
  "isDiscrepancyAccepted": false,
  "customerId": 70583,
  "reference": "000001",
  "details": "detail_1",
  "unpaid": 0,
  "netGoods": 0,
  "netServices": 0,
  "vatTypeId": 1,
  "totalNet": 636.36,
  "totalVAT": 63.64,
  "id": 1,
  "bookTranTypeId": 5,
  "acCode": "code",
  "note": "Customer 1",
  "entryDate": "2011-01-01T00:00:00",
  "procDate": "2011-01-01T00:00:00",
  "total": 700,
  "timestamp": "vlxK5vbv3gg=",
  "customFields": [
    {
      "id": 1,
      "userDefinedFieldId": 1,
      "description": "acudf_1",
      "value": "acudfv_1"
    },
    {
      "id": 2,
      "userDefinedFieldId": 1,
      "description": "acudf_2",
      "value": "acudfv_2"
    }
  ]
}