Discussions
Error: "Invalid tax calculation output: duplicate tax codes specified for line with key 'NEW1'.
Scenario: A user with an Administrator role encounters an error upon clicking the Preview Tax button on their Sales Order: "Invalid tax calculation output: duplicate tax codes specified for line with key 'NEW1'. The customer is using SuiteTax and has Avalara as their Tax Engine and the Nexus of the transaction is Ontario, Canada.
Explanation: This error occurs when the Default Tax Codes set in the Nexus record > Avalara Default Tax codes | Default GST/HST Tax Code and Default PST Tax Code fields are the same:
Resolution: Ensure that different Tax Codes are set in the Default GST/HST Tax Code and Default PST Tax Code fields on the Nexus record: