Seals and verification
Every filled form carries three proofs.
1. A seal. Inside the file there is a document id and a code made from the form and its values. 2. A digital signature over every byte of the file. A PDF reader that checks signatures shows whether the file changed after it was signed. The certificate is our own, so the reader may add that it does not know the signer. 3. A ledger entry. We record a fingerprint of every PDF in a chained log, where each entry depends on the one before it. Changing an old entry breaks every entry after it.
Generated documents, such as an affidavit or a receipt, have the ledger entry only. If one is changed, the check says unknown rather than modified, because nothing inside the file says which document it was. A test copy of a form you uploaded has no signature.
We hold the ledger ourselves. GET /api/v1/verify/ledger walks the chain and shows its latest hash. A copy of that hash kept somewhere else is what would show the whole chain had been rebuilt.
How to check a PDF
A PDF reader that checks signatures shows whether the digital signature still holds. To check the seal and the ledger, send the file to the verify API, or ask us with its document id (Contact).
From code, send the PDF's bytes:
curl -X POST https://philforms.com/api/v1/verify \ -H "Content-Type: application/pdf" \ --data-binary @2307.pdf
The answer:
{ "status": "genuine", "doc_id": "3af307a3-…", "form_id": "bir-2307", "issued_at": "2026-10-10T08:56:17Z", "sha256": "…" }
doc_id is the X-Document-Id the fill returned, and sha256 is the fingerprint of the file you sent. A modified answer also has issued_sha256, the fingerprint of the file we issued, so you can see they differ. An unknown answer has doc_id: null.
Result · Meaning; genuine · PhilForms issued this file, and not one byte has changed.; modified · PhilForms issued this file, but someone changed it since.; unknown · This is not a document PhilForms issued.
genuine is about the file, not about what it says. PhilForms did not check the values typed into a form, and an agency did not issue the copy. A form that someone uploaded themselves has a form_id starting with cf_ and "is_uploaded_form": true: we filled that copy, and the words printed on the paper are the uploader's. Its digital signature says so too.
Good to know: a seal can't stop someone from editing a PDF. Anyone can edit any PDF. What it does is make every edit visible.