Skip to content

Policies

The policies file holds the Policies a Startup declares on how its numbers are computed and its choices made.

policies.mdx holds the Policies a Startup declares: rulings on how its numbers are computed, such as when revenue counts.

  • leaseline/
  • policies.mdxhow the numbers are computed

Reference

MDX, frontmatter only. Each key is one Policy, and its value is the rule.

KeyTypeHolds
revenueonPayment | onDelivery | ratablyWhen a charge counts as revenue
refundsreverse | expenseHow a refund posts against revenue
currencyISO 4217 codeThe currency every report converts to
fiscalYearStartmonthThe first month of the fiscal year

Examples

Minimal

policies.mdx
---
revenue: ratably
---

Leaseline

policies.mdx
---
revenue: ratably
refunds: reverse
currency: USD
fiscalYearStart: January
---

What it builds

The StartupBuilder compiles each key into one Policy on the Startup.

  • a Policy per key
  • every Metric and every finance report computed under it
  • a Change when a Policy moves; reports before the merge keep the Policy they ran under

Good to know

  • A Policy is a ruling. A choice, such as a trial length, is a Setting, in the settings file.
  • A Policy change never rewrites a closed Period.