Value for location was either blank or invalid
This error occurs when "Make Locations (or Departments or Classes) Mandatory" is enabled in NetSuite, meaning all records and transactions cannot save without the location (or Department or Class) field.
Currently, Bill.com does not allow for these classifications on payments or funds transfers. This setting needs to disabled in NetSuite for those to sync. In NetSuite, go to:
Customization > Forms > Transaction Forms, locate the form for the erroring transaction type and ensure that location/department/class is not a required field
Set up > Accounting > Accounting Preferences > uncheck "Make Locations (or Departments or Classes) Mandatory" settings.
Please note: This setting under Account Preferences will disable it for ALL records & transactions in NetSuite; it can be disabled and re-enabled as needed, to allow transactions to sync.
If this setting cannot be disabled, manually enter the transaction in NetSuite, then click Fix or Resolve on the sync error in Bill.com, select "I've updated this sentpay in NetSuite; remove this error and sync future updates." and Confirm/Next to clear the error.