Any person entitled thereto may enforce such lien in any court of competent jurisdiction, by attachment issued by any officer authorized to issue such writs, upon executing bond as in other cases of attachment, and upon making affidavit that the attachment is not sued out for the purpose of vexing or harassing the defendant, and describing the property on which the lien is claimed and setting forth all the facts necessary to the creation of the lien under Section 35-11-110, and the amount due, and that one of the following causes of attachment exists:
(1) That the person for whom such vehicle, implement, machine, or article was made or repaired, or to whom sold, is the owner thereof, and that the price, if agreed on, or if not, the value of the same, or of the repair thereof, or some part of either, is due and unpaid.
(2) That the person for whom such vehicle, implement, machine, or article was made or repaired, or to whom sold, has transferred or sold the same to a purchaser with notice of the lien, and that the price, if agreed on, or if not, the value of the same, or of the repair thereof, or of some part of either, is due and unpaid.