Skip to main content

Notifications

Small and medium business | Business Central, N...
Answered

Calc and Post VAT Settlement Error

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

  • Yumiko Profile Picture
    Yumiko 318 on at
    RE: Calc and Post VAT Settlement Error

    thanks

  • Verified answer
    NAV_with_Narang Profile Picture
    NAV_with_Narang 2,236 Super User 2024 Season 1 on at
    RE: Calc and Post VAT Settlement Error

    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
    Yumiko 318 on at
    RE: Calc and Post VAT Settlement Error

    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)

  • Suggested answer
    NAV_with_Narang Profile Picture
    NAV_with_Narang 2,236 Super User 2024 Season 1 on at
    RE: Calc and Post VAT Settlement Error

    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

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans