Issue with Asset Capitalization and Serialized Items
Hello all,
From the past few days, I’ve been facing an issue while submitting Asset Capitalization.
When creating an Asset Capitalization entry using serialized items in Consumed Stock Items, the system throws an error on submission:
Debit and Credit not equal for Asset Capitalization #ACC-ASC-2025-00001. Difference is -156600.0
- Without selecting a Serial No., the entry submits successfully.
- With a Serial No., submission fails, even though the valuation rate matches the last submitted Stock Entry for that Item and Warehouse.
Steps to Reproduce
- Create a serialized stock item with a valuation rate (example: 156,600).
- Ensure balance quantity = 1 is available in a warehouse.
- Create an Asset Capitalization entry:
- Add this item in Consumed Stock Items with qty = 1.
- Valuation rate is auto-fetched correctly from the last Stock Entry for that Item and Warehouse.
- Select the valid Serial No. from the warehouse.
- Posting date of Asset Capitalization is after the Stock Entry date.
- Try to submit.
Expected Behavior
- System should debit the Asset Account with the valuation rate.
- System should credit the Stock In Hand Account with the same amount.
- Entry should submit successfully.
Actual Behavior
- Only the debit side (Asset Account) is prepared.
- Credit entry (Stock In Hand) is missing.
- System throws the
Debit and Credit not equalerror, with the difference equal to the valuation rate.
Checks Already Done
Serial No. is available in stock.
Balance qty = 1.
Valuation rate matches.
Posting date is after Stock Entry date.
Warehouse is correctly linked to the company.
Question
- What could be causing this behavior?
- Also, in Asset Capitalization, the valuation rate is being fetched from the last Stock Entry for that Item and Warehouse — is this the correct source for the valuation rate?
Please can anyone help with this? It would be really grateful. Thank you!

