Write SQL query to solve given problem: List all the purchase order ids of the vendor with a below average rating.. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT T2.PurchaseOrderID FROM Vendor AS T1 INNER JOIN PurchaseOrderHeader AS T2 ON T1.BusinessEntityID = T2.VendorID WHERE T1.CreditRating = 5