Ticketline Sales

The Ticketline Sales dataset provides a comprehensive view of ticketline level sales data for all stores within a given organization. It includes information such as store details, ticket details, customer details, product details, and sales details.

Primary Key: org_id, store_id, ticket_id, ticketline_id

ColumnDescription
store_idThe unique identifier for each store
org_idThe unique identifier for each retail organization
org_nameThe name of the organization
store_nameThe name of the store where the sale was made
selltreez_urlThe URL of the SellTreez Point of Sale
store_stateThe US state where the store is located
store_timezoneThe timezone in which the store operates
datalake_store_idThe store identifier used in a legacy Treez data system
date_openThe timestamp indicating when a ticket was opened
date_closeThe timestamp indicating when a transaction was closed
store_tz_offsetThe timezone offset of the store for the given ticket date
ticket_numberThe alphanumeric identifier of a Ticket or Sale
ticket_idThe unique identifier of a Ticket or Sale
sale_typeDenotes whether the ticket was sale or a return
order_channelThe channel through which the order was made
revenue_sourceThe source of an eCommerce order
ticket_notesAny additional notes or comments associated with the ticket
cash_drawer_idThe unique identifier for the cash drawer associated with the ticket payment
cash_drawer_nameThe name associated with the cash drawer
ticket_cashier_user_idThe unique identifier of the cashier
ticket_cashier_employee_numberThe employee number of the cashier
ticket_cashier_shift_idThe unique identifier of the cashier’s shift
ticket_cashier_nameThe name of the cashier
ticketline_created_user_idThe unique identifier of the user who created the ticket line
ticketline_created_employee_numberThe employee number of the user who created the ticket line
ticketline_created_userThe name of the user who created the ticket line
customer_idThe numeric customer ID of the customer associated with the ticket
customer_typeDenotes whether the customer profile associated with the ticket is a medical or recreational customer
customer_first_nameThe first name of the customer
customer_last_nameThe last name of the customer
customer_date_of_birthThe date of birth of the customer
customer_age_yearsThe age of the customer in years at the time of the transaction
customer_genderThe gender of the customer
customer_sourceThe customer source field from the customer profile
customer_phoneThe phone number of the customer
customer_emailThe email address of the customer
customer_street_addressThe street address of the customer
customer_address_cityThe city of the customer’s address
customer_address_stateThe state of the customer’s address
customer_address_zipThe ZIP code of the customer’s address
customer_address_longitudeThe geographical longitude of the customer’s address
customer_address_latitudeThe geographical latitude of the customer’s address
customer_groupsThe groups that the customer belongs to on the customer profile
customer_opted_inIndicates whether the customer has opted in for marketing communications
customer_medical_idThe medical customer’s state medical ID number
ticketline_idThe unique identifier for the ticket line
product_idThe unique identifier for the product sold on the ticket line
product_typeThe type of the product
product_subtypeThe Sub Type or Sub Category of the product
product_is_cannabisIndicates whether the product is a cannabis product
product_brandThe brand name of the product
product_nameThe name of the product
product_menu_titleThe menu title of the product
product_sizeThe product size
product_unit_total_flower_weight_gramsThe total flower grams of the product
product_amountThe amount field of the product
product_unitofmeasureThe unit of measure field of the product
product_size_formattedA calculated field that combines Product Amount and Unit of Measure fields
product_classificationThe classification field of the product
product_unit_cbd_mgThe amount of CBD in the product
product_unit_thc_mgThe amount of THC in the product
product_dosesThe doses field of the product
product_thc_mg_per_doseThe amount of THC per dose of the product
product_barcode_skusThe SKU numbers associated with the product barcodes
product_extraction_methodThe extraction method of the product
product_external_idsThe External ID(s) associated with the product
product_unit_priceThe unit price of the product
product_sale_priceThe unit sale price of the product
units_soldThe quantity of units sold or returned
gross_salesThe total sales generated from the sale of the product
discountsThe total amount of discounts applied
returnsThe total amount of the refund for refunded ticket line items
net_salesThe net sales amount
taxesThe total amount of taxes applied
gross_receiptsThe gross receipts value of the ticket line
cost_with_exciseThe cost of goods sold on the ticket line, where the cost value includes excise tax paid to the distributor
cost_without_exciseThe cost of goods sold on the ticket line, where the cost value does not include any excise tax paid to the distributor
gross_income_without_exciseThe gross income without considering any excise tax
gross_income_with_exciseThe gross income considering excise tax
returned_ticket_idThe unique identifier of the return ticket
inventory_location_idThe unique identifier for the inventory location
inventory_location_nameThe name of the inventory location
batch_inventory_typeThe inventory type of the batch
batch_inventory_idThe unique identifier for the batch
package_manifest_numberThe shipment manifest number
package_labelThe package label of the package
batch_idThe human-readable batch identifier
batch_harvest_dateThe harvest date of the batch
batch_expiration_dateThe expiration date of the batch
batch_inventory_received_dateThe date when the batch was received
batch_packaged_dateThe date when the batch was packaged
batch_inventory_barcodesThe barcodes associated with the batch
batch_cost_per_unitThe cost per unit paid to the distributor
batch_true_cost_per_unitThe true cost per unit paid to the distributor
batch_excise_tax_per_unitThe excise tax portion of the cost on the invoice line
invoice_numberThe numeric identifier assigned to the invoice
invoice_idThe unique identifier for the invoice
invoice_line_idThe unique identifier for each line item in an invoice
distributor_idThe unique identifier for the distributor
distributor_nameThe name of the distributor
distributor_is_arms_lengthIndicates whether the distributor is at arm’s length
dispensary_licenseThe dispensary state license
last_syncA timestamp field that records the last time the data was synchronized
ticketline_created_atThe timestamp when the ticket line was created
ticketline_updated_atThe timestamp when the ticket line was last updated
customer_updated_atThe timestamp when the customer’s information was last updated
product_updated_atThe timestamp when the product information was last updated
record_loaded_atThe timestamp when the record in the database was last updated