Sell an asset ​

When you sell an old machine, the sale is not an ordinary sale. ERPNext must remove the asset's cost and its accumulated depreciation from the books, and book the difference between the price and the book value as a gain or a loss. A Sales Invoice linked to the asset does all of this. The asset stays in the register with the status Sold.

Prerequisites ​

  • The asset is submitted and not already sold or scrapped.
  • The company has a Gain/Loss Account on Asset Disposal.
  • The customer exists.

Sell the asset ​

  1. Open the asset and select Actions > Sell Asset.
  2. Enter the Sell Qty and select Sell. ERPNext opens a Sales Invoice with the asset's Item and the asset linked.
  3. Select the Customer and check the Posting Date.
  4. Enter the sale Rate.
  5. Add the taxes that apply.
  6. Submit the Sales Invoice.

For a grouped asset, if the Sell Qty is less than the asset quantity, ERPNext splits the rest into a new asset. You cannot undo the split.

What ERPNext posts ​

When you submit the Sales Invoice, ERPNext:

  1. Posts depreciation up to the sale date.
  2. Removes the asset's cost from the fixed asset account.
  3. Removes its accumulated depreciation.
  4. Books the receivable from the customer.
  5. Books the difference between the sale price and the book value to Gain/Loss Account on Asset Disposal.

The asset's status changes to Sold, and its Disposal Date is set.

Check the result ​

  • Open the Sales Invoice and view the accounting ledger.
  • Run the Fixed Asset Register for a date after the sale. The asset no longer shows as an existing asset. See Asset reports.

Troubleshooting ​

You cannot select the asset in the Sales Invoice. Check that the Item is a fixed asset Item, the asset is submitted, and the companies match.

The gain or loss looks wrong. Check the sale price, the posting date, the depreciation posted, and the taxes.

Sell quantity cannot exceed the asset quantity. Enter a quantity up to the Asset Quantity.