Business agents
Profitability and Cost Agent
Know what every product and every customer leaves you.
At a time when costs are rising on every line, from labour to raw materials, it tracks profitability by product, customer, project and budget line, together with the reasons.
Where did the margin go?
- Spots decline: Notices the product or customer whose margin has fallen
- Unpacks cost: Opens the product’s cost down to its components
- Finds erosion: Finds the line where the margin was lost
- Shows evidence: Presents the finding with the record behind it
The current picture
Costs are racing; prices can’t keep up.
Demand is weak, and price rises do not reach every product at the same pace. Lost profit is usually noticed only after the period closes, between the lines of a report.
Operating profitability at large industrial companies stayed well below its ten-year average.
Istanbul Chamber of Industry, Top 500 and Second 500 Industrial Enterprises · June–July 2026
The agent’s answerPeriod profitability tableIn machinery, apparel and furniture, production costs in dollar terms rose by more than half in four years.
Turkish Exporters Assembly (TİM) and PwC Türkiye, export competitiveness report · October 2026
The agent’s answerWhy the margin fellWith cost pressure persisting, weak demand is keeping increases in goods prices low.
CBRT Inflation Report 2026-IV · November 2026
The agent’s answerWeekly estimated marginEmployers’ hourly labour costs rose by more than a third in a year, and non-wage costs even faster.
TurkStat Labour Input Indices, third quarter · November 2026
The agent’s answerBudget and appropriation variance
Product film
Meet the Profitability and Cost Agent.
Watch, in a short film, how a fall in a product’s margin is broken down into its causes.
The film is narrated in Turkish.
What the agent does
Six answers to “Why did the margin fall?”, “Are we making money on this customer?” and “Where did we overrun the budget?”
Behind it, ERP and document agents read the invoices, the trial balance and the bills of materials; the purchasing agent reports the exchange-rate and price split in purchase prices, the production agent reports scrap and the project agent reports project costs. You get a profitability table with the causes already separated.
Period profitability table
Once the period-end close check is complete, it reports revenue, cost of goods sold, gross profit and gross margin by product group, customer, project and unit. It allocates operating expenses with your company’s allocation keys and compares the period with the previous one and with the same period last year. The company total ties exactly to the trial balance; if open items remained at close, the table carries that note. It does not calculate a margin for a product without a unit cost and flags it separately.
What you gainA product, job or unit that looks big in revenue but makes no money does not disappear inside the total.
Why the margin fell
When a margin falls or a cost jumps, it splits the difference into its effects: selling price, input prices, exchange rate, volume, product mix, scrap. It runs the same calculation for product groups, customers and projects; it does not guess at any part that rests on no record, and shows it separately as “unexplained”.
What you gainRaise the price, cut the scrap or reopen talks with the customer: you decide knowing the cause.
Weekly estimated margin
At the start of every week it checks last week’s sales invoices against current unit costs; after discounts and returns it works out the estimated gross margin by product group and customer and sets it beside the average of previous weeks. It lists invoice lines issued below cost separately. A decline beyond the threshold goes to the Early Warning and Risk Agent with its cause.
What you gainYou see margin erosion before the period closes, and an invoice issued below cost soon after it goes out.
Current unit cost
When a purchase price, the exchange rate or a bill of materials changes, it recalculates the product’s current unit cost: direct materials, direct labour, manufacturing overhead. It passes to sales the difference from the cost in the ERP and the margin that would remain if the product kept selling at the old price. When weighted average cost and replacement cost drift apart, it shows both side by side.
What you gainWhen a cost changes, sales knows before the price list does, and sees the cost of selling at the old price in advance.
Customer and channel profitability
Every quarter, it deducts discounts, returns, freight and the cost of payment terms from the gross margin of each customer and sales channel to show the contribution margin left for you. It flags customers with a negative contribution and the reason: heavy discounts, frequent returns, long payment terms or costly delivery.
What you gainYou know which customer is profitable on which terms before you sit down to negotiate.
Budget and appropriation variance
After each month-end close, it compares actuals and commitments on every budget line with the budget and projects each line to year end. It separates the cause of a variance: price increase, unplanned spending or timing difference. In public institutions it runs the same calculation by appropriation line, flagging in advance the line that will run out before the year ends.
What you gainYou learn of a budget overrun while there is still time to discuss it with the person responsible for the line.
Use by industry
Every industry has its own profitability headaches.
The same agent brings different work to the fore depending on the business model. The messages below show what it might tell the general manager and the finance director in common situations.
Fast-moving consumer goods
Biggest customer, thinnest contribution.
Makers of packaged food and cleaning products usually grow their revenue through supermarket chains. Once off-invoice discounts, volume rebates, promotion fees, returns and store delivery are deducted, what a customer actually leaves you can be very different from its place in the revenue ranking.
AgentThis quarter’s customer profitability is ready. Your top chain customer by revenue has turned to a negative contribution margin once discounts, volume rebates, returns and delivery costs are deducted; the largest share is promotional discounts. The table by customer and the causes are attached; I suggest you review them with your sales manager before the next promotion period is discussed.
Furniture
Old price list, new cost.
A sofa’s cost is made up of frame, foam, fabric, fittings, labour and freight; the dealer price list is published at the start of the season. When fabric or foam prices or the exchange rate change in between, the cost record in the ERP goes stale and sales carry on from the old list.
AgentWith your fabric supplier’s new price, the current estimated unit cost of your corner sofa model is now well above the cost in the ERP; two invoice lines issued for this model this week came in below cost. The components and the basis are attached. The current cost and the margin left at the old price have gone to sales; the pricing decision is with your sales manager.
Textiles and fabrics
Bigger orders, thinner margin.
A fabric mill makes high-margin patterned and technical fabrics and low-margin plain fabrics on the same machines. A large order from a major brand grows revenue; as sales shift towards the low-margin product, the overall margin shrinks while prices and costs stay where they were. Last year, the sales profitability of large textile producers turned negative.
AgentRevenue rose this quarter and gross margin fell. Most of the fall comes from product mix: the major brand’s plain-fabric order shifted the weight of sales to the low-margin product group; your unit prices and unit costs are close to last quarter’s. The table by product group and the calculation are attached; I suggest you take this into account when next season’s order plan is discussed.
Engineering and software services
Fixed fee, costlier team.
There is no bill of materials; most of the cost is the team itself. The contract fee is fixed at the start of the year, while staff costs rise during it. Which project and which customer actually make money is often discussed only once the year has closed.
AgentThis period’s project profitability is ready. On two of your fixed-fee projects, staff costs rose above the contract fee and both projects closed the period with a negative margin; the margins on your other projects are at the same level as last period. The table by project and customer and the cause of the cost increase are attached; I suggest you review them before contract renewals.
Hotels and tourism
Over budget, but why?
Rooms are sold months ahead, through early booking and tour operator allotments; kitchen, energy and staff costs rise during the season. Unless the cause of the variance in the season budget is separated, next season’s contracts are signed on the same assumptions.
AgentAs the season closes, the kitchen and energy lines are over budget. The kitchen variance comes from higher food prices; the energy variance is largely a timing difference, and the year-end outlook brings it back within budget. The table by line is attached; I suggest you take the price effect in the kitchen into account when discussing next season’s contract rates.
Public institutions
Will the appropriation last the year?
In the public sector, the use of appropriations takes the place of profit. On lines such as fuel, electricity and meals, price increases can use up the appropriation before the year ends; which line will fall short is often noticed only in the last quarter.
AgentOn the fuel and electricity lines, actual spending and commitments have reached most of the appropriation at this point in the year; on this trend, the appropriation on both lines will not last until year end. The cause is price increases; consumption is at last year’s level. The table by appropriation line is ready for your financial services unit; the decision on a transfer of appropriations rests with your authorising officer.
Trust and control
The agent calculates.
You decide.
Decision authority
The agent only reads: it does not change the cost record in the ERP, the price list or the budget, writes to no record and starts no payment. Pricing and discount decisions belong to the authorised person in sales, a transfer of appropriations to the authorising officer; the agent puts the calculation and its cause in front of you.
Basis and audit trail
Every figure comes with its source: the invoice, trial balance account, bill of materials and exchange rate it rests on, and the costing method and allocation key used, are all on record. The weekly margin and the current unit cost are labelled “estimated” and are never presented as closing figures.
Your data stays with you
Runs on your own servers or on encrypted infrastructure. Cost and margin information is opened by role: a sales manager sees the figures for their own region, a unit manager those for their own unit; one customer’s prices and profitability never end up anywhere that belongs to another customer. Staff costs are used only as unit totals and never shown per person. The agent prepares no external correspondence; cost information never goes into a quote attachment or a letter to a customer.
Whoever knows the cost sets the right price.
In a demo built on your own sales, cost and budget data, let’s read the agent’s first profitability table together.