4 client fields and a 2 MB mail scan cap
RetainerWorth Editorial Team · Published · Checked · 14 min read
A client record in Invoice Ninja can carry up to four custom fields, and each contact under it gets its own four, while a Microsoft 365 transport rule inspects only the first 2 MB of text extracted from an attachment. These two limits sit at different stages of intake and do not interact directly.
- The 2 MB cap measures extracted text, not file size; a 3 MB file may contain less than 2 MB of text and be fully inspected.
- The four custom fields are free text, so consistency depends on written conventions and training.
- Client-level fields describe the entity; contact-level fields describe the person — you do not get eight fields on one record.
- Critical rule triggers should sit in the email body or near the front of the attachment, since content past the extraction cap is invisible to the rule.
- If a scan may carry no text layer, treat that as a gap in coverage and move the check to human triage.
What this post is about
If you run a small law firm and new clients arrive by email, two numbers will shape how you set up intake. First, a client record in a tool like Invoice Ninja can carry up to four custom fields, and each contact of that client can also carry four. Second, a transport rule in Microsoft 365 mail looks at only the first 2 MB of text pulled from an attachment, not the whole file size. The two limits sit at different stages of intake: one bounds what a mail rule inspects, the other bounds what a record can hold.
This post walks through both numbers in plain language. It explains where each limit sits in your intake path, what breaks when you push past them, and how to design intake around them. The specific figures quoted here come from the Microsoft and Invoice Ninja statements linked and cited below. Anything the sources do not settle, you should ask your mail administrator or your Invoice Ninja reseller directly.
What the client record can hold
Invoice Ninja lets you attach custom data to both a client and each contact under it. The documentation is explicit: you can add up to 4 custom fields for both the client and also each contact of the client. That gives you four free-text slots on the client record itself, and four more on every contact linked to that client.
In practice, a client in this system can either represent a person or a company, so you choose which entity the custom fields describe. The fields are free text, meaning you can store whatever strings your workflow needs: an internal reference code, a site contact name, delivery-style instructions, or a short case note.
Here is how the four client slots usually get used on a small firm's intake desk, compared with what each slot cannot do:
| Slot or limit | What it holds or inspects | What it does not cover |
|---|---|---|
| Custom Value 1 | Free-text client info | Anything past the client level |
| Custom Value 2 | Free-text client info | Contact-level detail |
| Custom Value 3 | Free-text client info | Attachments |
| Custom Value 4 | Free-text client info | Contact-level detail |
| 2 MB scan cap | First 2 MB of text extracted from an attachment | The rest of the extracted text, and the file itself |
Because the fields are free text, nothing enforces structure. If you decide slot 1 always holds an internal matter code, you have to train everyone to type it the same way every time.
Each contact under the client gets its own four slots. That matters if a client is a company with several people. The company-level fields describe the organization. The person-level fields describe that individual. You do not get eight fields on one record; the four and four sit at different levels.
The documentation frames these as "Custom Value 1-4 - Four free-text fields for any extra information you want to store against the location (for example site contact, delivery instructions, internal reference)." The word "location" in their wording refers to the record you are editing: the client or the contact. Read it as four slots for each record level, not four slots across the whole system.
Four slots go fast once intake starts filling them. A common pattern is: slot 1 for your internal intake code, slot 2 for how the client found you, slot 3 for conflict-check status, and slot 4 for anything specific to the matter. When a fifth item appears, you either fold it into an existing slot with a delimiter, move it into notes, or accept that it will not live in a structured field.
What the mail rule can see
Microsoft 365 mail transport rules can examine attachment content to help you route, flag, or hold messages as they flow through. The limit on that inspection is narrow and easy to misread. Microsoft states that only the first 2 MB of the text extracted from an attachment is inspected when a transport rule looks at attachment content.
Two clarifications from Microsoft prevent the usual confusion. First, this 2 MB limit refers to the text extracted from the attachment, not to the file size of the attachment. A PDF that weighs on disk might yield only a small amount of extractable text, and a small file could yield more text than you expect.
Microsoft gives a concrete illustration: a 3 MB file may contain less than 2 MB of text, so all of the text would be inspected. The size of the file you see in your inbox and the size of the text a rule reads are two different measurements.
For an intake rule, this means that content sitting past the first 2 MB of extracted text is invisible to the rule. If you write a rule that looks for a phrase deep in a long scanned document, and that phrase lands beyond the cap, the rule will not fire. The message will pass through as if the phrase were absent.
Scanned attachments are the common case for law firms. A client sends a signed engagement letter or a bundle of prior correspondence as a scan. The scan is an image inside a PDF. If it does not, there may be little or no text to inspect at all, regardless of the file's weight on disk.
The cap applies to text extracted from the attachment, as Microsoft's wording states. If extraction produces nothing, the rule has nothing to read.
Transport rules are not the only tool that touches attachments. Do other layers, such as antivirus, data loss prevention, or third-party intake scanners, enforce their own caps? Ask your mail administrator what each layer enforces. Microsoft's 2 MB figure describes transport rule conditions only, so ask your mail administrator what caps your other layers enforce before you design a rule chain around any one number.
Where each limit sits in your intake path
Think of an intake email as passing through a corridor with rooms. The message arrives. A transport rule may inspect attachment text in the first room. The message lands in a shared inbox. Someone triages it. Details get typed or pasted into your client record. The record holds the structured bits in the four custom fields, plus whatever unstructured text lives in notes or attachments.
The 2 MB cap operates in that first room. It governs what automated rules can see before a human touches the message. The four custom fields operate in the last room. They govern what you can store in a structured way once the information is in your system.
These two limits do not interact directly. Do not assume a rule will populate custom fields; keep rule logic and record entry as separate steps you design deliberately. A custom field does not affect how much of an attachment a rule can inspect. They simply bound two different stages of the same journey.
Your design question is therefore twofold. First: what must the automated rule catch early, and is that content within the first 2 MB of extracted text? Second: what must live in a structured field on the client record, and do the four slots for each record level cover it?
If your answer to the first question involves content that may sit beyond the extraction cap, the rule is the wrong tool for that job. Move the check later, into human triage or a downstream system that reads the full attachment.
If your answer to the second question needs a fifth structured field, decide now where the overflow goes. Notes are the usual home. Anything you plan to report on should stay in a field rather than in notes.
Designing intake around four fields
Start with the fields that must stay consistent across every client, because consistency is what makes them useful. A field that holds different kinds of data for each client has an inconsistent meaning, so its values are harder to compare across clients.
Pick your four slots before you import anyone. Write down what each slot means in one sentence. Put that sentence somewhere your staff will see it when they type. A field whose meaning lives only in one senior staffer's head will drift the moment that person is away.
Reserve the client-level four for facts about the entity: the client itself. Reserve the contact-level four for facts about the person: how to reach them, their role, their preferences. Mixing levels is how firms end up with a phone number sitting in a company field.
Because a client can either represent a person or a company, decide your convention early. If a sole practitioner is both, do you create one record or two? The source does not settle that choice, so set your own rule and apply it every time. Ask your Invoice Ninja administrator or reseller if you want their recommended pattern.
Free-text fields reward short, scannable values. Long paragraphs belong in notes or documents. A slot you fill with a three-line narrative is a slot you cannot scan down a list of clients.
Train the desk to fill fields at the moment of intake, not later. A field left blank at creation tends to stay blank. The value of a structured field comes from completeness, and completeness is a habit, not a setting.
Assigning the four slots
A working assignment for a small firm's client-level fields might look like this:
- Intake code — a short internal identifier you assign at first contact.
- Source — how the client reached you, in a fixed set of words.
- Conflict status — a short marker showing where conflict checking stands.
- Referral — who sent the client, or the matter type if referrals are not tracked.
You may choose different labels. What matters is that each slot has one meaning, stated in writing, and that nobody invents a fifth meaning for a slot already in use.
Contact-level fields often carry different content: preferred contact method, role at the company, billing contact status, and a short personal note. Keep those separate from the client-level set so a person's details never overwrite an organization's details.
Designing intake around the 2 MB scan cap
Write your transport rules as though only the first 2 MB of extracted attachment text exists, because for rule purposes, it does. Anything you need the rule to catch should appear early in the document or in the message body itself.
Put critical markers in the email body when you can. The body is not subject to the attachment extraction cap. If a client's matter number must trigger a rule, the body is the safer place for it.
If you rely on the attachment, keep the trigger content near the front. Keep the trigger content near the front and confirm with your own sample documents that it falls within the first 2 MB of extracted text.
Test with the actual attachments your clients send. Send yourself a scanned engagement letter, a long PDF bundle, and a small image-only file. Run your rule against each and confirm it fires. A rule that works on your test file may fail on a client's scan if the text sits past the cap or if no text layer exists.
Remember that file size on disk and extracted text size are different measures. Do not use the file size you see in your mail client as a proxy for what the rule can read.
Ask your mail administrator what your transport rule stack actually inspects and what it skips. If your firm also runs data loss prevention or antivirus scanning on attachments, those tools have their own thresholds. The 2 MB figure describes transport rule conditions only, so confirm each layer separately before you rely on any of them to catch a specific phrase.
If a required check cannot live reliably within the extraction cap, move it to triage. Have a person open the attachment and confirm the detail. Automation is a speed tool, not a substitute for a step the automation cannot perform.
Common failure patterns
Fifth-field creep. A new intake item appears and someone writes it into field four, which already means something else. The field now holds two meanings and can no longer be filtered cleanly. Prevent this by naming the overflow home now and sticking to it.
Rule fired on partial text. A transport rule flags messages containing a phrase. A client's long scan carries that phrase past the extraction cap. The rule misses it. Nobody notices until the matter is well underway. Test rules against your real document types, not synthetic samples.
File size mistaken for text size. A staff member sees a 4 MB PDF and assumes the rule read 4 MB of text. The file might carry very little extractable text, or text far past what the rule inspects. The number to reason about is extracted text, not attachment weight.
Two records for one client. The team cannot agree whether a person gets a person record or a company record, so both get created. Downstream, custom fields split across two records and neither is complete. Set the convention before the first import.
Fields filled inconsistently. "Referral," "referred by," and "source" all end up in the same slot across different staff. The field still has four values but no longer answers one question. Fix the vocabulary first; the software will not do it for you.
Overflow into notes without a rule. The fifth item goes into notes because there is no field. Six months later, nobody can find it because each person wrote it differently. If an item must be retrievable, either give it a field or give notes a strict format.
A checklist before you go live
Use this before your firm's first intake batch flows through the new setup.
- Confirm your four client-level slot names and their one-line meanings.
- Confirm your four contact-level slot names and keep them distinct from client-level.
- Decide whether a person who is also a business gets one record or two, and write the rule down.
- Write your transport rules as if only the first 2 MB of extracted attachment text will be read.
- Put critical trigger content in the email body where possible.
- Test rules against scanned PDFs, image-only files, and multi-page bundles.
- Confirm with your mail administrator what each attachment-inspecting layer reads and what it skips.
- Agree on where overflow goes when a fifth structured item appears.
- Train the desk to fill fields at intake, not days later.
- Assign one person to own field meanings and update the written list when anything changes.
Related guides: Company client conflict check: 3 intake decisions · 2 response times to log for a client's EIN and ITIN intake · Engagement authority: 5 fields for client instructions.
FAQ
Do the four custom fields apply to attachments or to the record? They apply to the record. Each client gets four free-text custom fields, and each contact under that client gets its own four. Attachments are separate objects and are not covered by these fields.
If my PDF is 2 MB, will the rule read all of it? Not necessarily. The cap measures text extracted from the attachment, not the file's size on disk. A 3 MB file may contain less than 2 MB of text, in which case the whole of that text would be inspected.
Can I add a fifth custom field later if I need one? The documentation allows up to 4 custom fields for the client and up to 4 for each contact. It does not describe a fifth. Plan around four, and put anything extra in notes with a consistent format.
Other scanners have their own limits, so confirm each layer with your mail administrator.
What if my client's scan has no text layer? That check has to happen in triage, by a person opening the file. That check has to happen in triage, by a person opening the file.
Who should I ask about setting the fields up? Ask your Invoice Ninja administrator or reseller for field conventions that match your workflow, and your mail administrator for how transport rules and other scanners treat attachments in your tenant.
Where do long narratives go if not in a field? Notes, documents, or your matter file. Keep fields for short, filterable values. Anything long belongs where staff can read it in full, not in a slot meant for a scannable marker.
Does the 2 MB cap affect what I can store on the client record? No. The cap describes what a mail transport rule inspects as a message passes through. Once information is in your client record, storage is governed by the field limits of that system, not by the mail rule.