Purchase Invoice dimensions

SOLVED

I am getting the following error when posting Purchase Invoice. 

API-01-22-05104 2106020102 (LED) : Mandatory dimension on dimension type AX1 (PIHI2 Line 50)

the account is tax account, and it is linked to AX1 dimension which is mandatory across the folder. the dimension is filled on the purchase invoice.