Engagement · Public sector

Intelligent document processing for permit applications at a city government

A city permitting office stops retyping applications because documents are classified and extracted automatically, while uncertain fields go to an officer and decisions stay with people.

The situation

A city's permitting office handles building, renovation, signage and street occupancy permits, and applications reach it as PDFs uploaded to an online portal, by email and on paper at the counter. A typical building permit package contains an application form, proof of ownership, a site plan, drawings, a contractor's license, an insurance certificate and sometimes a letter from an engineer. Intake clerks open each file to work out what it contains, type the key details into the permitting system and check the package against the requirements list for that type of permit.

Most packages are incomplete when first submitted, but applicants find this out only when a clerk gets to the file, which during the construction season can be weeks later, and plan reviewers then receive cases that still lack documents. The city publishes its processing times and the council asks questions about them. It wants to take the waiting out of intake, and it needs the new process to remain explainable and accessible to all applicants while meeting its records obligations.

What was going wrong

  1. Clerks transcribe when they should be checking

    Clerks type the parcel number, site address, owner, contractor license number, estimated value and scope of work from the form into the permitting system. Their knowledge of what makes a package acceptable ends up being spent on data entry.

  2. One upload, many documents

    Many applicants scan everything into a single PDF in no particular order and sometimes include sideways pages or phone photos, while others upload fifteen separate files with names their scanner generated. Locating the insurance certificate means paging through the entire submission.

  3. Incompleteness found weeks late

    A missing ownership document or an expired contractor license is a simple fact that could be detected at the moment of submission. At present it is found only when the file reaches the front of the queue, at which point the applicant's wait starts over.

  4. Handwriting and old forms

    Applications made at the counter are handwritten, and several versions of each form are still in circulation. An extraction approach that assumes the current typed form will fail for the applicants who depend most on the paper route.

Our approach

In order
  1. Measure on real packages first

    We would take a sample of past applications that covers every permit type and channel and deliberately includes handwritten and poorly scanned ones, and have clerks label the document types and field values. Classification and extraction accuracy is measured field by field on that sample before the city commits to the build, and the same sample later serves as the regression test.

  2. Set thresholds field by field

    Each field is given a confidence threshold that reflects the cost of an error. A wrong parcel number sends a case to the wrong property, so that field needs high confidence and a match against the land records, whereas a free-text scope description can accept a lower threshold. The thresholds are agreed with the permitting manager and recorded in writing.

  3. Build the review screen around the clerk

    Any field below its threshold is displayed next to the highlighted region of the source page it came from, which allows the clerk to confirm or correct it from the keyboard without searching for the value. Each correction is stored and contributes to the next accuracy measurement.

  4. Automate the completeness check

    The requirements list for each permit type is turned into rules covering which documents must be present, which must be current and which fields must agree with one another. Shortly after submitting, the applicant receives a plain-language list of anything missing, and during the first phase a clerk reviews each list before it is sent.

  5. Start with one permit type

    Residential renovation permits come first, because they arrive in high volume and have a stable requirements list. New construction, with its drawing sets and engineering documents, follows once accuracy and clerk workload on the first permit type have been measured and are understood.

The design

The parts and what each one does
  • Single intake path

    Portal uploads, emailed applications and counter scans all enter the same queue, with the original files stored unchanged, so that each channel produces an identical structured case.

  • Splitting and classification

    Multi-document PDFs are split at the boundaries between documents, pages are rotated and cleaned up, and each document is classified by type with a confidence score. Documents the system does not recognize are labeled accordingly and routed to a clerk.

  • Field extraction

    OCR and extraction models, handwriting recognition among them, return each field with a confidence score and its page coordinates. Drawings are identified and indexed by sheet title, although the system makes no attempt to interpret them.

  • Validation against city records

    Parcel numbers and addresses are checked against the land records and GIS, contractor licenses against the licensing register and dates against validity rules, and any mismatch lowers the confidence score and sends the field for review.

  • Review and completeness workflow

    A workflow tracks whether each application is awaiting review, awaiting the applicant or complete. It sends deficiency notices, follows up resubmissions on timers and creates the case in the permitting system through that system's interface.

  • Audit and accuracy store

    For each field the store keeps the extracted value, its confidence, the model version and whether a clerk changed it, along with which clerk. It produces the accuracy reports and also meets the retention requirements.

Safeguards

What keeps a bad day small
  • No automated refusal

    The system can tell an applicant what appears to be missing, but it cannot reject an application and it does not assess whether a proposal complies with building or zoning codes, because those decisions belong to officers and plan reviewers.

  • Sampling of high-confidence fields

    Each week a clerk checks a random sample of fields that passed without review. If the error rate in that sample rises above the agreed level, the threshold for the field concerned is raised.

  • Accessible notices and an open paper route

    Deficiency notices and portal screens are tested against the Web Content Accessibility Guidelines using screen readers and keyboard-only navigation. The counter and paper route remains available, and applicants who use it receive the same notice by post.

  • Hosting and records rules agreed first

    Before any real application is processed, the city's information and records officers agree in writing where documents may be processed, which model services may be used and how long each record is to be kept.

Timeline

  1. Weeks 1 to 3

    Clerks label the sample and we measure accuracy by document type and field, agree thresholds and hosting constraints, and turn the requirements list for the first permit type into rules.

  2. Weeks 4 to 7

    We build the intake path, splitting, classification, extraction and record validation, and test the review screen with clerks on staging every week.

  3. Weeks 8 to 10

    The workflow, deficiency notices and permitting system interface are built and tested for accessibility, and the new process runs in parallel with manual intake on live applications.

  4. Weeks 11 to 12

    Residential renovation permits go live with a clerk reviewing every notice and weekly sampling in place, and the runbooks and the test set are handed over to the city's team.

What it changes

What the build is designed to change

Applicants find out what is missing from a package soon after submitting it, while the project is still fresh in their minds, where previously they would have heard only after the file had sat in a queue. Clerks spend their time on the fields the system is unsure about and on judging whether a package is acceptable, with the source page shown next to every value, and plan reviewers open cases that already contain the required documents, labeled and in order.

The city is also able to demonstrate how intake works. Every extracted value carries a confidence score, a model version and a record of any human correction, and the thresholds form a written policy that the permitting manager can tighten. The paper route remains in place and produces the same case as the portal, and the measures below are how the office would confirm whether these effects are being achieved.

How success is measured

  • Time between submission and a complete application being ready for plan review
  • Time between submission and the applicant receiving a deficiency notice
  • Correction rate for each field on reviewed items and on the weekly sample
  • Share of fields that pass without review, by permit type and by channel
  • Clerk time spent per application at intake, compared with the manual process

What generalizes

  1. Thresholds are set as written policy

    Deciding where the line falls between automatic acceptance and human review is a decision about how much error is acceptable, and the answer differs from field to field. The service owner should make that decision in writing, with the evidence from sampling in front of them.

  2. Register checks outweigh model confidence

    A parcel number that matches the land register and agrees with the address can be trusted for reasons that a confidence score cannot provide. Wherever an authoritative register exists, validation against it should count for more than the model's own certainty.

  3. Hard-to-read documents set the real workload

    A public body has no say over who applies to it. Measuring on handwritten forms, phone photos and outdated templates from the beginning reveals the true review workload, and it prevents the people who rely on paper from receiving a slower service.

All engagements

If you have a similar problem, a two-week review is the usual place to start.

Tell us what you are trying to do and where it is stuck. A principal reads every message and replies within one working day.

How we engage

Start a conversation.

A short paragraph is enough. A principal reads every message and replies within one working day.

Or email hello@farside.works. We use what you send only to reply. Privacy