The Graphite Lab
Sign inBrowse the Catalog

Tools

Pricing Rules Engine

Applies a rule set to a priced input and returns the final price with a trail of what each rule did.

Module
Tools
where it lives

What it does

Applies a rule set to a priced input and returns the final price with a trail of what each rule did

Accepts an item identifier, a base price, and a structured rule set covering rounding, minimum-billable thresholds, markup, and eligibility filters. Runs the rules in declared order and returns the final price along with an audit trail showing which rules fired, what they changed, and what they left alone. Works on any item type the caller is pricing: parts, labor, services, materials. Rules that don't apply pass through without affecting the output.

When you’d reach for it

  • Applying a markup rule and a five-dollar minimum to a base material cost when generating a line item on a customer-facing estimate.
  • Running a contractor's labor rate through tiered rounding before it lands on an invoice that needs round-number totals.
  • Passing a chemical's catalog price through a markup ladder and a minimum-billable rule so the line item on a service ticket reflects the final billable number.