Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Remove tax from sales order invoice

Posted on by 47
Dears,
I would like to remove the sales tax which appears on the voucher of a certain invoice when posting from a sales order through code. I want to set it to 0 always. In what function should I include my extension to achieve this?
Categories:
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 290,946 Super User 2024 Season 2 on at
    Remove tax from sales order invoice
    Hi,
     
    In case you want to remove tax before the invoice gets posted, you would need to ensure you either remove the values from the Tax Group and Tax Item group from the sales order lines before it gets posted or set a value in one of these two fields that leads to a zero rate calculation.
    It is not just about setting a 0 somewhere in coding. The fields I mentioned will also create related Tax transactions which will determine the Tax reporting to the authorities. 

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,946 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,443 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans