Reporting definitions
Skill template · Reporting ·View source
One agreed definition of revenue, orders, AOV, customers and the other numbers you report on, so every digest, report and answer uses the same maths.
How it works
- Reads
- Your order and customer schema and the status values in use
- Interview
- What counts as revenue, which orders to exclude, your week and time zone
- Result
- A skill the agent loads whenever it reports on sales or customers
What it needs
From your data. The agent finds the matching fields in your schema and confirms them with you.
- Orders with total, status, placed date and currency (optional)
- Customers, to define new and returning customers (optional)
Example output
Reporting definitions: Northline Goods
Time
- Time zone: Europe/London. Week: Monday to Sunday. Order date:
placedAt. - Days compare with the previous 7-day average; weeks with the same week last year.
Orders
An order counts when financialStatus is paid or partially_refunded and test is false. Wholesale orders (tag wholesale) are reported separately.
Revenue
Net revenue = subtotalPrice − totalRefunded, excluding tax and shipping, in GBP. Refunds count on the order’s day.
AOV
Net revenue ÷ counted orders. Not shown for a day with fewer than 5 orders.
Customers
New: first counted order in the period. Returning: a counted order before the period.
Known data quirks
Orders before 1 March 2025 were imported without discounts, so revenue before then is gross.
Check with these definitions: yesterday, 24 November — 61 orders, £4,690 net revenue, AOV £76.89.
Show the skill outline
Reporting definitions: [[store name]]
Use these definitions for every number you report about sales, orders and customers: digests, reports, charts and answers to questions. When a request needs a metric that is not defined here, say which definition you used.
Time
- Time zone: [[e.g. Europe/London; days run 00:00–23:59 in this zone]]
- Week: [[e.g. Monday to Sunday]]
- Order date: [[the field that dates an order, e.g.
placedAt, notupdatedAt]] - Comparisons: [[the default comparison, e.g. “vs the previous 7-day average” for days, “vs the same week last year” for weeks]]
Orders
An order counts when: [[the inclusion rule, using real status values]]
Example:
financialStatusispaidorpartially_refunded, andtestis false. Excluded:cancelled,voided,refunded, draft orders, orders taggedwholesale(reported separately).
Revenue
[[Which amount counts as revenue and what it includes.]]
Example: Net revenue = order subtotal after discounts, minus refunds, excluding tax and shipping. Field:
subtotalPriceminustotalRefunded. Refunds count on the day of the order, not the day of the refund.
- Currency: [[e.g. report in GBP; orders in other currencies use
presentmentTotalconverted at the order’s stored rate. Never add different currencies.]]
Average order value (AOV)
[[e.g. net revenue ÷ counted orders, for the same period. Not reported for a day with fewer than 5 orders.]]
Customers
- New customer: [[e.g. a customer whose first counted order is in the period]]
- Returning customer: [[e.g. a customer with a counted order before the period]]
- Repeat rate: [[e.g. share of customers with 2+ counted orders in the last 365 days]]
Products
- Top products: [[e.g. ranked by net revenue, grouped by product (all variants together); show units too]]
- Units sold: [[e.g. line item quantity on counted orders, minus refunded quantity]]
Formatting
[[How numbers are shown, e.g. “£4,210” with no decimals over £1,000; percentages rounded to whole numbers with a sign: “+18%”.]]
Known data quirks
[[Anything that makes a number misleading: a migration date before which data is incomplete, a channel that is not synced, bulk imports.]]
Example: orders before 1 March 2025 were imported without discounts, so revenue before then is gross. Marketplace orders (Amazon) are not in the project.