Automate

A small legal firm's PDF workflow, end to end

This is not about choosing software. It is about the sequence, because in a small practice the same handful of document jobs come back every week, and the cost is almost always in the second attempt rather than the first. Get the order right and the rework disappears.

The four jobs that recur

  • A stamp-paper agreement. One physical sheet, clauses to set out, a signature at the end.
  • An agreement to be signed remotely. Same content, no paper, and someone who needs to sign from another city.
  • A scanned filing. A stack of paper that must become a searchable PDF and be named consistently.
  • A numbered bundle. Many documents, one continuous numbering run, cited later by page number.

Agreement on stamp paper

The mistake is composing the agreement in a word processor and then trying to make it sit on a pre-printed sheet. Printing onto stamp paper that already has a header and a duty stamp means guessing where your text may start, and a print that lands two lines too high invalidates the sheet.

The order that avoids it:

  1. Photograph or scan the stamp paper first, before any text is written. From that point everything happens on the real sheet.
  2. Choose where writing begins so it clears the pre-printed content, and pick the paper size and colour that match the sheet.
  3. Compose on the page, not in a separate document. Because the editor is writing onto the actual sheet, what you see is what prints — there is no layout to shift on the way to the printer.
  4. Save the clauses as a named template the first time you write a standard agreement. The second copy of a lease or an undertaking is then typed once, not rewritten.
  5. Print, check the first sheet by hand, then sign.

The one structural fact to keep in mind: a stamp paper is a single sheet. If the agreement needs a second page, it cannot be another stamp paper. Rifinit's Legal workflow inserts a continuation page at the size and paper colour you chose, so the printed bundle reads as one document instead of a sheet with a plain page stapled behind it.

Agreement signed remotely

This is the same document with a different constraint: nothing is printed, and the signature has to be provably attached to the content that was agreed.

  1. Finalise the text first, or every signature becomes stale the moment a clause changes.
  2. Place the fields — signature, name, date — where they belong, and set an order if more than one person signs.
  3. Send and keep the sealed copy. The value of remote signing is that the signed version is a fixed artifact; the unsigned draft is not the document of record.

A scanned hand signature on a PDF is a picture of a signature. That is adequate for many internal purposes and inadequate where the question "who signed, and did the document change afterwards" will be asked. Decide which you have before the counterparty does.

Scanned filings

The order here matters more than the tooling, and the common failure is running OCR on a crooked page then wondering why the result is noise.

  1. Deskew before OCR. OCR reads what it is given; a tilted page defeats it before recognition starts.
  2. Set the language to match the document. A wrong language returns wrong words confidently.
  3. OCR at a sensible resolution — around 300 dpi for ordinary pages.
  4. Name the file from its contents, not from the scanner's default date stamp.
  5. Verify by searching the result for a distinctive word you can see on the page.

Numbered bundles

The single failure that costs the most is numbering one file at a time, so the counter restarts and the same number appears on four pages. Number the whole production in one continuous run, starting from the last page of the previous one. Set the file counter separately if the bundle continues an earlier production.

Two ordering rules that are easy to get wrong:

  • Number after OCR, not before. The stamp adds real text; if OCR runs afterwards, your page numbers enter the extracted body text of every page.
  • Number after the documents are final. Renumbering mid-matter means the index and the file disagree.

The recurring sequence

Where a job repeats with the same steps, the steps themselves are worth saving. A workflow that stores the sequence — deskew then OCR, or split then number — removes the decision from every future run, which is where the time actually goes.

The habit that matters more than any tool: decide the order once, write it down, and apply it before the first page is touched. What breaks a legal document bundle is almost never the software; it is a step run late.

Knowing which copy is the document of record

Every job above produces several files, and the question that recurs months later is which of them is the one that matters. Getting this wrong is not a formatting problem; it is a problem with what you can prove.

A practical hierarchy, weakest to strongest:

  • A working copy. The draft someone edited at midnight. Assume it will be overwritten and keep nothing important only here.
  • A scanned or printed copy. An image of a signature or a photograph of stamp paper. It shows what existed at that moment, to the standard of the scan, and nothing more.
  • A finalized unencrypted PDF. The content is fixed, but the bytes are not protected: anyone holding it can edit the text and re-save, and nothing in the file reveals that it happened.
  • A sealed or digitally signed copy. If the document was signed with a certificate, any later change invalidates the signature, which is exactly the property you want. This is the only tier that proves the document has not been altered since signing.

That hierarchy answers three different questions, and it is worth naming which one you are answering. Is this the text we agreed? is satisfied by a finalized copy. Did they sign this exact text? needs a sealed copy. Was this altered after signing? needs a digital signature and nothing less.

Two habits follow from it. First, decide the tier at the start of the matter, not when someone asks for the file. Second, never repair, re-compress or re-save a signed document to clean it up: every one of those operations rewrites the file and breaks the signature, quietly turning your strongest copy into a finalized one. If a signed file is damaged, preserve the original bytes and obtain a fresh copy instead.

A checklist for the practice, not the file

  1. Write the order down. One page per recurring job: the sequence, and the step that must not run early.
  2. Name files for retrieval, not for the scanner's timestamp. A matter that cannot find its own files will redo them.
  3. Decide the record tier per matter and note it. It changes nothing until the day it changes everything.
  4. Never repair or re-save a signed document. Keep the original bytes.
  5. Number once, at the end, across the whole production in one run.

Alex Roshid — Editorial lead, Rifinit. More about the author · How we write and review.

Open Workflows Read the full guide Browse all tools

Standards and sources: PDF parsing and writing follow the open PDF specification, documented in the Library of Congress format registry; the interface follows WCAG 2.2 (W3C). Rifinit is independent of both organisations.

By the Rifinit team. Published under the Alex Roshid byline. We build, test and document these PDF tools in-house: every guide is written by the same engineers who work on the converters, the editor and the OCR pipeline. Meet the team. Read how we write and review, our privacy policy and terms. Last reviewed .

Follow Rifinit Facebook LinkedIn Pinterest Reddit