Error message
Failed to create vendor with name ${vendor.name} because of required field(s) in NetSuite. Please create the vendor in NetSuite and try again.Affected ERP integrations
Oracle NetSuite
Cause
This error occurs when exporting reimbursements as vendor bills. Payhawk attempts to find a vendor in Oracle NetSuite with a name that exactly matches the employee's name. If no matching vendor is found, Payhawk tries to create one automatically.
The error occurs when the vendor record in Oracle NetSuite has required fields that Payhawk does not send during automatic creation, preventing the vendor from being created.
Solution
To resolve this issue:
Log in to Oracle NetSuite.
Manually create a vendor with a name that exactly matches the employee's name.
Fill in all required fields for the vendor record.
Save the vendor.
Return to Payhawk and retry the export.
If the issue persists, verify that:
The vendor name exactly matches the employee name, including spacing and capitalization.
All required fields on the vendor record are populated.
The vendor is active.