Revenue Definitions
Agree on finance-owned revenue rules once, then reuse them across every sales report.
At a glance
Revenue Definitions is an AI skill for finance & operations teams that you can use in Claude Code, Codex, or type.com.
- Updated
What it does
- Define gross-to-net sales, refunds, exclusions, dates and currency.
- Keep one approved definition for every business or client.
- Check policy compatibility before changing an existing reporting workflow.
Before you start
- A Finance owner who can approve business rules.
- Existing revenue policies and source reports, or representative exports.
See an example
Example output from a sample run. Company names and figures are sample data.
Revenue definitions: Northwind Goods
Status: 4 rules proposed, 2 open decisions. Reporting stays blocked until Finance approves the open items.
| Rule | Proposed basis | Owner · status |
|---|---|---|
| Metric | Net product sales | Finance · proposed |
| Bridge | Gross product sales − discounts − product refunds | Finance · proposed |
| Tax and shipping | Excluded | Finance · proposed |
| Refund date | Date the refund was issued | Finance · proposed |
| Timezone and currency | America/New_York, USD | Finance · open |
| Wholesale | Recognize at invoice; sell-through reported separately | Finance · open |
Worked example: gross 100 − discount 10 − refund 20 = 70 net product sales. If a source already reports 90 (discount applied), subtract only the 20 refund.
Handoff: finance/revenue_definitions.json, the definition table, a proposed effective date of 1 Oct, and notes on how existing reports change.
How to use Revenue Definitions
- type.com: Choose Use Skill to add Revenue Definitions to your type.com workspace.
- Claude Code: Download the skill and extract it into
~/.claude/skills/revenue-definitions/(or.claude/skills/revenue-definitions/in a project). Then ask Claude to use Revenue Definitions. - Codex: Download the skill and extract it into
~/.agents/skills/revenue-definitions/(or.agents/skills/revenue-definitions/in a repository). Then ask Codex to use Revenue Definitions.
AI agents can read this page as Markdown or fetch the raw SKILL.md.
Frequently asked questions
What is Revenue Definitions?
Revenue Definitions is an AI skill for finance & operations teams that you can use in Claude Code, Codex, or type.com.
What does Revenue Definitions do?
Agree on finance-owned revenue rules once, then reuse them across every sales report.
What do I need to use Revenue Definitions?
A Finance owner who can approve business rules; Existing revenue policies and source reports, or representative exports.
Can I use Revenue Definitions in Claude Code or Codex?
Yes. Revenue Definitions is a standard Agent Skills folder with a SKILL.md file. Download it and extract it into ~/.claude/skills/ for Claude Code or ~/.agents/skills/ for Codex.
Who created Revenue Definitions?
The type.com team created Revenue Definitions. The type.com team reviews every skill before it is published in the Skills Library.
Related skills
- Budget PacerProject month-end spend from a trailing run rate across campaigns and clients, flag over- and under-delivery beyond a tolerance, and recommend per-campaign daily budgets that reconcile exactly to each client's committed total.
- BFCM Cohort QualityFind out if last Black Friday's new customers were worth it: contribution, repeats and payback vs October and January buyers, by discount, source and product.
- Holiday Support MacrosPrepare your support team for BFCM: forecast holiday tickets and staffing, find policy gaps and stale macros, and generate holiday macros built only from your written policies.
- Holiday Shipping Cutoff CheckerFind the last day customers can order on each shipping service and still get it by the holiday, check every delivery promise against it, and plan the switch to expedited and e-gift cards.
- BFCM Live PulseTurn hourly sales and ad spend into a BFCM status update with sales pacing, budget guardrails, checkout alerts, code-use anomalies and stock risk.
- BFCM Offer & Discount Config QACheck your Shopify BFCM discounts against the offer plan before launch: stacking, sale windows, who gets each discount, code limits and free shipping, with test carts and a dated fix list.
Related guide
Browse the technical files
--- name: revenue-definitions description: Define or review a business's finance-owned revenue rules before reporting sales. Use when gross and net sales disagree, when setting up revenue reporting, or when changing discounts, refunds, tax, shipping, exclusions, sale dates, timezone, currency, or channel ownership. --- # Revenue Definitions Produce a versioned revenue definition that Finance can approve and every report can reuse. This skill defines policy; Revenue Reporting applies it and Revenue Reconciliation validates the result. ## Start with the business's existing rules Read existing Finance policies, metric definitions, relevant source reports and any `finance/revenue_definitions.json`. Preserve approved rules. Resolve conflicts with the named Finance owner; never choose the most convenient source's definition. Ask for missing business decisions in small groups. Discover available reports and fields yourself. Do not require Shopify, Amazon or wholesale if the business does not use them. Support connected sources or supplied exports. Confirm the entity, channels, markets and intended metric: operational net sales, recognized accounting revenue, cash collected or bookings. Keep these separate. For subscriptions, deferred revenue or complex recognition, use the Finance-approved accounting policy; order totals and MRR are not substitutes. ## Define the contract Record each rule, its owner, supporting source and approval status: - **Gross product sales:** quantity × pre-discount item price for eligible sales, with an explicit treatment of tax-inclusive prices, returns, edits and cancelled items. - **Discounts:** line and order discounts, allocation to lines and treatment of promotional credits. Prevent double subtraction when a source field is already net. - **Refunds and returns:** separate actual refunds, credit notes, physical returns and modeled return reserves. Define product, tax and shipping refund components; partial refunds; exchanges; chargebacks; and adjustments for orders already excluded. - **Tax and shipping:** state inclusion separately. Distinguish shipping charged to buyers from shipping expense. If the metric includes sales tax, name that basis explicitly. - **Gift cards and credits:** distinguish issuance from redemption so both are not treated as new revenue. Document store-credit treatment. - **Exclusions:** exact status/tag/filter rules for test, internal, cancelled, voided, unpaid, replacement, free and other excluded orders. Do not assume every pending order should be excluded. - **Time:** IANA timezone, fiscal/calendar period, sale event per channel, refund event date versus original-sale restatement, late-arrival lookback and closed-period correction policy. Preserve original timestamps. Use half-open reporting intervals: start inclusive, end exclusive. - **Currency:** reporting currency, original currencies, approved FX provider/file, rate date, quote direction, precision, rounding and unavailable-rate policy. - **Channels:** source of truth, account/store/market, report and export, record grain, event identity, authoritative copy and cross-system mapping. Fulfillment method alone does not determine sales channel. - **Wholesale:** approved recognition event, credit-note treatment and evidence. Retailer sell-through is a separate metric; never add it to the supplier's wholesale revenue. Do not equate purchase orders, invoices and cash receipts without policy support. - **Controls:** freshness/completeness expectations, independent control reports, tolerances and exact threshold logic, reviewers and exception handling. Show the proposed bridge: gross product sales − discounts − product refunds + included net shipping + included net tax + separately named approved adjustments = the named sales metric. Define the signs and component composition so discounts or refund components are deducted exactly once. ## Save one authoritative definition Use `finance/revenue_definitions.json` where the business already uses the Type library convention. Preserve the existing keys: `version`, `owner`, `reporting_timezone`, `reporting_currency`, `fx`, `net_sales`, `refunds`, `sale_date_basis`, `excluded_orders`, `channels`, `cross_channel_duplicates`, `marketing` and `checks`. For a new business, build this file from the decisions above. Explain fields in an accompanying approval record, including effective date, metric name, approval evidence, policy decisions and consumer compatibility. Keep unapproved choices visibly unresolved; a plausible value is not approval. Do not copy another business's thresholds, account IDs, currencies or attribution windows. When an existing consumer cannot express an approved policy, flag the unsupported rule and required adapter change. Do not silently narrow the business policy to fit a script. In particular, the current Daily Revenue Check supports only its documented channel and date bases. Finance approves revenue rules; Marketing and Finance jointly approve the marketing definitions. Record approval only from actual evidence. ## Validate before handoff Walk through synthetic examples with Finance: 1. Gross product sales 100, discount 10, product refund 20, tax/shipping excluded → net product sales 70. A source already reporting 90 after discount must not lose another 10. 2. A refund issued next month changes next month's sales on refund-date basis, or identifies the prior-period restatement on original-sale basis. 3. A Shopify sale fulfilled using Amazon MCF is still a Shopify sale unless evidence identifies a separate mirrored sales record. 4. A wholesale invoice and a retailer's sell-through report never produce two sales for the supplier. Use the approved currency and policies when adapting these examples. ## Deliver Return the proposed/approved contract, a plain-language definition table, worked examples, unresolved decisions with owners, and an impact summary for any changed rule. Include version, effective date and approval status. Do not call reports using a draft policy Finance-approved.