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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Error VAT Calculation when posting invoice

(0) ShareShare
ReportReport
Posted on by

Hello, good morning everyone, 

I'm writing because I have the followiing error when I try to post an invoice:

pastedimage1598014727792v1.png

I'm working with 2 lines, one is an item (with VAT calculation type Sales Tax) and the other is a GL account, with VAT calculation type: Full Tax.

This is US version. I tried this in W1 and had no trouble. I could work with both lines together.

How can I work in this version with both lines in the same document?

Thank you!

I have the same question (0)
  • Suggested answer
    Brian Wick Profile Picture
    Microsoft Employee on at

    Hi Belen,

    Most likely the reason is US version has localized sales tax code embedded into Codeunit 398 (Sales Tax Calculated) and other tables & pages related to Sales Tax functionality.  Mixing Sales Tax & Normal VAT on the same document is probably triggering a localized validation that is in place for this version that does not exist in W1.  I am just speculating based off the limited information provided. 

  • Community Member Profile Picture
    on at

    Hello Brian, good morning,

    I've been reviewing this issue, and I have a little bit more information. I enclose the problem:

    The function SetTaxType of codeunits 80 y 90 validate that VAT calculation type is the same in every line. If not, this error shows up 'EveryLineMustHaveSameErr = Every sales line must have same %1 = %2.'

    We can not modify this objects directly because it is a cloud instance.

    Hope you can help me finding a solution.

    Thank you !!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April 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,059 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 994 Super User 2026 Season 1

#3
Teagen Boll Profile Picture

Teagen Boll 664 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans