Skip to main content

Pos Detail

Overview

The POS Detail endpoint returns detailed POS transaction records for the requested reporting period. Each record represents a POS transaction item and includes product information, transaction date, invoice number, quantity, price, discounts, taxes, service charges, total amount, and revenue.

The response also provides related POS, category, payment, sales type, employee, guest, serving period, agent, and transaction information when available. This endpoint is commonly used to review detailed POS activity, analyze product-level sales, and support transaction reporting and reconciliation.

Request Endpoint

  • Method: POST
  • Path: {{base_url}}/api/reports/pos-detail

Payload Construction and Schema Definition

The request payload is submitted as form-data fields.

Request Body Fields

FieldTypeRequiredDescription
start_datestring (date)YesStart date (YYYY-MM-DD) for the report.
end_datestring (date)YesEnd date (YYYY-MM-DD) for the report.
company_idstringyesPOS filter. Use all for all POS.

Response Body Fields

FieldTypeAlways presentDescription
errorbooleanYesIndicates whether the request failed. false means success.
statusstringYesStatus string. On success the example returns "ok".
messagestringYesHuman-readable message. Often empty on success.
dataarrya of objectYes (on success)List of POS transaction detail records

Response data Fields

FieldTypeDescriptionExample
idstringUnique identifier of the POS transaction record.148c1ec0-9556-11f1-...
paxnumberNumber of guests associated with the transaction.1
pos_typestringType of POS transaction.STANDAR
product_idstringProduct id.""
pos_namestringName of the POS outlet or source.Restaurant
category_namestringProduct category name. May be empty when unavailable.""
namestringProduct or transaction item name.- Rounding
parent_namestringParent product or category name when available.null
transaction_datestringDate of the transaction.2026-07-17
invoice_nostringInvoice number of the transaction.1661
created_timestringTime when the transaction was created.03:27:16 PM
created_bystringUser who created the transaction.gusadi
created_atstringDate and time when the record was created.2026-08-11 15:27:16
qtynumberQuantity of the transaction item.1
pricenumberUnit price of the transaction item.235
discountnumberDiscount amount applied to the transaction item.0
taxesnumberTax amount applied to the transaction item.0
servicenumberService charge amount applied to the transaction item.0
account_namestringAccount associated with the transaction.Room Revenue
totalnumberTotal transaction amount.235
revenuenumberRevenue amount generated by the transaction.235
remarkstringTransaction remark or description.Payment In POS
consigment_amountnumberConsignment amount associated with the transaction.0
payment_method_namestringPayment method name when available.null
sales_type_namestringSales type name when available.null
employee_namestringEmployee associated with the transaction when available.null
guest_profile_namestringGuest profile name when available.null
product_remarkstringProduct remark or note.""
tags_liststringTags associated with the transaction when available.null
serving_period_namestringServing period associated with the transaction.Dinner
na_statusnumberNight audit status of the transaction.0
agent_idstringAgent identifier when available.null
tx_product_remarkstringTransaction product remark when available.null
roundingnumberRounding adjustment amount.235
table_nostringTable number associated with the transaction when available.null
countrystringCountry associated with the guest or transaction when available.null
nationalitystringNationality associated with the guest when available.null
agentstringAgent information when available.null

Expected System Responses

The system responds with HTTP 200 OK.

{

"error": false,
"status": "ok",
"message": "",
"data": [
{

"id": "148c1ec0-9556-11f1-ba89",
"pax": 1,
"pos_type": "STANDAR",
"product_id": "",
"pos_name": "Restaurant",
"category_name": "",
"name": " - Rounding",
"parent_name": null,
"transaction_date": "2026-07-17",
"invoice_no": "1661",
"created_time": "03:27:16 PM",
"created_by": "gusadi",
"created_at": "2026-08-11 15:27:16",
"qty": 1,
"price": 235,
"discount": 0,
"taxes": 0,
"service": 0,
"account_name": "Room Revenue",
"total": 235,
"revenue": 235,
"remark": "Payment In POS",
"consignment_amount": 0,
"payment_method_name": null,
"sales_type_name": null,
"employee_name": null,
"guest_profile_name": null,
"product_remark": "",
"tags_list": null,
"serving_period_name": "Dinner",
"na_status": 0,
"agent_id": null,
"tx_product_remark": null,
"rounding": 235,
"table_no": null,
"country": null,
"nationality": null,
"agent": null
}
]
}