Code of Civil Procedure Article 531
Where a provisional attachment ruling is revoked either by reason of being improper ab initio or by reason of the provisions of the fourth paragraph of Article 529 or the third paragraph of Article 530, the creditor shall compensate the debtor for any losses incurred from the provisional attachment or the provision of a countersecurity.Where an action has been initiated with regard to the claim secured by the provisional attachment, the court of first instance shall, on the debtor's motion made before the conclusion of the oral argument, order the creditor to make the compensation provided in the preceding paragraph in the judgment on the principal case. The court shall inform the debtor of the availability of such motion if he/she has not done so.