Showing results for 
Search instead for 
Did you mean: 

DI API force VAT value on AP Invoice

Former Member
0 Kudos


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?

Kind regards,

Peter de Klerk

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thank you both for your feedback, I had a feeling this would be the case.

Kind regards

Active Contributor
0 Kudos

Hi Peter,

I'm not sure if different localisations of SBO work differently but on all the localisations I've used the VAT amount cannot be adjusted directly by any means. The only option is to change the VAT group (and hence the rate) which doesn't allow for precise manipulation. I don't think this is likely to change and is certainly the same in 8.8.

Kind Regards,


0 Kudos


There is no Way to Adjust VAT Amount, you can try by changing VAT formula according to you need

if need any manipulation