Skip to main content

Common Error: "Invalid Reference Id - Vendor referenced to in this transaction has been deleted"

This error appears during Purchase Order sync when QuickBooks Online can no longer find a vendor that Ply is referencing, usually because the vendor was deleted in Ply.

What's Happening

When syncing a Purchase Order to QuickBooks Online, you may see a sync error like this:

⚠️ Something happened during synchronization Not all data was synced with QuickBooks

  • PO 200511987J - ERROR CODE: 2580, ERROR MESSAGE: Invalid Reference Id, ERROR DETAIL: Invalid Reference Id: Vendor referenced to in this transaction has been deleted. Before you can modify this transaction...

This prevents the PO from syncing and updating properly in QuickBooks Online.


Why This Happens

This typically occurs when:

  • The supplier/vendor tied to the PO was deleted in Ply

  • QuickBooks Online still has a transaction (the PO) referencing that supplier, but the corresponding supplier record no longer exists on the Ply side to sync against

This is expected behavior, once a supplier record tied to a PO is deleted in Ply, QuickBooks Online blocks any transaction still pointing to it. It needs to be resolved by re-importing the supplier through QuickBooks Online.


How to Fix It

1. Identify the error

  • Open the Purchase Order showing the sync error

  • Note the error message and the supplier/vendor name referenced in it

2. Confirm the supplier was deleted in Ply

  • Go to Procurement > Purchasing > Suppliers

  • Search for the supplier name from the error

  • If the supplier no longer appears, this confirms it was deleted in Ply

3. Recreate the supplier in QuickBooks Online

  • Log into QuickBooks Online

  • Go to Expenses > Vendors

  • If the vendor does not exist, create a new vendor using the same name as the one referenced in the error

  • Save the new vendor

4. Create a temporary PO in QuickBooks Online to import the supplier into Ply

  • In QuickBooks Online, create a new Purchase Order assigned to the vendor

  • This PO will sync over to Ply, which imports the supplier record back into Ply's system

  • Once the supplier appears in Ply, delete the temporary PO in QuickBooks Online, it was only needed to bring the supplier over

💡 Note: This is currently the only known way to get a deleted supplier back into Ply creating the supplier directly in Ply does not restore the correct reference for syncing.

5. Reassign the supplier to each affected Purchase Order in Ply

  • Open each Purchase Order in Ply referencing the old (deleted) supplier

  • Update the supplier field to point to the newly imported supplier record

  • Save the change

  • Repeat for every PO tied to the deleted supplier, the supplier needs to be reassigned on a per-PO basis.

6. Retry the sync

  • Go back to the Purchase Order

  • Retry the sync to QuickBooks Online.

  • If needed, you can go to Catalog to run a supplier re-sync and try again


Quick Checklist

Before retrying the sync, confirm that:

  • ✅ The supplier was confirmed deleted in Ply

  • ✅ The supplier was recreated in QuickBooks Online

  • ✅ A temporary PO was created and synced in QBO to import the supplier back into Ply, then deleted

  • ✅ The imported supplier was reassigned to every affected Purchase Order in Ply

  • ✅ The sync was retried


Still Need Help?

If the error persists after recreating the supplier, Contact Support and share the PO number and error code so our team can take a closer look.

Did this answer your question?