Posting Purhcase order with adjusted VAT thru X++ (AX 2009)


i need to post purchase orders thru X++ code. We have a .csv file which contains data like PO number, qty, Adjusted VAT.

we need to post the PO coming in the file with the specified qty and Adjusted VAT using X++ code.

I am able to write the code for posting, but finding issues how can i do VAT adjustment on the PO thru X++ code.

Any help/ inputs ??

Thanks in advance.