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

Sales Tax difference on Posting and Invoice

(4) ShareShare
ReportReport
Posted on by 597
I am trying to post an invoice with Sales Tax in Spanish version of Business Central. The sales tax is getting calculated correctly on the Invoice but when I try to post it, it gives an error on the Tax Amount .

Tax Amount on Invoice = 1071.43 which is correct and on posting the system calculates it 1756.13 which is without Maximum Amount/Qty from Tax.

The sales tax amount for the TXA2409.8747 Tax Area Code and the STMB Tax Group Code is incorrect. The calculated sales tax amount is -1.756,13, but was supposed to be -1.071,43.

What I have figured it out so far is that, on posting the invoice the system is not considering the Maximum Amount/Qty of Tax and applying it on the full TaxBaseAmount
 
Tax Details

I have the same question (0)
  • KasparsSemjonovs Profile Picture
    4,821 Super User 2026 Season 1 on at
    For the 7% tax You don't have any Maximum amount provided..

    I would suggest, to experiment a bit - and try to change all of those involved tax percentages to 0, and then put them back one by one, and try to do Preview Posting after each. That way you will now for sure if one of these are setup wrongly, or the problem is in totally different area of setups.
  • Ramiz Profile Picture
    597 on at
    7% tax is 0 because I want to apply it to the whole amount but the rest needs to be applied on specific amount as per US Taxes.
     
    I tried different hit and try and it worked if I put 0 in Tax Maximum Amount/Qty of 2.75% Taxes   but its wrong becasue it will be posting more Tax amount in the system.

    Also, whats strange for me when I release the Sales Invoice it calculates the sales tax correctly but only when I am posting it the error appears.

    Upon debugging it, I found this condition is always true in Sales Tax calculate codeunit. 

  • KasparsSemjonovs Profile Picture
    4,821 Super User 2026 Season 1 on at
    TaxLiable I think is a checkmark on each document, and is coming from Customer/Vendor card. 
    If this has to be False, then just take this checkmark out of customer card (and from the prepared document).
  • Suggested answer
    DAnny3211 Profile Picture
    11,421 Super User 2026 Season 1 on at

    Hello,

    Thanks for the detailed explanation and the screenshot — that’s very helpful.

    From what you’ve described, it seems the issue arises because the Maximum Amount/Quantity setting for the tax is not being respected during posting, even though it appears correctly on the invoice preview.

    Here are a few things to check:

    1. Tax Jurisdiction Setup: Ensure that the Maximum Tax Amount or Maximum Taxable Base is correctly configured in the Tax Jurisdiction or Tax Area setup for the TXA2409.8747 code.
    2. Posting Setup: Sometimes, the posting logic bypasses certain validations or limits if the tax calculation method is inconsistent between the invoice calculation and the posting routine.
    3. Localization Layer: Since this is the Spanish version, verify if there are any localization-specific extensions or updates that might affect tax behavior during posting.
    4. Rounding or Calculation Method: Check if the rounding precision or calculation method differs between the invoice and posting stages.

    If the issue persists, it might be worth raising a support ticket with Microsoft, especially if this is a regression or a known issue in version updates.

    Let me know if this helps!

    Was this response helpful? Feel free to mark it as such or reply with more details if needed.

    Best regards,
    Daniele

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 1,948 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 936 Super User 2026 Season 1

#3
Teagen Boll Profile Picture

Teagen Boll 616 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans