Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Tax Engine Error when generating Pay statement

(1) ShareShare
ReportReport
Posted on by 7

Hi,

I am trying to generate pay statement after releasing the earning statement lines, however I am facing the following error.

"A tax engine exception has occurred processing taxes for worker FEDC00045.System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: No enum value in 'PayrollUSState' matching '' is found at Microsoft.Dynamics.Ax.Xpp.PredefinedFunctions.Str2Enum(Object e, String s) in D:\dbs\sh\l23t\0326_210407\cmd\1a\Source\Kernel\xppil\XppSupport\Support.cs:line 5237 at Dynamics.AX.Application.PayrollCalculatePayStatementTaxes.`setUnemployment() at Dynamics.AX.Application.PayrollCalculatePayStatementTaxes.setUnemployment() at Dynamics.AX.Application.PayrollPayStatementGenerationTask.calcTaxes(Decimal _createdTaxableEarningsTotal) at Dynamics.AX.Application.PayrollPayStatementGenerationTask.`calcBenefitsAndTaxes(Decimal _createdTaxableEarningsTotal) at Dynamics.AX.Application.PayrollPayStatementGenerationTask.calcBenefitsAndTaxes(Decimal _createdTaxableEarningsTotal) at Dynamics.AX.Application.PayrollPayStatementGenerationTask.createPayStatement() at Dynamics.AX.Application.PayrollPayStatementGenerationTask.`run() --- End of inner exception stack trace ---"

I have already updated the Tax Data and my tax engine is on the latest version. I have configured all the settings and parameters but this error won't go away.

  • Suggested answer
    Arunraj Rajasekar Profile Picture
    1,731 on at
    RE: Tax Engine Error when generating Pay statement

    Hi,

    This is common error due to missing setup. Have you identified which employee is causing the error? Once you have identified the employee, Go to worker tax code form in worker profile. Look for unemployment Tax code, unemployment tax code must contain a SUTASTATE value

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,135 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,871 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans