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

D365 Business Central 22.1 - Error canceling posted sales invoice

(0) ShareShare
ReportReport
Posted on by 5

Unable to correct/cancel or copy a sales invoice following the upgrade of Dynamics 365 Business Central to version 22.1.

Error message from Business Central:
Canceling the invoice failed because of the following error: The contents of the Payment Reference field cannot be copied to the Received-from Country/Region Code field because the size of the Received-from Country/Region Code field is too small. Type: Code10 <-- Code50 Field: Received-from Country/Region Code <-- Payment Reference Table: Sales Header <-- Sales Invoice Header.

We also looked at the result on a clean environment (CRONUS with no third-party extensions) same error.
Do you also get this error and how do you fix it?

Thank you in advance for your feedback. Have a nice day.

Regards

I have the same question (0)
  • KDeprest Profile Picture
    5 on at

    Is there any news on this problem we receive the same error message after the last update version 22.1

  • Tham Profile Picture
    16 on at

    Hi,

    FYI. Yammer thread: https://www.yammer.com/dynamicsnavdev/threads/2298379806392320 

    Thank you.

  • P.Chavaz Profile Picture
    5 on at

    Hi,

    We just update right now our DEV environment into 22.2...

    :( I confirm the error is still there unfortunately

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

#2
YUN ZHU Profile Picture

YUN ZHU 1,125 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 961 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans