NetSuite - Closing a Purchase Order via the UI or API

Currently, support for closing a purchase order via the API is a feature reserved for NetSuite's UI. You cannot close all associated items by closing a purchase order using the API.