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

Announcements

News and Announcements icon
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
    101,995 Super User 2026 Season 1 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,222 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,603 Super User 2026 Season 1

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 1,186 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans