https://userapps.support.sap.com/sap/support/knowledge/en/3361083
3361083 - MIRO - Message M8087 "Invoice quantity greater than PO quantity (item without GR)" is not...
It is required that message M8087 is displayed when the Invoice is being posted with quantity higher than Purchase Order quantity.