Payment file hash for manual-transfer exports
When you export a payment file for manual transfer, Continia Banking can calculate a hash of the file. A payment file hash is a fixed-length code created from a payment file. It helps verify that the file has not changed during creation, transfer, or processing. A hash lets you check the file against a stored value before you upload it to the bank. The hash applies only to payment files exported for manual transfer. It doesn't apply to files sent through direct bank communication.
Continia Banking calculates the hash if you specify an algorithm in the Export File Hash Algorithm field on the Banking Export Setup page, on the Payment FastTab. You can choose SHA-256 or SHA-512. If you leave the field blank, Continia Banking doesn't calculate a hash.
Continia Banking calculates the hash from the file you download. When you export a file, Continia Banking stores the following on the related payment register:
- The hash
- The algorithm
- The date and time of the calculation
- The user who exported the file
These values appear in the File Hash, File Hash Algorithm, File Hash Calculated At, and File Hash Calculated By fields on the Payment Registers page. The fields are hidden by default. To show them, personalize the page.
Verifying the file
Continia Banking calculates and stores the hash, but it doesn't verify files. The system that receives the file does the verification. For example, the system calculates the hash again before the upload and compares the new hash with the stored hash.
To get the hash without opening the payment register, the receiving system can subscribe to the OnAfterPaymentFileHashCommitted event. Continia Banking raises the event right after the export.
Note
Users with modify permissions on the payment register can change the stored hash. The hash therefore doesn't protect against tampering on its own.