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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Purchasing Invoice Integration

(0) ShareShare
ReportReport
Posted on by 2
Good morning,
 
I am creating a Purchase Invoice integration in Business Central via a combination of AL and middleware (SmartConnect). There is no need to go into too much depth here, but everything is working properly except for line-level tax amounts that need to be added to the invoice.  I asked the client if we could simply roll the tax into the cost field, but they need it broken out.  I have a precalculated tax amount in the data feed that creates the purchasing invoices so there is no need for Business Central to calculate the taxes.  However, when I store the tax amount on the purchase line, BC is overwriting it with the tax area code percentage from the company setup.  
 
My question is, hopefully, simple: how can I store a precalculated tax amount on the purchase line without Business Central overwriting it with its own calculations?  I can provide code snippets if necessary.
 
Thank you in advance.
I have the same question (0)
  • Verified answer
    YUN ZHU Profile Picture
    95,329 Super User 2025 Season 2 on at
    Hi, the standard logic related to taxes is quite complicated, and I don't recommend you to change the standard logic.
    I think you can add a new field to hold the tax calculated by your external system, and then add a summary field as a reference.
     
    Hope this can give you some hints.
    Thanks.
    ZHU

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,229

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,867 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,153 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans