A builder must not demand final payment under a major domestic building contract until—
(a) the work carried out under the contract has been completed in accordance with the plans and specifications set out in the contract; and
(b) the building owner is given either—
(i) a copy of the occupancy permit under the Building Act 1993 , if the building permit for the work carried out under the contract requires the issue of an occupancy permit; or
(ii) in any other case, a copy of the certificate of final inspection.
Division 6—Other matters