Question

We are primarily Sage developers and I have been able to achieve this in Sage. Now I need the same functionality in QB and we are struggling. The problem is a rounding issue. We have a spreadsheet with Gross (total) invoice amount. We take that data, calculate NET and VAT and post it to QB 2014 using SDK v13. But we have a problem when for example the total is £123.45, the NET (before tax) should be £102.88 and the VAT (tax) should be £20.57, but QB is calculating VAT at 20% as £20.58 giving us a total of £123.46, which is incorrect in terms of what we want the value to be.

We are using IInvoiceAdd and IORInvoiceLineAdd in order to add invoice into QB. How can we achieve the above and tell QB that the total VAT is £20.57 and not £20.58, by keeping the accountants happy? Any adjustment to NET or adding adjustment item or doing journal entries are work-arounds rather than a fix, we want to know if this is possible as we did in Sage. We are able to do this via the UI in QB, so is there a code equivalence to do this.

Was it helpful?

Solution 2

QB cannot do this at the moment via the API, there are workarounds, but we thought it would be best to notify the customer about the error and let them fix it in UI, rather than play around with zeroing the VAT or changing VAT rate to suit the need.

OTHER TIPS

You will set the invoice sales tax to a zero tax, so no tax is calculated.

You will add each invoice line as normal, but you want to make sure no tax is calculated here as well.

You will add one more line item for the tax and this would be where you enter the tax you want.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top