Skip to content

CookiesWe use the cookies the site needs to work. Analytics and marketing only turn on with your permission. Privacy policy

My choices
What stays on

Your choice lasts 12 months. To change it, open “Cookies” in the footer.

IntData
IntData · https://intdata.com.br/en/metrics/average-ticket · November 30, 2026

Average ticket

What is the average ticket per channel — store, invoice and website — and how does it move month by month?

Verified Metric version 1.2.0

What it is

Net sales (before taxes, minus returns, without counting twice a point-of-sale order that got an invoice) divided by the number of sales, per channel: point of sale (the counter sale, with or without an invoice), e-commerce (the invoice of an order placed on the website) and invoices (the other customer invoices). The headline number is the overall ticket; the comparison is with the previous period of the same length.

What it is not

  • It is not the average of the channels' tickets: a channel with few expensive sales would pull it.
  • It does not count a return as a sale: it takes value away, it does not change the number of sales.
  • It is not the average confirmed order: an order without an invoice is not a sale.

Pitfalls this metric handles

The traps a hasty calculation falls into — and how this metric avoids each one.

Point-of-sale order with an invoice

The mistake
Counting a point-of-sale sale that got an invoice under the invoice channel, or under both.
Why it happens
The invoice is issued for a counter sale: counting it as an invoice inflates the invoice ticket with small sales and empties the point of sale's.
How we handle it
One sale only, through the invoice, under point of sale (the invoice origin is the till order).

Average of averages

The mistake
Taking the overall ticket as the average of the channel tickets.
Why it happens
A channel with 3 sales weighs the same as one with 300.
How we handle it
The overall ticket is total net sales ÷ total number of sales.

Return as a sale

The mistake
Counting the refund invoice in the number of sales.
Why it happens
Each return would lower the ticket twice: in value and in count.
How we handle it
The return takes value from the returned sale's channel and is not counted.

Time zone

The mistake
Cutting the till's month by the UTC date.
Why it happens
date_order is UTC: a sale on the last evening of the month falls into the next one.
How we handle it
Convert to Brasília time (UTC−3) before cutting.

Where the number comes from

Audit trail

Odoo model
account.move + pos.order + sale.order
Fields
account.move.invoice_origin, account.move.amount_untaxed_signed, pos.order.name, pos.order.amount_total, pos.order.amount_tax, sale.order.website_id
Why this path
The net sales sources, so the ticket matches them. The channel comes from the invoice origin: the till order or the sales order, and the order's website.

How you can adjust it

ParameterWhat it doesOptions
Companies company ids, always explicit —
Period {from, to} in local dates or relative; without a period, the last 90 days —
Filters narrow down by channels or customers channels and customers
Group by the table row: channel, or channel by month channel and month
Sort by order of the channels average ticket, amount, and channel

Validation

To be validated on a real database. The method comes from a script that already ran in a customer's operation, and the calculation passes the automated tests against the demo database. IntData has not yet checked it on a real database; until then, check the first result in Odoo using the path in the audit trail.

Date
October 25, 2026
Checked against
The demo database: the channels add up to net sales for the same period, and the test Odoo servers. To be validated on a real database.
Expected Odoo versions
17.0, 19.0, 20.0
Note
Without point of sale, there is no point-of-sale channel; without the website module (website_sale), there is no e-commerce channel. Does not use read_group.

Need a variation of this metric, or another one that does not exist yet?