> ## Documentation Index
> Fetch the complete documentation index at: https://sims-bae272dd.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Lottery reporting

> Where lottery money shows up in the rest of the system.

Lottery earnings do not behave like merchandise sales, so they are kept in their
own ledger and surfaced deliberately.

## Commission, not ticket sales

Only your **commission** — the sales percentage plus the cashing bonus — is
counted as revenue. Ticket sales themselves are the state's money passing
through your till.

On the [Dashboard](https://sims-bae272dd.mintlify.site/reports/dashboard.md), 30-Day Revenue shows the commission
earned and notes the ticket sales it came from, so both numbers are visible and
neither is mistaken for the other.

## No double counting

Daily terminal reports and the weekly settlement invoice describe the same
trading. When a settlement invoice covers a period, it **supersedes** the daily
reports inside it, so the commission is counted once.

That is why the split matters between
[Terminal Reconciliation](https://sims-bae272dd.mintlify.site/lottery/terminal-reconciliation.md) (daily figures) and
[State Invoices](https://sims-bae272dd.mintlify.site/lottery/state-invoices.md) (settlements). Putting a settlement
invoice in as a terminal report would count the week twice.

## Commission rates

Rates are configured per store and state — a sales commission, a cash commission
and your state retailer number. States that are not preconfigured fall back to a
general rate rather than refusing the import, so an unusual state still works and
the rate can be corrected afterwards.

> [!NOTE]
>
> If your commission looks wrong, check the configured rate for your state
> first. PRODUCT\_NAME also computes the rate your invoices actually imply and
> flags it when the two disagree.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.