Skip to main content
When Foliant issues a locked invoice or credit note, it records a SHA-256 hash of the PDF: a fingerprint that changes if even one character of the file changes. You can use it to check whether a PDF someone hands you, such as a customer or an auditor, is an original Foliant issued. The Verify a PDF button on the Issued invoices page

Verify a PDF

  1. In Foliant, open Issued invoices.
  2. Click Verify a PDF at the top of the page.
  3. Drop the file into PDF to verify, or click to choose it. It must be a PDF file.
  4. Click Verify.
Foliant hashes the file and looks for an issued document with the same hash. Either way, Foliant shows the file’s SHA-256 hash under the result, so you can note it for your records.

Why a real invoice can show “No match”

The check compares the exact file. A PDF that was opened and saved again, printed to PDF, or sent through a program that changes files no longer matches, even if it looks the same. Download the original again from the Issued invoices page to get a file that matches.

The hash chain

Each issued document’s record includes a hash of the record before it, so your issued documents form a chain. Changing a stored document, its total or its number, or deleting one, breaks the chain from that point on. Every time you open Issued invoices, Foliant checks the whole chain:
  • Every issued document is unchanged, with the number of documents checked. Everything is as it was issued.
  • A document was changed after it was issued: from the document it names, a stored document or its record no longer matches what Foliant issued. Contact support.

Good to know

  • The archive you download from Issued invoices includes each document’s PDF hash and record hash in its manifest, so you can check them without Foliant. See Download the archive and how long documents are kept.
  • Each document’s hash is also shown when you hover over the shield icon on its row.