v2
latestSwagger 2.02026-08-01139174369.1 KBSalesEntries
Processes a batch of Sales Entries.
put/v1/salesEntries/batch
Request body
Example request
[
{
"opCode": 1,
"item": {
"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"
}
]
}
}
]Response
OK
object required