Hello,
I am encountering a persistent and frustrating VAT posting error in Dynamics 365 Business Central (SaaS, v26.4), preventing a sales order, synchronized from an external CRM system, from posting. This is happening for an existing EU customer that we have successfully invoiced previously without issue in the past and no recent changes have been made to our VAT setup.
We are running Dynamics 365 Business Central (SaaS, v26.4.x) with a tight integration to CRM (D365CE Sales)
All order generated from a particular country are stuck in the sales order posting queue whilst others from other locations go through without issues.
Here is the Error Message:
VAT Calculation Type must be equal to 'Reverse Charge VAT' in VAT Posting Setup: VAT Bus. Posting Group=EU-REG, VAT Prod. Posting Group=. Current value is 'Normal VAT'.
The call stack confirms the error is triggered by standard BC validation (Sales Line."No. - OnValidate") after the custom integration code runs:
AL Call Stack (Abbreviated)
[Custom Integration CodeUnit].InitializeSalesOrderLineFromItem
"Sales Line"(Table 37)."No. - OnValidate"(Trigger)
We made not changes to the vat setup which is odd and we cannot change VAT Setup as the error implies.
Can anyone advise why did this transaction suddenly begin to fail when previous, identical orders posted correctly using one of the other, correctly configured EU groups?
Thank you for any insight!