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

Country/Region error while Opening Purchase Documents list

(7) ShareShare
ReportReport
Posted on by 272
Hi community,
 
I'm facing an error when I try to open purchase documents (Purchase invoice, purchase order etc) I just checked all country region codes on sales documents and purchase documents and found that each document have assigned coutry region code. 
 
I have the same question (0)
  • Suggested answer
    Aman Kakkar Profile Picture
    2,977 Super User 2026 Season 1 on at
    Hi,
     
    It seems like a custom code that's throwing error. You can either use debugger to find the root cause, or you can click on Show Details -> Copy Error Details, and paste the error here in the reply post.
     
    Hope this helps,
    Aman K
  • DynamicsBC Profile Picture
    272 on at
    Please find the error detail.

    If requesting support, please provide the following details to help troubleshooting:

    Error message:
    You must specify a country or region.

    Internal session ID:
    8773ac20-f07d-4567-ab32-54db1b7188ec

    Application Insights session ID:
    a43e1a4c-0c46-4cd8-abd3-0321a75a0c67

    Client activity id:
    97c24b57-9f3a-4b8a-9c83-98ddce72d32d

    Time stamp on error:
    2025-11-13T06:24:23.0288322Z

    User telemetry id:
    a2ab4977-fdea-486e-b3c6-bc1754327244

    AL call stack:
    "Country/Region"(Table 9).IsEUCountry line 8 - Base Application by Microsoft version 27.0.38460.42006
    "Sust. CaptionClass Mgt"(CodeUnit 6278).IsEUCountry line 7 - Sustainability by Microsoft version 27.0.38460.41512
    "Sust. CaptionClass Mgt"(CodeUnit 6278).CurCaptionClassTranslate line 83 - Sustainability by Microsoft version 27.0.38460.41512
    "Sust. CaptionClass Mgt"(CodeUnit 6278).ResolveCaptionClass line 3 - Sustainability by Microsoft version 27.0.38460.41512
    "Caption Class"(CodeUnit 42).OnResolveCaptionClass(Event) line 2 - System Application by Microsoft version 27.0.38460.41085
    "Caption Class Impl."(CodeUnit 55).ResolveCaptionClass line 11 - System Application by Microsoft version 27.0.38460.41085
    "Caption Class Impl."(CodeUnit 55).DoResolveCaptionClass line 2 - System Application by Microsoft version 27.0.38460.41085
    "UI Helper Triggers"(CodeUnit 2000000004).CaptionClassTranslate(Event) line 2
     

  • Suggested answer
    OussamaSabbouh Profile Picture
    11,297 Super User 2026 Season 1 on at
    Hello,
     
    This error usually means the Country/Region Code is missing somewhere in the related master data, not on the purchase document itself.
    Here are the most common places where it’s missing:
    1. Vendor Card
    Check: Vendor → Address → Country/Region Code
    2. Company Information
    Check: Company Information → Country/Region Code
    (very common cause)
    3. Ship-to Address
    If using a custom ship-to:
    Ship-to Address → Country/Region Code
    4. Customer/Vendor Templates
    If the document was created from a template missing the country code, BC throws this error.
    5. VAT / Tax Setup Extensions
    Some localizations also require country/region fields in tax-related tables.
    Fixing one of these almost always resolves the issue.
     
    Regards,
    Oussama Sabbouh
  • Suggested answer
    Pallavi Phade Profile Picture
    5,292 Super User 2026 Season 1 on at
    Namaste @DynamicsBC
     
    As per error shared the procedure ISEUCountry is being called. This Procedure is in Country Table . If the Country region is not present it will give error as mentioned in below label
     
     
    Can you verify its EU region ? 
     
    kindly check the masters , as VAT reporting plays an important role for EU countries . 
     
     
    Regards
    Pallavi Phade
  • Suggested answer
    TarikJerkovich Profile Picture
    293 on at
    Hi,
    The error is raised by the Sustainability extension while resolving a caption class that checks if a country is in the EU: Country/Region (Table 9).IsEUCountry. If any related address has an empty Country/Region Code, BC throws “You must specify a country or region.” even when opening the document.
    Where to fill Country/Region Code (check all):
    1. Company Information → Address → Country/Region Code
    2. Vendor on the document
      • Buy-from and Pay-to addresses
      • Vendor → Addresses (any additional addresses)
    3. Location used on the document (Receive-from/Ship-from address)
    4. Responsibility Center (if the document uses one)
    5. Ship-to Address on the document (if overridden)
    Quick way to find the culprit:
    • Open the purchase document and note Buy-from Vendor No. / Pay-to Vendor No. / Location Code / Responsibility Center.
    • Open each of those cards and make sure Country/Region Code is populated in the Address FastTab.
    • Also verify Company Information.
    If it still persists
    • As a temporary workaround, disable the Sustainability extension (or its features) in Extension Management.
    • Proper fix: ensure Country/Region Code is filled on every related address.
    KR
    Tarik Jeković

     
  • Suggested answer
    Jainam M. Kothari Profile Picture
    15,668 Super User 2026 Season 1 on at
    Hello,
     
    Need to ensure the Vendor card has a Country/Region Code populated, check Company Information and any custom addresses, and update missing codes in bulk if needed using a configuration package or script.
  • Suggested answer
    YUN ZHU Profile Picture
    98,231 Super User 2026 Season 1 on at
    It's recommended to have the developers debug it directly, as this will help pinpoint the problem quickly.
     
     
    Thanks.
    ZHU
  • Verified answer
    DynamicsBC Profile Picture
    272 on at
    Thanks to everyone.
    The error has been fixed.
    Actually one of team member changed the country region code in Business Central from PK to PAK and also in Business Central admin center was PK. so when I changed the country region code from PK (Same in Admin center) the error has gone. 
     
    Again thanks to everyone.

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

#2
YUN ZHU Profile Picture

YUN ZHU 1,063 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 1,014 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans