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...
Answered

Error when using the Correct/Cancel button on Posted Purchase Invoice

(0) ShareShare
ReportReport
Posted on by 309

Hello, 

I'm getting the error below when using the Correct/Cancel button on a Posted Purchase Invoice. 

Direct Cost Applied Account must have a value in General Posting Setup

Why do I need to have a value in the Direct Cost Applied Account if I was able to post the original invoice with no issues? Is there a way to override this error?

Thanks 

Alejandra

I have the same question (0)
  • Suggested answer
    Vaishnavi J Profile Picture
    3,094 on at

    Hi ,

    if you have line type as Item in Purchase Invoice and you have post the Purchase Invoice without direct cost applied account been set in General Posting Setup system won't allow you to post the Purchase Invoice. Same goes for the Credit Memo as well.

    Can you check the GL entries which were hit when posted the purchase invoice?

    If your accounts are hitting same as below accounts structure then there was direct cost account set up on general posting setup but it was removed and you have to add it again in order to credit out your Purchase Invoice.

    A/C Name A/C Type Dr/Cr
    Inventory A/C Balance Sheet Dr 
    Direct Cost App Profit & Loss Cr
    Purchase A/C Profit & Loss Dr 
    AP Balance Sheet Cr

    If my answer was helpful to you, please verify it so that other users know it worked. Thank you very much

  • AleAlonso Profile Picture
    309 on at

    Hi,

    I did use an item (type = service) in the invoice line. These are the General Ledger Entries for my posted purchase invoice:

    -231.00 going to the AP Control GL

    38.50 going to VAT GL that has been defined in the VAT Posting Setup

    192.50 going to P&L GL that has been defined in the General Posting Setup

    so no Direct Cost app lines created.

    I'm still getting the error message when trying to Correct/Cancel the posted purchase invoice.

  • Suggested answer
    Vaishnavi J Profile Picture
    3,094 on at

    Hi,

    i tried to cancel the Posted Purchase Invoice with line type (Service Item). And I was able to credit out the Purchase Invoice without Direct Cost Account been setup in General Posting Setup.

    Do you have any extension installed in your environment?

    if yes Kindly uninstall the extension and then try to follow the same process.

    Also can you tell me what is your BC localization and its version?

    If my answer was helpful to you, please verify it so that other users know it worked. Thank you very much

  • AleAlonso Profile Picture
    309 on at

    Hi Vaishnavi,

    No extensions installed.

    Location UK

    Version: Version: GB Business Central 20.1 (Platform 20.0.39668.41524 + Application 20.1.39764.39901)

    Thanks

    Alejandra

  • Suggested answer
    Vaishnavi J Profile Picture
    3,094 on at

    Hi,

    I tried to cancel the posted purchase invoice in the GB version and I was able to recreate your issue it seems it is bug.

    Also I can see similar behavior in W1 version as well. But i was unable to recreate the same issue in US localization.

    If my answer was helpful to you, please verify it so that other users know it worked. Thank you very much

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

#2
YUN ZHU Profile Picture

YUN ZHU 1,158 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 533 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans