Generate sales accrual report
The purpose of this API is to get the sales made by a center (on any particular day or over a time period) if the business follows accrual-based accounting.
post/v1/reports/sales/accrual_basis/flat_file
Request
- Base URLhttps://api.zenoti.com
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Pageinteger
Page number to search
Sizeinteger
Size of the list to return
Request body
Response
200
Example response
{
"sales": [
{
"sale_date": "2019-07-01T00:00:00",
"invoice_id": "1684723a-3ec2-46e6-afc4-275cb29417cf",
"invoice_no": "RR10521",
"guest_id": "5d17a875-856c-4892-8136-b89fc43b1c5b",
"guest_name": "Hasan Akshara",
"guest_code": "hasan",
"center_id": "a11f578a-1b81-4de0-8834-915f79e5362b",
"center_name": "Khammam",
"center_code": "KMM",
"item_id": "fbbd04c9-2614-4eba-aa6b-7895532e55ea",
"item_name": "32 Char Service Code[]{}",
"item_code": "123456789012345678901234567890",
"item_type": "Service",
"qty": 1,
"sales_exc_tax": 100,
"sales_inc_tax": 110,
"tax": 10,
"due": 110,
"invoice_date": "2019-07-01T00:00:00",
"item_category": "Body Services",
"business_unit": "Default",
"sale_type": "Sale",
"provider": "Ivy Owner",
"first_visit": "No",
"member": "No",
"status": "Open",
"sold_by": "Ivy Owner",
"sold_by_code": "iowner",
"created_by": "Tangerinespa_Own Owner",
"category_id": "f43b8fd4-1fd2-473a-a790-dfab7491988c",
"sold_by_id": "864d0127-d6e6-4488-a8e8-2244672d62e6",
"created_by_id": "509a3697-1dda-476a-b906-0b0608ce908a",
"price": 100,
"item_sub_category": "Add ons- body",
"business_unit_id": "7877f8b5-39b0-4827-9f78-e31b4c83b492",
"invoice_source": "Zenoti"
}
],
"page_info": {
"total": 2,
"page": 1,
"size": 10
},
"total": {
"sales_exc_tax": 200,
"tax": 20,
"sales_inc_tax": 220,
"price": 200,
"qty": 100
}
}Changes
No recorded changes to this operation across all 1 revision of this API.