After all vat and duties are paid customs will either release a shipment or it will be queried for further literature and documentation to ensure misdeclaration, in certain cases customs might stop a shipment for physical inspection.
Once these formalities has been concluded without issues customs will release the shipment.
Your agent will now receive a release from customs along with supporting documentation which permits collection thereof.