Validating before the ERP entry is the line that matters most here. An invoice can be read perfectly and still be wrong for the business, whether the amount exceeds the purchase order or the goods receipt covers fewer units than billed. Routing those failures to a review queue with clear statuses, and creating only a draft in the ERP, keeps a person in control of the money while the routine cases move through.