Purchase Order Error - Ledger accounts not defined for registration number '12345678901'.Posting has been canceled.

Hi guys,

Am setting up India Sales Tax in Ax 2012 R2. and I am getting error as Ledger accounts not defined for registration number ‘12345678901’.Posting has been canceled. When am trying to confirm purchase order.

I have created sales tax codes, sales tax groups, item sales tax groups, ledger posting groups and under tax ledger posting group i also attached the ledger accounts for the above VAT registration number. but i don’t know why that error is still poping. please suggest me what needs to be done.

thanks,

I found the answer. The Tax Component should be same in sales tax codes form and tax ledger posting group → ledger accounts → tax component.

thanks,