ANS-1313 · SUITETAX & TAX MANAGEMENT
Why Does NetSuite Show ‘Tax Amounts Cannot Be Negative’ When Total Tax Is Positive?
NetSuite's "Tax amounts cannot be negative" error can occur when individual tax code totals are negative, even if the overall transaction tax amount is positive.
Short answer
The "Tax amounts cannot be negative" error in NetSuite arises when the total tax for a specific tax code becomes negative, even if the overall transaction's total tax is positive. To resolve this, ensure that credit lines are created with appropriate amounts for each individual tax code, preventing any single tax code's total from falling below zero.
Scenario
A NetSuite user encounters the "Tax amounts cannot be negative" error on a transaction, despite the overall total tax amount for the transaction appearing positive. Investigation reveals that the transaction involves multiple tax codes, and while the grand total is positive, the aggregated tax amount for one specific tax code is negative.
Solution
NetSuite groups tax amounts by tax code. The error occurs when the total tax amount for an individual tax code becomes negative, even if the overall transaction's total tax is positive. To resolve this, ensure that credit lines are created with appropriate amounts for each distinct tax code, thereby ensuring that the resulting tax amount for every individual tax code remains positive.Consider the following example where an invoice throws the error:
Line 1 : Item X | Amount 5.00$ | Tax Code : QC
Line 2 : Item X | Amount 5.00$ | Tax Code : QC
Line 3 : Item X | Amount 20.00$ | Tax Code : ON
Line 4 : CreditItem X | Amount -25.00$ | Tax Code : QCIn this scenario, the total tax for the QC tax code is 5 + 5 - 25 = -15, which is a negative amount, triggering the error.
The solution involves adjusting the credit lines to balance each tax code individually, as shown below:
Line 1 : Item X | Amount 5.00$ | Tax Code : QC
Line 2 : Item X | Amount 5.00$ | Tax Code : QC
Line 3 : Item X | Amount 20.00$ | Tax Code : ON
Line 4 : CreditItem X | Amount -20.00$ | Tax Code : ON
Line 5 : CreditItem X | Amount -5.00$ | Tax Code : QCWith this adjustment, the total tax for QC is 5 + 5 - 5 = 5 (positive), and for ON is 20 - 20 = 0 (non-negative), resolving the error.
Expert NetSuite Support
Need help with this NetSuite issue?
SuiteTax & Tax Management consulting and configuration support
