When i was posting the invoice below error was triggering.
In inventory->set up → item group → purchase order ->purchase expenditure for product->account number has configured.
since the issue was raising
Account number for transaction type Purchase expenditure for product does not exist.
The transactions on voucher do not balance as per 28/02/2016. (accounting currency: 12,000.00 - reporting currency: 0.00)