Repository navigation
v0.2.0
F&B Margin Kit 0.2.0 adds period-level variable costs for sales channels.
Use --channel-costs with a CSV containing category,additional_variable_cost to include delivery subsidies, merchant-funded promotions or other charges that are recorded as a period total. Each category's amount is deducted once. Menu unit margins and rankings retain their existing calculation basis.
The supplied costs must cover the same period and currency as the sales data and exclude VAT. The tool rejects duplicate, unmatched, malformed, negative and nonfinite cost inputs and protects both input CSVs from report-file aliases.
The included synthetic example applies an additional delivery cost of 60,000: delivery contribution becomes 47,000, total contribution becomes 417,000, and contribution after a supplied fixed cost of 300,000 becomes 117,000. Omitting the new option preserves the previous report format.
The release includes the installable Python wheel and its SHA-256 checksum file. See the repository's channel-cost example for the input and calculation details.