web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Sales Tax code must be entered if the account is a Sales Tax account

(0) ShareShare
ReportReport
Posted on by 6,480

Hello,

I'm getting warning "Sales Tax code must be entered if the account is a Sales Tax account" when I try to post PO invoice.

Where I should enter the Sales Tax code?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    5400 Profile Picture
    7,162 on at

    Sales tax Group is there which is associated with sales tax code. under sales tax code you can setup the ledger account.

  • 5400 Profile Picture
    7,162 on at

    You can go to PO Line - setup tab-sales tax  group

  • Suggested answer
    AX1 Profile Picture
    522 on at

    Hi,

    Have you specified sales tax group and Item sales tax group in PO?

    Sales tax code always associate with Sales tax group and Item sales tax group.

    Regards

    Sanjay Gupta

  • Johnny Profile Picture
    6,480 on at

    Hi,

    Yes, both "Item Sales tax group" and "Sales tax group" are specified in PO line.

    What else can I look?

  • 5400 Profile Picture
    7,162 on at

    Can you check in PO header under setup tab. It will come only if tax code is blank. do u have any customization.

    if above setup is not solving your problem.

    please debug below code for solution.

    \Data Dictionary\Tables\LedgerJournalTrans\Methods\checkVATPosting

  • André Arnaud de Calavon Profile Picture
    303,669 Super User 2026 Season 1 on at

    Hi Joni,

    Can you indicate if you have PO lines where you entered a ledger account to have some parts of the PO expensed directly? If so, did you use an account that is setup to be a Sales tax account in the Chart of Accounts?

  • Johnny Profile Picture
    6,480 on at

    Hi Andre,

    I do not have good knowledge of functional side of AX.

    If you could explained little bit in more details it would be highly appreciate.

    Kind regards,

  • Guy Terry Profile Picture
    28,965 Moderator on at

    Hi Joni,

    If you go to G/L -> Common -> Main accounts -> Edit, the 'Main accounts - chart of accounts' form opens.

    Expand the 'Setup' fast tab. Right-click on the 'Posting type' field, and choose 'Filter by field'. Enter

    Sales tax

    as the filter. AX should then show you the accounts that are setup for Sales tax postings.

    I wonder if AX is trying to make a non-sales tax posting into one of these accounts. Can you see any of the accounts that are setup for Sales tax postings in either of these places?:

    Accounts payable -> Setup -> Vendor posting profiles -> 'Setup' fast tab

    Inventory management -> Setup -> Posting -> Posting -> 'Purchase order' tab. Look through each of the options on the left.

  • Suggested answer
    ZvikaR Profile Picture
    184 on at

    Sounds like there was a charge added to your PO, and that charge was configured to post into a ledger account controlled as a sales tax account.

    This would not be possible. you need to remove the "posting type" = sales tax from that account.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans