The transactions on voucher do not balance error while invoicing sales order

Dear Experts,

I am using Ax2012r2.

I have a sales order, i am trying invoice that sales order.

The moment i select invoice date and document date and click on OK.

Giving below error.

The transactions on voucher “voucher no” do not balance as per 8/1/2018. (accounting currency: -0.00 - reporting currency: 0.00)

what happening here is i am getting accounting currency amount -0.000000002, but as per code they are comparing with 0.00.

this is happening only for few so’s