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...
Suggested Answer

Error message when posting an invoice in Business Central

(7) ShareShare
ReportReport
Posted on by 47
Hello! 
 
I am not able to post an invoice due to an error that I keep getting from Business Central. Never faced this issue before : The Payment Method does not exist. Identification fields and values: Code=''
 
For every other vendor there has never been such error therefore not sure how to solve it. 
Maybe someone faced the same issue before? 
 
Thank you in advance for any help!
I have the same question (0)
  • Suggested answer
    OussamaSabbouh Profile Picture
    13,008 Super User 2026 Season 1 on at
    Hello,
     
    This error means Business Central is trying to validate a Payment Method Code that is mandatory but empty (Code = ‘’), usually only for that specific vendor. Check the Vendor Card → Payments FastTab and either set a valid Payment Method Code or ensure it’s not required by setup. Also verify the Purchase Invoice header (it can override the vendor) and Purchases & Payables Setup / Vendor Posting Group, as customizations or localizations may enforce payment methods. This typically happens with copied or imported vendors where the field looks empty but is still required.
     
    Regards,
    Oussama Sabbouh
  • Suggested answer
    YUN ZHU Profile Picture
    99,090 Super User 2026 Season 1 on at
    Is this due to customization? As far as I know, Payment Method is not a required field.
    PS: Dynamics 365 Business Central: How to check whether the current page/report is standard or customized
     
    Thanks.
    ZHU
  • Suggested answer
    Dhiren Nagar Profile Picture
    2,898 Super User 2026 Season 1 on at
    Hi,
     
    I think this is some customization where you are flowing some values from Purchase Header to some other table.
     
    However you can try following to solve the issue.
     
    1 - Check Vendor Master and if on the vendor master in Payment tab Payment method code is blank, define it.
    2 - Check Purchase Invoice or Purchase order document header part - Payment method code field, if blank then define it.
     
    Usually this shall solve the issue. But make sure you handle this customization to show appropriate error that user can understand easily.
     
    Regards,
    Dhiren.
  • Suggested answer
    Aman Kakkar Profile Picture
    3,022 Super User 2026 Season 1 on at
    Hey,
     
    It simply means that "Payment Method Code" is blank somewhere, maybe in the selected Vendor or may be in the Document. 
     
    Best thing to do is to copy the Production environment into a sandbox and apply debugger to find the exact root cause.
     
    Also, you can Copy Error details from the Analysis view to get the error stack to track the origin of the error.
     
    Hope this helps.
    Aman K

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,949 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,064 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 559 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans