(a) Claiming costs (1)Trial costs A prevailing party who claims costs must serve and file a memorandum of costs within 15 days after the date of service of the notice of entry of judgment or dismissal by the clerk under Code of Civil Procedure section 664.5 or the date of service of written notice of entry of judgment or dismissal, or within 180 days after entry of judgment, whichever is first. The memorandum of costs must be verified by a statement of the party, attorney, or agent that to the best