NetSuite Sync Error: INVALID_ INITIALIZE _REF: You can not initialize vendorbill: invalid reference [XXXX bill id]
This error occurs when a bill is attached to a PO in Bill.com, but the PO in NetSuite is still pending receipt of the items, and the NetSuite account does not have "Bill in advance of receipt" enabled.
There are 3 potential solutions here; you can choose which best fits your workflow:
Enable "Bill in advance of receipt" in NetSuite
- In NetSuite, go to Setup > Accounting > Accounting Preferences > Order Management > under Receiving, check the box for "Bill in advance of receipt"
- Save and sync
Delete the bill or unlink it from the PO in Bill.com, and recreate or relink the bill once the items have been received in NetSuite
Ignore the error until the PO items are marked as received in NetSuite; the error will then resolve and the bill will sync to NetSuite with the next sync after receipt