Blog/pricing-engine-margin-rules
Engineering10 min

Designing a pricing engine that respects margin rules

Regional taxes, volume discounts, conditional add-ons, and approval workflows without a spreadsheet in sight.

Pricing in modular manufacturing is not a formula; it is a stack of policies — regional tax, freight, volume discounts, approval thresholds, and conditional add-ons — that need to compose predictably.

We modelled it as an ordered rule set with explicit precedence and a dry-run mode so ops teams can preview any change against last quarter's deals before rolling it out.

The payoff: pricing errors dropped 96% on the pilot cohort, and the finance team stopped maintaining the shadow spreadsheet.