PIH
هاش الفاتورة السابقة
📖 Definition
Previous Invoice Hash (PIH) is a cryptographic hash of the previous invoice used to create a tamper-evident chain. Each invoice references the hash of the one before it, ensuring sequence integrity.
In everyday Saudi accounting work, pih matters because it affects invoice accuracy, financial reporting, tax filing, or ZATCA compliance depending on the transaction.
📖 التعريف بالعربية
هاش الفاتورة السابقة (PIH) هو تشفير هاش للفاتورة السابقة يُستخدم لإنشاء سلسلة مقاومة للتلاعب. كل فاتورة تُشير لهاش الفاتورة السابقة، مما يضمن سلامة التسلسل.
💡 Example
Invoice #102's PIH field contains the hash of Invoice #101. If #101 is altered, the chain breaks and ZATCA detects tampering.
حقل PIH في الفاتورة #102 يحتوي على هاش الفاتورة #101. إذا تم تعديل #101، تنكسر السلسلة وتكتشف زاتكا التلاعب.
When this term matters
Invoices
Use the correct term and value before issuing ZATCA-compliant invoices or credit notes.
Reports
Map it to the right account, tax field, or compliance report to avoid reconciliation gaps.
Compliance
Keep the Arabic and English meaning aligned when working with auditors, ZATCA, or customers.
Automate PIH with Qeemah
Qeemah accounting software handles pih automatically, ensuring ZATCA compliance and reducing manual work.