We import sales invoices via API.
The issue is some customers are UK based but want us to ship VAT free countries.
As the customers VAT biz posting group is 'DOMESTIC' the imported invoice always includes VAT which is incorrect.
On the GUI its a simple case of manually setting the VAT PG to EU or EXPORT to correct this.
I have added an extension that exposes the VAT Biz posting group to the sales invoice API so I can set it when importing but it doesn't work.
No errors when I try to set it so the field is registered OK.
Am I right in assuming that BC either does not allow this to be set on import and/or overwrites it with its calculated VAT posting group when processing?
I suppose I could try setting each items VAT Product group when adding sales invoice lines but this seems a complicated fix. Any suggestions on a work around?
Maybe I should try to patch it after the import is complete.?
Any suggestions appreciated.