File Attachments
Upload photos, receipts, and documents to records.
File Attachments
A lot of farm life produces paper or photos — receipts, bills of sale, vet certificates, weighing tickets, lab results, photos of crop damage. Attach them to the relevant record so they're easy to find later.
Where you can attach files
| Record | Common attachments |
|---|---|
| Transactions | Receipts, invoices. |
| Sales | Bill of sale, weighing ticket. |
| Inventory purchases | Invoice, delivery note. |
| Animal records | Photo, registration certificate, vet certificate. |
| Animal acquisitions | Bill of sale, transfer paperwork. |
| Health records | Lab result, vet report. |
| Events | Damage photo, weather screenshot. |
| Harvest batches | Weighing ticket, quality assessment. |
| Inventory maintenance log | Service receipt, parts invoice. |
| Worker payments | Payment confirmation, signed receipt. |
If a form has a paperclip icon or Attach File button, it supports attachments.
How to attach
- Open the form (new or existing record).
- Click Attach File (or drag the file onto the form).
- Pick the file from your device.
- Optional — add a caption.
- Save.
The file uploads in the background and appears on the record once finished.
Supported file types
- Images —
jpg,jpeg,png,gif,webp,heic. - Documents —
pdf,doc,docx,xls,xlsx,csv,txt. - Other —
zipfor bundled documents.
Most files up to 10 MB are accepted. Larger files (e.g. high-res photos > 10 MB) are accepted but compressed.
Viewing attachments
On the record detail page:
- Images show as thumbnails. Click to enlarge.
- PDFs show as a preview icon. Click to open in a new tab.
- Other documents show as a download button.
Multiple attachments
Most records support multiple files. Each gets its own thumbnail. Reorder by drag if needed.
Captions
A short caption helps future-you (or a colleague) understand what each file is:
- ✓
Receipt — NPK 15-15-15 50 kg. - ✗
IMG_4827.jpg.
The caption is shown alongside the thumbnail.
Replace or delete
- Replace — open the attachment → Replace. The old version is archived (not deleted from history).
- Delete — open the attachment → Delete. Confirms before removing. Activity log captures who removed.
Storage and retention
Files are stored in Supabase Storage. Retention follows your plan:
- Standard plan — files retained as long as the record exists.
- Higher tiers — versioned, audit trail of every replace, longer cold-storage.
Backups include attachments.
Photo capture from mobile
On a phone browser:
- The file picker offers Take Photo as an option.
- Choosing it opens the camera directly.
- The photo uploads immediately.
This makes field documentation fast — see damage, snap, attached to the event in one minute.
Bulk upload
For records that need many files at once (a sale with multiple receipts, an animal with a packet of certificates):
- Drag-select multiple files into the attachment area.
- All upload in parallel.
Limits
- Up to 20 attachments per record.
- Up to 10 MB per file (200 MB total per record).
- Reasonable rate limits prevent runaway uploads from a single user.
If you hit a limit, archive older attachments (delete or move to your own storage).
Privacy
Attachments are visible to anyone with access to the parent record. They follow the same permissions. They're served via signed URLs — direct image links work only for authenticated users within your organization.
Sensitive data
Avoid attaching:
- Personal identification documents (ID cards, passports) — only if absolutely required for compliance.
- Payment card details — never.
- Anything with bank account / login credentials.
For sensitive records, use captioned references ("see vet's office for full lab report") instead of uploading.