Pih(previous invoice hash)

where will we use the Pih(previous invoice hash) ? or it will be static ?

Dear @AhmedTarekYA ,
Please note that the PIH for the first sent invoice from the EGS must be a “0” value encoded to base64. This sequence is associated with each device/PCISID onboarded, and after that, it will be the previous hash of the latest submitted invoice, whatever the type of invoice sent when using the same device.
Thanks

will it be used from zatca ? and what will happened if it is static each time ?

PIH should not be static value. PIH should be the Invoice hash value of previously submitted Invoice.