Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

How to implement a custom tax solution?

(0) ShareShare
ReportReport
Posted on by

Our company is using a 3rd party service (called SOVOS) to calculate our sales tax via API.  I have the API working in BC code, but I am having a hard time knowing where to override those tax values.  My approach has been to update the "Amount Including VAT" field in the "Sales Line" record, but the page doesn't seem to update appropriately.  Should I be trying to use a tax engine?  I am new to BC development, so I'm not sure the best way to approach this problem is.  Any advice or help would be appreciated.

  • Suggested answer
    YUN ZHU Profile Picture
    84,555 Super User 2025 Season 1 on at
    RE: How to implement a custom tax solution?

    Hi, The logic of directly modifying the tax in code is very complex and differs between versions, such as the W1 version and the US version.

    In fact, you can adjust taxes manually in Business Central, this is a standard feature.

    More details: https://yzhums.com/2056/

    If you still want to customize and update via API, I think you can refer to the logic below.

    pastedimage1644882283815v1.png

    pastedimage1644882338758v2.png

    Hope this will help.

    Thanks.

    ZHU

  • Dallefeld Profile Picture
    175 User Group Leader on at
    RE: How to implement a custom tax solution?

    I would recommend getting with your partner for assistance in integrating your API. You need to update the sales order, then update again on posting to an invoice and don't forget return orders and credit memos.

    What fields are you updating? Tax Area, Tax Group, Tax Liable and there is no percentage in the sales line table.

    There are 3rd party services already integrated to BC.

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 1,452

#2
YUN ZHU Profile Picture

YUN ZHU 1,313 Super User 2025 Season 1

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 1,083 Most Valuable Professional

Featured topics

Product updates

Dynamics 365 release plans