Transactions Standard Export Template

The Transactions template is based on the Bill Lineitems fact.

This template lets you export transactions related details such as:

  • Bill and line-item level transactions
  • Member and non-member transactions
  • Store level transactions
  • Audience list (irrespective of selected date-range)
  • Transaction level points
  • Transactions of user segments
  • Transaction level custom fields, and extended fields
  • Line item level custom fields and extended fields
  • User level extended fields

Measures

Measure

Description

Initial Bill Value

Represents the original bill amount before any discounts are applied.

Bill Number

A unique number for a transaction that is either auto-generated at the POS machine or provided manually. The uniqueness of the bill number depends on the configurations.
Note:

  • Exports based on the bill_lineitems table show one row for every individual item in a bill. So, if a bill has several items, the bill_number will repeat across multiple rows—one for each item.
    If you want each bill_number to appear only once (one row per bill), use the bill_summary table instead, or set up your export to combine the item details into a single row.
  • When exporting transactions with this template, the system joins the bill_lineitems table with the users and user_custom_fields tables. Only transactions with a Bill Number linked to a user are included. Any transaction without a linked user is excluded from the export.

Visit Count

Total number of visits made by a customer. It is based on the number of transactions recorded for the customer.

Bill Amount

Net amount of the transaction made by the customer after discounts, taxes, etc. Represents the final amount the customer is required to pay.

Visit Day Count

nth visit of the customer, based on ranking by dates. Even if the customer visits multiple times on the same day, it counts as one day in the visit count.

Bill Discount

Total discount applied on the bill.

Redeemed Points

Number of points redeemed for a specific transaction.

Days Since Last Visit

The number of days since the customer's last transaction.

Tax Amount

Total tax levied at the bill level.

Central Gst

GST tax levied by the Central Government.

Integrated Gst

GST levied by the Central Government for inter-state trade.

State Gst

Taxes levied by the State Government on the bill.

Auto Update Time Bill

Date and time when the record in the bill table was last updated, in Unix timestamp format.

Auto Update Time Shipping

Date and time when the record in the shipping table was last updated, in Unix timestamp format.

Auto Update Time Combo Details

Date and time when the record in the combo_details table was last updated, in Unix timestamp format.

Auto Update Time Bill Extended Fields

Date and time when the record in the bill extended fields table was last updated, in Unix timestamp format.

Total Quantity

Total number of line items in the bill.

Reason

Captures the reason for the transaction.

Notes

Field for capturing important notes related to a line item, such as a custom description or specific details while recording line-item level data.

Converted Bill Id

The new bill id after conversion from non-loyal customer to loyal customer.

Allocated Points

Number of loyalty points allocated to a customer for a specific transaction, either at the bill, line item, or customer level.

Bill Id

A unique id generated for the bill internally by the system, helping differentiate one customer's bill from another.

Rate

Total cost of a line item, obtained by multiplying the item price by the quantity purchased.

Line Item Amount

Total amount for the line item after discounts and taxes.

Quantity

Number of units/line items bought.

Initial Line Item Value

The original value of a line item before discounts or taxes.

Item Code

Unique code assigned to a line item within the transaction.

Line Item Discount

Discount applied to the specific line item.

Parent Line Item Id

Identifier for the parent line item in combo or add-on transactions.

Additional Discount

Extra discount applied, such as for combo or bulk items, based on user input.

Total Unit Cost

Total price of the item, including taxes and other charges.

Auto Update Time Lineitem

Date and time when the line item table (e.g., product name, quantity, price) was last updated, in Unix timestamp format.

Auto Update Time Lineitem Extended Fields

Date and time when the line item extended fields table was last updated, in Unix timestamp format.

Lineitem Uuid

Universal Unique Identifier (UUID) for the line item.

Lineitem Serial Number

Unique serial number for the line item.

Lineitem Vat Tax Percentage

Percentage of VAT levied by the Central Government on the line item.

Lineitem Vat Amount

Amount of VAT levied by the Central Government on the line item.

Lineitem Service Tax Amount

Amount of service tax applicable to the line item.

Lineitem Service Tax Percentage

Percentage of service tax levied on the line item.

Lineitem Central Gst

GST levied by the Central Government on the line item.

Lineitem State Gst

State GST applicable to the line item.

Lineitem Integrated Gst

Integrated GST levied by the Central Government on the line item.

Lineitem Size

Size of the line item.

Description

Description of the line items.

Items In Product Set

Count of items within a product set.

Item Discount Description

Description of the reason for applying the discount to the item.

Item Points Discount

Discount applied to the line item using loyalty points.

Item Coupon Discount

Discount applied to the line item using coupons.

Item Unit Margin

Profit margin associated with the item.

Line Item Id

Unique id generated by the system for the specific line item.

Dimensions

Dimension NameDescription
MembershipSpecifies the membership type and Id of the customer who completed the transaction.
UserUser details such as user id, source, slab name, external id, fraud status, mobile, email, etc.
User SegmentsSegment details of the customers such as valued customer, lapsed customer.
User AttributesUser attributes such as total visits, recent view.
TimeTime attributes.
Store HierarchyIdentifier assigned to the point-of-sale (POS) terminal within a store.
Concept HierarchyIdentifier for the concept.
Ou HierarchyIdentifier for the organization unit.
Line Item OutlierOutlier status of the bill at the line item level.
ProductProduct related attributes such as item code, category, item id, color, style, etc.
Product AttributesAdditional product attributes such as description, item sku and item Id.
Bill OutlierOutlier status of the bill.
DateDate attributes.
RepeatShows if the customer has made previous purchases or if it's their first transaction.
LoyaltyIndicates the loyalty type of the customer. Possible values are - loyalty, non loyalty, not registered (who have not provided their contact details).
SourceIndicates the source of the bill. Possible values are instore, e-comm, newsletter, campaigns, NCA, Wechat, Facebook, etc.
Line Item TypeType of the line item; such as an add on item, combo item, combo parent, and split.
Parent ItemProduct related attributes of the parent item, such as item code, category, item id, color, style, etc.
Order ChannelIt indicates the specific channel through which the transaction was completed. They include - online, in-store, through a mobile app, etc.
Special Lineitem TypeIdentifier for the special line item type. Possible values are - free item, and processing fee information.
NpsNet Promoter Score (NPS) for the transaction, where NPS is a measure for customer satisfaction, ranging from 1 to 10.
Cashier IdIdentifier of the cashier who processed the transaction.
Lineitem Cashier Discount ReasonIdentifier of the reason behind the discount applied to the lineitem.
Lineitem CashierIdentifier of the cashier who processed the transaction.
Lineitem External Coupon CodeCoupon code id if any external coupon has been applied on the lineitems.
Lineitem Return ReasonIdentifier of the reason for returning the lineitem.
Conversion Request DateDate when the request was raised to convert a bill from non-loyalty customer to loyalty customer status.
Conversion Request TimeTime when the request was raised to convert a bill from non-loyalty customer to loyalty customer status.
Bill Conversion DateDate of the bill conversion when the customer has been converted from non loyalty customer to loyalty customer.
Bill Conversion TimeTime of the bill conversion when the customer has been converted from non loyalty customer to loyalty customer.
Latest Updated DateLatest date when the data is updated.
Latest Updated TimeLatest date when the data is updated.
Cashier Discount ReasonIdentifier of the reason behind the discount applied to the bill.
Buyer TypeIdentifier for the type of buyer. Possible values are retail, and wholesale.
Membership Card PresentIndicates whether a membership card is present for the customer or not.
Item Tax CodeIndicates a specific tax category. Includes GST at the central and state levels, interstate GST, and taxes levied to the total bill.
Item Promotion CodeGives the line item promotion code information
Item Discount TypeIdentifier of the type of discount given to the customer.
Cashier NameName of the cashier who processed the transaction.
Card UsedIdentifier for the card used in the transaction.