# Added "Cost of sales" to sales invoices tab

**URL:** <https://forum.manager.io/t/added-cost-of-sales-to-sales-invoices-tab/60484>\
**Category:** Uncategorized\
**Created:** [February 13, 2025, 2:56am UTC](https://forum.manager.io/t/added-cost-of-sales-to-sales-invoices-tab/60484 "2025-02-13T02:56:11Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![lubos](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/lubos/32/62798_2.png) [@lubos](https://forum.manager.io/u/lubos)\
**Post date:** [February 13, 2025, 2:56am UTC](https://forum.manager.io/t/added-cost-of-sales-to-sales-invoices-tab/60484/1 "2025-02-13T02:56:11Z")

</div>

The latest version (25.2.13) is adding a `Cost of Sales` column under the `Sales Invoices` tab.

 ![image](https://us1.discourse-cdn.com/flex019/uploads/manager1/original/3X/2/c/2ce7a8481c1653e45116c12f7e675cd994d848da.png)

This column will be visible by default if you are selling inventory items, however if you don’t see it, you need to go to `Edit Columns` to activate `Cost of sales` column.

Clicking on the cost of sales figure will reveal individual inventory items sold on the invoice and their individual cost of sale amounts.

 ![image](https://us1.discourse-cdn.com/flex019/uploads/manager1/original/3X/3/1/3198ca78c5820de83cb32dc80ff4ae39a9ba57c8.png)

A similar `Cost of Sales` column has been added to the `Receipts` tab since receipts can also sell inventory items.

Under the `Inventory Write-offs` tab and `Production Orders` tab, there is a clickable column named `Total Costs`.

---

<div class="post-metadata">

**Author:** ![shahabb](https://avatars.discourse-cdn.com/v4/letter/s/838e76/32.png) [@shahabb](https://forum.manager.io/u/shahabb)\
**Post date:** [February 13, 2025, 4:46am UTC](https://forum.manager.io/t/added-cost-of-sales-to-sales-invoices-tab/60484/2 "2025-02-13T04:46:35Z")

</div>

@lubos The recalculate button cant be found. Also i think FIFO is not working.  
The old method is back?  
Edit: Just checked for most of the Inventory Items Total costs are wrong.

---

<div class="post-metadata">

**Author:** ![lubos](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/lubos/32/62798_2.png) [@lubos](https://forum.manager.io/u/lubos)\
**Post date:** [February 13, 2025, 5:02am UTC](https://forum.manager.io/t/added-cost-of-sales-to-sales-invoices-tab/60484/3 "2025-02-13T05:02:30Z")

</div>

`Recalculate` button will be on transaction level. Not on inventory item level.

`Recalculate` doesn’t work on inventory item level when we have production orders, divisions and negative inventory. The complexity explodes and then it gets challenging to explain how cost of goods sold is calculated in simple terms.

> [@shahabb](#):
>
> Also i think FIFO is not working.  
> The old method is back?

FIFO can be supported in the context of `Recalculate` button on transaction level. I’m working on this.

> [@shahabb](#):
>
> Edit: Just checked for most of the Inventory Items Total costs are wrong.

Can we get more granular? `Total costs` are now clickable and total cost is the sum of all transactions. Either purchases or cost of sales (which can be recalculated on individual transaction level).

---

<div class="post-metadata">

**Author:** ![shahabb](https://avatars.discourse-cdn.com/v4/letter/s/838e76/32.png) [@shahabb](https://forum.manager.io/u/shahabb)\
**Post date:** [February 13, 2025, 5:18am UTC](https://forum.manager.io/t/added-cost-of-sales-to-sales-invoices-tab/60484/4 "2025-02-13T05:18:54Z")

</div>

> [@lubos](#):
>
> Can we get more granular? `Total costs` are now clickable and total cost is the sum of all transactions.

They are back to normal but i had to delete all Unit Costs under settings, i dont know they are related or not but inventory value looks fine now. Also i think the Total Cost figures are based on Weighted Average.

> [@lubos](#):
>
> `Recalculate` button will be on transaction level.

I think that would create more mess. Those figures could be misleading as we would have to recalculate every day for each transaction and that looks too much work.  
Also Unit Cost column under Inventory Tab is gone too.

---

<div class="post-metadata">

**Author:** ![lubos](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/lubos/32/62798_2.png) [@lubos](https://forum.manager.io/u/lubos)\
**Post date:** [February 13, 2025, 5:32am UTC](https://forum.manager.io/t/added-cost-of-sales-to-sales-invoices-tab/60484/5 "2025-02-13T05:32:29Z")

</div>

> [@shahabb](#):
>
> They are back to normal but i had to delete all Unit Costs under settings, i dont know they are related or not but inventory value looks fine now.

In absence of inventory unit costs under `Settings`, for now Manager will fall back to previous on-demand cost calculations.

> [@shahabb](#):
>
> I think that would create more mess. Those figures could be misleading as we would have to recalculate every day for each transaction and that looks too much work.

I know what you mean but we can have `Recalculate` button on screens which contain multiple transactions so you would be able to recalculate your cost of goods sold in bulk.

Currently, I want to make sure I have the right model for inventory costs that is easy to understand and troubleshoot. And at the same time have all the features that businesses require.

---

<div class="post-metadata">

**Author:** ![Rami\_Gomaa](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/rami_gomaa/32/27829_2.png) [@Rami\_Gomaa](https://forum.manager.io/u/Rami_Gomaa)\
**Post date:** [February 13, 2025, 8:23am UTC](https://forum.manager.io/t/added-cost-of-sales-to-sales-invoices-tab/60484/6 "2025-02-13T08:23:40Z")

</div>

dear @lubos  
good day, we use online version  
all inventory items value increased and changed for all years,  
please we need your assist.  
i was think changes related to production orders and unite cost calculation  
but when i see this post i search more and i found many invoice didn’t appear cost on the [Cost of sales] column that added in new update in Invoice tap  
please help us ASAP

_Note_ inventory asset account only effected

---

<div class="post-metadata">

**Author:** ![lubos](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/lubos/32/62798_2.png) [@lubos](https://forum.manager.io/u/lubos)\
**Post date:** [February 13, 2025, 9:16am UTC](https://forum.manager.io/t/added-cost-of-sales-to-sales-invoices-tab/60484/8 "2025-02-13T09:16:07Z")

</div>

@Rami_Gomaa I will need to add some kind of batch recalculate button that will recalculate cost of sales across many transactions at once.

---

<div class="post-metadata">

**Author:** ![Rami\_Gomaa](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/rami_gomaa/32/27829_2.png) [@Rami\_Gomaa](https://forum.manager.io/u/Rami_Gomaa)\
**Post date:** [February 13, 2025, 9:25am UTC](https://forum.manager.io/t/added-cost-of-sales-to-sales-invoices-tab/60484/9 "2025-02-13T09:25:12Z")

</div>

@lubos thank for reply  
ok do what is need, but please make sure historical data will not change  
thanks for your effort

---

<div class="post-metadata">

**Author:** ![CEOHaaks](https://avatars.discourse-cdn.com/v4/letter/c/85e7bf/32.png) [@CEOHaaks](https://forum.manager.io/u/CEOHaaks)\
**Post date:** [February 13, 2025, 1:51pm UTC](https://forum.manager.io/t/added-cost-of-sales-to-sales-invoices-tab/60484/10 "2025-02-13T13:51:24Z")

</div>

Excellent addition @lubos, specially the column in production order… it was long awaited… Good job…  
Now please don’t take it away on any pretext…

---

<div class="post-metadata">

**Author:** ![ATMCAssociates](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/atmcassociates/32/34313_2.png) [@ATMCAssociates](https://forum.manager.io/u/ATMCAssociates)\
**Post date:** [February 14, 2025, 6:38am UTC](https://forum.manager.io/t/added-cost-of-sales-to-sales-invoices-tab/60484/11 "2025-02-14T06:38:13Z")

</div>

This is a really good feature. Thank you for it.

As couple of members asked, if the future changes can come with **custom effective date** where individual business can select the appropriate **cut-off date** themselves, it would be one of the opportunities to keep **past data intact**. Just my suggestion to keep away some of the difficulties users would face.

---

<div class="post-metadata">

**Author:** ![shahabb](https://avatars.discourse-cdn.com/v4/letter/s/838e76/32.png) [@shahabb](https://forum.manager.io/u/shahabb)\
**Post date:** [February 14, 2025, 8:00am UTC](https://forum.manager.io/t/added-cost-of-sales-to-sales-invoices-tab/60484/12 "2025-02-14T08:00:00Z")

</div>

One thing i am confused about now these COGS transaction amounts are taken from the `Qty` (In transaction) x` Unit Cost` (defined under settings) which i previously thought you are doing it like this, but you stated that we don’t know the amounts under this new method and those cost are only used for valuation of BS.

> [@Lost feature to determine expense in inventory write off](https://forum.manager.io/t/lost-feature-to-determine-expense-in-inventory-write-off/58981/6):
>
> Except we don’t know the write-off amount under new inventory method. We only know write-off quantity.

Btw the absence of Recalculate button is making issues as i have deleted all Unit costs under settings (because my inventory figures were wrong) but now there is no way to bring those back at specific date. I think it was fine under Inventory Tab/BS/P&L.

---

<div class="post-metadata">

**Author:** ![Khurram\_Shahzad](https://avatars.discourse-cdn.com/v4/letter/k/f19dbf/32.png) [@Khurram\_Shahzad](https://forum.manager.io/u/Khurram_Shahzad)\
**Post date:** [February 14, 2025, 9:09am UTC](https://forum.manager.io/t/added-cost-of-sales-to-sales-invoices-tab/60484/13 "2025-02-14T09:09:29Z")

</div>

I am also facing the same problem.

---

<div class="post-metadata">

**Author:** ![Ealfardan](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/ealfardan/32/63166_2.png) [@Ealfardan](https://forum.manager.io/u/Ealfardan)\
**Post date:** [February 14, 2025, 5:50pm UTC](https://forum.manager.io/t/added-cost-of-sales-to-sales-invoices-tab/60484/14 "2025-02-14T17:50:23Z")

</div>

That’s definitely a move in the right direction. This provides users with all the information they need, and places calculation option in their hands.

However, the calculation isn’t automatic for new Sales Invoices. I think that would be a big time saver.

---

<div class="post-metadata">

**Author:** ![randompro](https://avatars.discourse-cdn.com/v4/letter/r/e9a140/32.png) [@randompro](https://forum.manager.io/u/randompro)\
**Post date:** [February 15, 2025, 2:20am UTC](https://forum.manager.io/t/added-cost-of-sales-to-sales-invoices-tab/60484/15 "2025-02-15T02:20:41Z")

</div>

Is there a way for User Permission to disallow the viewing of cost of sales only?

---

<div class="post-metadata">

**Author:** ![Rami\_Gomaa](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/rami_gomaa/32/27829_2.png) [@Rami\_Gomaa](https://forum.manager.io/u/Rami_Gomaa)\
**Post date:** [February 15, 2025, 1:24pm UTC](https://forum.manager.io/t/added-cost-of-sales-to-sales-invoices-tab/60484/16 "2025-02-15T13:24:23Z")

</div>

@lubos any updates?  
The problem still exist all items value appears wrong because of wrong unit cost

---

<div class="post-metadata">

**Author:** ![Rami\_Gomaa](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/rami_gomaa/32/27829_2.png) [@Rami\_Gomaa](https://forum.manager.io/u/Rami_Gomaa)\
**Post date:** [February 16, 2025, 8:00am UTC](https://forum.manager.io/t/added-cost-of-sales-to-sales-invoices-tab/60484/17 "2025-02-16T08:00:24Z")

</div>

@lubos  
this problem effect our historical data and retained earnings value  
please let us know how we can fix this problem

---

<div class="post-metadata">

**Author:** ![lubos](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/lubos/32/62798_2.png) [@lubos](https://forum.manager.io/u/lubos)\
**Post date:** [February 16, 2025, 10:02pm UTC](https://forum.manager.io/t/added-cost-of-sales-to-sales-invoices-tab/60484/18 "2025-02-16T22:02:26Z")

</div>

> [@ATMCAssociates](#):
>
> As couple of members asked, if the future changes can come with **custom effective date** where individual business can select the appropriate **cut-off date** themselves

`Lock date` serves this purpose.

> [@shahabb](#):
>
> One thing i am confused about now these COGS transaction amounts are taken from the `Qty` (In transaction) x` Unit Cost` (defined under settings) which i previously thought you are doing it like this, but

It works exactly like that now.

> [@shahabb](#):
>
> the absence of Recalculate button is making issues as i have deleted all Unit costs under settings (because my inventory figures were wrong) but now there is no way to bring those back at specific date. I think it was fine under Inventory Tab/BS/P&L.

I’m working on a worksheet that can recalculate all your unit costs for specific period.

> [@randompro](#):
>
> Is there a way for User Permission to disallow the viewing of cost of sales only?

Not at this time. But unit costs were not really hidden from users previously. Users could have viewed journal of the invoice which would reveal these unit costs anyway.

---

<div class="post-metadata">

**Author:** ![shahabb](https://avatars.discourse-cdn.com/v4/letter/s/838e76/32.png) [@shahabb](https://forum.manager.io/u/shahabb)\
**Post date:** [February 17, 2025, 5:41am UTC](https://forum.manager.io/t/added-cost-of-sales-to-sales-invoices-tab/60484/19 "2025-02-17T05:41:54Z")

</div>

> [@lubos](#):
>
> It works exactly like that now.

Does doing it like this solve performance issues? as there is still a relational factor in doing it like this and still not independent cogs transaction. Maybe creating a hidden line-item field (Like you did some time ago but it was not hidden) and automatically populating it with the amount equal to expense of goods when creating or updating the transaction.  
And a report which will show COGS amount (Qty\*Unit cost defined under settings) for items and incase its differently defined on transaction we can manually batch update those transaction. Like you have done for exchange rate

 ![image](https://us1.discourse-cdn.com/flex019/uploads/manager1/original/3X/5/f/5f00a166a2f2e59c0b1be1bba201adf825d7301b.png)

> [@lubos](#):
>
> But unit costs were not really hidden from users previously. Users could have viewed journal of the invoice which would reveal these unit costs anyway.

Nope. They were hidden previously even in Journal view the amounts for cost accounts were empty.

---

<div class="post-metadata">

**Author:** ![lubos](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/lubos/32/62798_2.png) [@lubos](https://forum.manager.io/u/lubos)\
**Post date:** [February 17, 2025, 5:52am UTC](https://forum.manager.io/t/added-cost-of-sales-to-sales-invoices-tab/60484/20 "2025-02-17T05:52:30Z")

</div>

> [@shahabb](#):
>
> Does doing it like this solve performance issues?

Yeah, it does solve performance issues. Having it as a field on line would provide only marginal performance boost that would be unnoticable.

> [@shahabb](#):
>
> and incase its differently defined on transaction we can manually batch update those transaction. Like you have done for exchange rate

Actually I don’t like how it’s done on exchange rates. I have improved some parts in Manager internally so transactions will be able to pull exchange rates from `Settings` directly just like it now works with inventory. And `Batch Update` feature in relation to exchange rates will be removed as it won’t be needed anymore.

---

<div class="post-metadata">

**Author:** ![shahabb](https://avatars.discourse-cdn.com/v4/letter/s/838e76/32.png) [@shahabb](https://forum.manager.io/u/shahabb)\
**Post date:** [February 17, 2025, 7:33am UTC](https://forum.manager.io/t/added-cost-of-sales-to-sales-invoices-tab/60484/21 "2025-02-17T07:33:18Z")

</div>

> [@lubos](#):
>
> so transactions will be able to pull exchange rates from `Settings` directly just like it now works with inventory.

I thought it was done because of requirement by tax authorities.

> [@Purchase Invoice spot exchange rates](https://forum.manager.io/t/purchase-invoice-spot-exchange-rates/42638):
>
> Hi @lubos , I would like to suggest a spot rate system when processing supplier invoices. in Zambia the tax regulation is that the ROE to be used is dictated by the supplier and NOT the RECIPIENT which means in one day i can process multiple invoices with varying ROE’s i would suggest that as one is capturing a supplier invoice , a ROE box be included (the same way we enter discounts) if no change is made then the system rate should be used

Anyway, its better like this as Exchange rate can vary from transaction to transaction on same day. It might happen with Inventory too as COGS can vary from transaction to transaction on a single day but there would be only single cost defined under settings. I don’t know how you are going to solve that maybe by References or by Timestamps?
