Hi Bubai,
you can create a QM Control Key (which is used to QM View of Material Master) which you have to set the indicator Block Invoice. This indicator is blocked invoice with blocking reason I (I = Inspection) if there is still no usage decision for the inspection lot or the inspection lot is reject.
(SPRO -> Quality Management -> QM in Logistics -> QM in Procurement -> Define Control Keys).
Best Regards,
Apostolos