Using Tracking code to calculate profit

I would love to use tracking codes to have expenses attached directly to a client. thus from the invoice total i can less direct expense to a particular client.,

This is feasible only if you are able to allocate all your expenses directly to a specific client. For example, what would you do with monthly rent? Which client would you allocate it to? Or utility expenses? Or stationery? Or insurance?

What you seek may be better served by the job costing capability that is being developed.

Let me wait for the job costing function see how it works. sounds close to what am talking about . . . .

The current tracking codes can do that, as you were only asking about “direct expense” against the invoice which assumingly are identifiable to the client and not about the allocation or proportioning of variable / indirect / overhead expenses