Announcements
No record found.
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
Sales tax Group is there which is associated with sales tax code. under sales tax code you can setup the ledger account.
You can go to PO Line - setup tab-sales tax group
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
Yes, both "Item Sales tax group" and "Sales tax group" are specified in PO line.
What else can I look?
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
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?
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,
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.
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.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Joris dG 5
Alexey Lekanov 2
Henrik Nordlöf 2 User Group Leader