# Cloning billable expenses bug

**URL:** <https://forum.manager.io/t/cloning-billable-expenses-bug/4361>\
**Category:** Uncategorized\
**Created:** [December 28, 2015, 11:37pm UTC](https://forum.manager.io/t/cloning-billable-expenses-bug/4361 "2015-12-28T23:37:53Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomasz](https://avatars.discourse-cdn.com/v4/letter/t/dbc845/32.png) [@tomasz](https://forum.manager.io/u/tomasz)\
**Post date:** [December 28, 2015, 11:37pm UTC](https://forum.manager.io/t/cloning-billable-expenses-bug/4361/1 "2015-12-28T23:37:53Z")

</div>

When cloning billable expenses, I’ve noticed what I believe is a bug.

The issue can be reproduced as follows:

- record an expense A and assign it to client C
- clone the previous expense, name it B, and assign it to client D
- bill expense A to client C
- expense B is now automatically assigned to the invoice of expense A

I don’t know if this is intended, but I expected another behaviour.

---

<div class="post-metadata">

**Author:** ![Tut](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/tut/32/3286_2.png) [@Tut](https://forum.manager.io/u/Tut)\
**Post date:** [December 29, 2015, 12:05am UTC](https://forum.manager.io/t/cloning-billable-expenses-bug/4361/2 "2015-12-29T00:05:08Z")

</div>

I tried to duplicate your problem, following your steps exactly. Expense B does, indeed, disappear from Customer D’s balance of Uninvoiced items. The `Billable Expenses` register shows it as invoiced. But drilling down into `Billable Expenses` from the `Summary`, no assignment to any invoice is shown. And `Accounts receivable` does not include it. But it does not appear on Customer C’s invoice with expense A. That fact seems a little different from what you describe, but I may just be looking in more detail than you did.

I repeated the experiment without the cloning step. That is, I simply entered the two billable expenses via separate spending transactions. Done that way, there is no problem.

So the issue definitely arises only when the expense transaction is created by cloning. This is a puzzle for @lubos.

---

<div class="post-metadata">

**Author:** ![tomasz](https://avatars.discourse-cdn.com/v4/letter/t/dbc845/32.png) [@tomasz](https://forum.manager.io/u/tomasz)\
**Post date:** [December 29, 2015, 12:17pm UTC](https://forum.manager.io/t/cloning-billable-expenses-bug/4361/3 "2015-12-29T12:17:51Z")

</div>

@Tut thanks for reproducing the issue.

In the `Billable Expenses` register, Expense B is shown as invoiced. When editing Expense B in the `Billable Expenses` register, in my case however, it is shown that Expense B is assigned to an incorrect invoice. It is strange that I seem to have a different result here.

Another strange thing is the following: when reassigning Expense B to the correct invoice of Customer D in the `Billable Expenses` register, Expense A gets also reassigned to the same invoice of Customer D.

When entering two billable expenses separately, there is no 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:** [December 29, 2015, 9:56pm UTC](https://forum.manager.io/t/cloning-billable-expenses-bug/4361/4 "2015-12-29T21:56:13Z")

</div>

This is definitely a bug. I will be looking into this.

---

<div class="post-metadata">

**Author:** ![tomasz](https://avatars.discourse-cdn.com/v4/letter/t/dbc845/32.png) [@tomasz](https://forum.manager.io/u/tomasz)\
**Post date:** [December 30, 2015, 10:22am UTC](https://forum.manager.io/t/cloning-billable-expenses-bug/4361/5 "2015-12-30T10:22:41Z")

</div>

Thanks @lubos

---

<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:** [January 7, 2016, 6:24am UTC](https://forum.manager.io/t/cloning-billable-expenses-bug/4361/6 "2016-01-07T06:24:14Z")

</div>

This issue should be fixed in the latest version.

---

<div class="post-metadata">

**Author:** ![Mariette](https://avatars.discourse-cdn.com/v4/letter/m/e19adc/32.png) [@Mariette](https://forum.manager.io/u/Mariette)\
**Post date:** [June 5, 2019, 1:05pm UTC](https://forum.manager.io/t/cloning-billable-expenses-bug/4361/7 "2019-06-05T13:05:22Z")

</div>

Good day

We are experiencing a similar problem, could it be a bug?

Would you be able to assist?

Mariette

---

<div class="post-metadata">

**Author:** ![Tut](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/tut/32/3286_2.png) [@Tut](https://forum.manager.io/u/Tut)\
**Post date:** [June 5, 2019, 1:10pm UTC](https://forum.manager.io/t/cloning-billable-expenses-bug/4361/8 "2019-06-05T13:10:44Z")

</div>

@Mariette, the bug discussed in this topic was fixed more than three years ago. If you are having a problem, you need to furnish additional information. What version number of Manager are you using? Don’t describe a problem as “similar.” Give exact details about what it is, what triggers it, etc. Illustrate the problem with screen shots.

---

<div class="post-metadata">

**Author:** ![Mariette](https://avatars.discourse-cdn.com/v4/letter/m/e19adc/32.png) [@Mariette](https://forum.manager.io/u/Mariette)\
**Post date:** [June 11, 2019, 9:56am UTC](https://forum.manager.io/t/cloning-billable-expenses-bug/4361/9 "2019-06-11T09:56:23Z")

</div>

@Tut, Thank you for the response. Please see below a detailed set out of what we are currently experiencing:

We use the clone function to capture billable supplier invoices.

For example

We captured a billable supplier invoice by cloning a previously captured supplier invoices, which previously captured supplier invoice has been billed to client and has been paid to supplier.

When looking at billable expenses the newly captured supplier invoice now reflects as invoiced, but it has not yet been invoiced to client. see screen shot.

 ![40](https://us1.discourse-cdn.com/flex019/uploads/manager1/original/3X/3/0/300999b93fb947162750512fe73040e97f56dbfc.png)

It indicates that the newly captured invoice was invoiced to client / customer on invoice 309, see attached screen shot

 ![57](https://us1.discourse-cdn.com/flex019/uploads/manager1/original/3X/f/d/fd5d045d85812ca7305b23e2f1198062c1ea35df.png)

When looking at invoice 309, the newly captured invoice was in actual fact not invoiced to client. reflected on the said customer invoice is the originally captured invoices which was cloned. see screen shot

 ![19](https://us1.discourse-cdn.com/flex019/uploads/manager1/original/3X/5/0/5054168c0f83de02a8cfa0169f7a719441a8eb89.png)

As such when we clone supplier invoices already billed to client, the newly cloned invoice automatically appears as invoiced when in actual fact it has not yet been invoiced to client. we are currently using version 19.6.22.

---

<div class="post-metadata">

**Author:** ![Tut](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/tut/32/3286_2.png) [@Tut](https://forum.manager.io/u/Tut)\
**Post date:** [June 11, 2019, 1:31pm UTC](https://forum.manager.io/t/cloning-billable-expenses-bug/4361/10 "2019-06-11T13:31:59Z")

</div>

@Mariette, based on what you have shown so far, this behavior seems correct. When you cloned the previous purchase invoice, you literally cloned everything about it. That is, you made an exact twin. The clone has the same issue date, invoicing status, due date, and so forth. The only thing that might have changed is the purchase invoice number, if you have a form default set for automatic numbering.

So when you create a new sales invoice from the Customers tab, you get what is no longer correct information for the new situation. The solution is to properly edit the clone before clicking the Create button.

Go back to that new purchase invoice and edit it with proper information. See if that doesn’t fix things.

---

<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:** [January 18, 2023, 3:01pm UTC](https://forum.manager.io/t/cloning-billable-expenses-bug/4361/11 "2023-01-18T15:01:22Z")

</div>


