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

Announcements

Community site session details

Community site session details

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

Calc and Post VAT Settlement Error

(0) ShareShare
ReportReport
Posted on by 318

There is an entry that is causing the VAT settlement calc and post to fail.
Sales VAT Account is missing in VAT Posting Setup VAT Bus. Posting Group: EXPORT, VAT Prod. Posting Group: ''.

Internal session ID:
5ac2538d-ee31-4818-80b0-0b1d5e6865ff

Application Insights session ID:
af50af6e-7335-4e6b-b766-e1d829c6310d

Client activity id:
1d7f8c96-276c-47e7-9426-185abd517c57

Time stamp on error:
2023-03-15T16:42:41.2195148Z

AL call stack:
"Error Message Management"(CodeUnit 28).LogErrorMessage line 4 - Base Application by Microsoft
"Error Message Management"(CodeUnit 28).LogContextFieldError line 2 - Base Application by Microsoft
PostingSetupManagement(CodeUnit 48).LogContextFieldError line 6 - Base Application by Microsoft
PostingSetupManagement(CodeUnit 48).LogVATPostingSetupFieldError line 6 - Base Application by Microsoft
"VAT Posting Setup"(Table 325).GetSalesAccount line 16 - Base Application by Microsoft
"Calc. and Post VAT Settlement"(Report 20)."Close VAT Entries - OnAfterGetRecord"(Trigger) line 45 - Base Application by Microsoft


How do we correct so we can close VAT period

0333.Picture1.png

I have the same question (0)
  • Suggested answer
    NAV_with_Narang Profile Picture
    2,320 Moderator on at

    Hi Yumiko - Can you please check in VAT Posting Setup, under combination VAT Bus. Posting Group: EXPORT, VAT Prod. Posting Group: '' what is the value for column "Sales VAT Account"?

    I think it is telling you that the entries can be closed provided there is an A/C to be proceeded with

  • Yumiko Profile Picture
    318 on at

    1513.Picture2.png6507.Picture3.png

    Hi, please see error message

    Reproduction steps

    VAT Statement
    Calc and Post Vat Settlement
    GB VAT Statement
    Period 01/12/2022-28/02/2023
    Print only (not posting)

  • Verified answer
    NAV_with_Narang Profile Picture
    2,320 Moderator on at

    Thankyou Yumiko. Can you navigate to "VAT Posting Setup" and search for the line in this page having value as:

    VAT Bus. Posting Group: EXPORT

    VAT Prod. Posting Group: (BLANK)

    On this line, probably you need to fill in value for the column "Sales VAT Account" with the appropriate G/L Account

    Note: In most cases it is not advised to have a VAT Posting Setup with any of the value (Bus Posting Group or Product Posting group) as blank

  • Yumiko Profile Picture
    318 on at

    thanks

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,117 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,092 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 1,026 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans