Forum Discussion
Hi Syed and Mike,
I'm butting in here, because I disagree a little with some of what Mike has said:
1. I don't think the only correct way to calculate GST is on the totals. In the case of invoices where some lines have GSTable items and some don't, you calculate GST from the lines, and then total the GST. I can't speak for NZ, but I am very confident that the ATO have a requirement that the GST be calculated on the lines and shown on the lines, if there is a mix of GST and GST Free items. Therefore the total GST on the invoice will be the total of GST on the lines.
2. The invoice that is generated from Syed's CRM is the only document. It's the source of truth. That's the document that is sent to the customer and that's the amount that the customer will pay. So, if MYOB recalculates the GST, and gets a different amount, it's quite simply wrong. The Tax Invoice is the be all and end all of the conversation. You are correct that the CRM must calculate GST correctly but what defines correctly? MYOB are not the arbiter of that.
In the end, Mike is probably right that Syed must change the GST calculations in the CRM, because that's easier than getting MYOB to change the API. Having said that, if I were Syed, I'd be looking for a hidden trick in the API first, eg if you send the GST on the lines and the header, does MYOB accept that 'as is'? If you just send the GST only on the lines and not the header, does MYOB add up the GST? Is there a switch in the API or MYOB settings that says 'don't recalculate GST on import/API'? Mike, you are obviously a more experienced developer than me, so you may have tried these already and ruled them out.
So, I say this not to argue with you, Mike. I'm just offering my point of view.
Judd
Hi JuddSandstrom , thanks for putting your point of view forward.
MYOB would apply the same process to invoices with some GST-free lines, but I'm not 100% sure what it would do with mixed rate invoices; I hope it would total in groups by rate and adjust groups of lines of like rate. But I do take your point about an external invoice being the issued document, and an import process should not change those values.
I don't believe that the API can be tricked into changing the GST calculation, or accepting different line GST values. If anything the API (as well as the in-product import process) is less flexible than the equivalent processes in the legacy version 19.x products, which allowed both exclusive and inclusive line values to be nominated.
- JuddSandstrom2 years agoPartner
Thanks Mike,
Your experience and comments will probably save Syed and future developers from beating their heads against the desk in frustration.
Judd
Looking for something else?
Search the Community Forum for answers or find your topic and get the conversation started!
Find technical support and help for all MYOB products in our online help centre
Dig into MYOB Academy for free courses, learning paths and live events to help build your business with MYOB.