Tax calculation failed with notification: [{"local...
# ask-stanley-ai
a
Tax calculation failed with notification: [{"locale":"en_US","severity":"ERROR","message":"Tax Calculation Plugin error: Invalid tax calculation output: item line taxes array must contain exactly one element for every input line."}]
c
AI generated answer (using internal Slack threads):
Based on the conversations provided, the error message you're encountering is related to the tax calculation process in NetSuite. The error message indicates that the tax calculation plugin is expecting an array of taxes for each line item in the transaction, but it's not receiving the expected input. This could be due to a few reasons: 1. The tax items on the line level are set to 0% tax, but the external tax amount from the lines calculated by TaxJar is being added. This discrepancy might be causing the error. 2. There might be a rounding issue caused by a 3rd party app or integration. Adjusting the corresponding line item (inventory line, tax line, shipping line) up or down by a penny might resolve the issue. 3. The transaction contains items with different types of VAT regime determination. The system is unable to process transactions with mixed VAT regimes, hence the error. The solution would be to create separate sales transactions for goods and for services. Remember to check the mapping and ensure that the 'tax amount override' is checked. This might also help in resolving the issue. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.863561332
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.861624122
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.859537184
Please provide your feedback on this answer.