I am trying to create an SAP AP Invoice (SAPbobsCOM.Documents = vCmp.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseInvoices)) through the DI API version 2007 A. We are however having problems with the VAT as SAP is calculating the VAT automatically based on the rate I pass through, which in some instances does not match the invoices we are generating the SAP document from.
Is there a way to force the value of the VAT for the AP Invoice through the DI API? If not, are there upgrades to the DI API which allows this, or what is the best way to manipulate the VAT figure?
Peter de Klerk