Skip to main content
Documentation
Docs
Esc

    Loading the search index…

    Document upload

    Which files applicants can upload, how uploads are checked, and what document reading does and does not look at.

    Each document a policy asks for gets its own upload slot on the applicant form, with the organization's label, description and instructions. A required document is marked with an asterisk. The file uploads as soon as the applicant picks it.

    Files the form accepts

    TypesJPG, PNG, WEBP, HEIC, TIFF or PDF
    SizeUp to 50 MB per file
    Files per uploadOne

    The slot shows these rules under the file control. Pagebread checks the file's actual contents, not only its name or the type the browser reports, so a file renamed to look like a PDF is refused.

    Note

    A flow can set tighter rules on a document: which of these types it accepts, a smaller size limit, a number of PDF pages, or how many files. A file that breaks them is refused before it is stored, with the reason, for example "This file does not meet the form’s rules." See Flow designer.

    Test runs on a try-out link accept files of up to 10 MB and at most 10 files.

    Which document is this?

    Some requirements accept more than one kind of document, for example a passport, a voter ID or a driving licence. Then the slot first asks Which document is this? The file control stays disabled until the applicant chooses, with the hint "Choose which document this is first. Then you can add the file."

    Once the file is up, the slot says what it was uploaded as. Pagebread does not work out the kind from the file. It records what the applicant chose.

    Replacing a file

    After an upload, the slot shows Uploaded and a Replace button. Replacing lets the applicant upload another file for the same slot.

    Warning

    The file uploaded earlier stays attached to the application. If it was the wrong file, the applicant should tell the organization, for example through a message on the member portal.

    Submitting with documents

    Submit Application waits while any upload is still running. If a required document is missing when the applicant submits, the form names it: "Please upload the required document: …".

    Document reading

    Pagebread can read text off some identity documents and turn it into values a reviewer can see and an evaluation can use. Reading runs only when all of these are true:

    • Document reading is switched on for the service.
    • Your plan includes it, and has pages left in its allowance. See Editions and limits.
    • The policy's document requirement names a kind Pagebread can read.

    It reads the first page of a PDF, or the image itself.

    What it reads

    DocumentValues it looks for
    AadhaarName, Aadhaar number, date or year of birth, gender, PIN code
    PAN cardName, PAN, date of birth, father's name
    PassportName, passport number, date of birth, date of issue, date of expiry, gender, nationality, place of birth
    Voter IDName, voter ID number, age, gender, father's or husband's name

    Values found are tidied (names, dates and numbers into one format) and checked for shape: an Aadhaar number has 12 digits, a PAN is five letters, four digits and a letter, a passport number is a letter and seven digits, and dates can be read as dates. For other kinds of document nothing is read; the file is stored and checked for presence like any other.

    What it does not do

    Document reading does not establish that a document is genuine, unaltered or belongs to the applicant. It reads text by pattern. A value read with low confidence does not satisfy the requirement: the evaluation marks it as failed or for review. Reviewers see what was read beside each document on the submission. See Evaluation.

    When reading is off or used up

    The upload always succeeds. Without reading, a requirement that depends on a value from the document is marked for review with a note to check it by hand, never as the applicant's omission. When your allowance is used up, the document is kept unread and is read later, once allowance is available again.

    The same happens when your plan's limit on documents read at the same time is reached: the document is kept unread and read shortly afterwards. Documents kept unread are read in turn across workspaces, so one busy workspace does not hold up another's. When a document is read later, a submission still in review is evaluated again. A page is counted against your allowance only for a document that is stored. If the upload fails after the page was read, or the applicant's connection drops before the document is saved, the page is given back.

    When uploads are busy

    Uploads are held to a fixed number at a time on each server, and one workspace's applicants can use only part of that, so a burst on one form doesn't hold up everyone else. An upload over either is answered "Please try the upload again in a few seconds." (503 UPLOADS_BUSY, with Retry-After), and nothing is stored. If the applicant's connection drops mid-upload, the work on that file stops and nothing is stored.