Gates: linked records hold the door — What a gate says
Each gate names a route to related records and a condition they must satisfy: every linked Line Item's Status is Approved, the linked PO's Approval status is Posted, no linked Task is still Open. An invoice that carries unapproved line items simply cannot be posted, whoever is pressing the button — the gate is policy, not etiquette.