Invoice posting error

Can anyone help what this error mean when I post the invoice in AX 2012 r3


Purchase Order: p0001

The transactions on voucher do not balance as per 5/14/2014. (accounting currency: 40.00 - reporting currency: 40.00)

Posting has been canceled.

Thank you

select a posting profile in AP Parameter> Ledger & Sales Tax> Posting > Posting Profile. But setup the vendor posting profile properly.
After setup it now post invoice.

Thank you for your reply.

I have setup the vendor posting profile. Selected ALL for the Account code Field.

Still I am getting the same error when I try to post the invoice

Please help me with this.