Invalid credentials. Bad credentials
There is an issue with the Supplier account information.
There are invalid credentials on the Supplier Record. Coupa is able to find the supplier record using the Supplier Account value on the supplier record, however the cXML credentials are either blank or incorrect for what is being passed in the cXML.
How do I fix it?
You should review the Supplier Record referenced in the error report and confirm the credential setup according to Supplier Configuration documentation.
The Supplier ID can be used to locate Supplier Record.
For example, based on Supplier OpCo # and secret of Coupa123 and Customer.coupahost.com/suppliers/show/30138, where "30138" is the Supplier ID referenced on the Error Report. Confirmation should be made on the following fields:
Allow CXML Invoicing and Advance Ship Noticing = Checked
CXML Invoice Supplier Domain = DUNS
CXML Invoice Supplier Identity = Supplier-XXX (Where XXX equals OpCO 3 Digit Number)
CXML Invoice Buyer Domain = DUNS
CXML Invoice Buyer Identity = Supplier-XXX (Where XXX equals OpCO 3 Digit Number)
CXML Invoice Secret = Coupa123
If it's a contract, Supplier Can Invoice Directly = Checked
<Status text='Unauthorized' code='401'>Invalid credentials. Bad credentials</Status>