Buyer guide

Simplifying and securing document attachments in ERP systems

ERP attachments (vendor invoices, receipts, contracts, delivery notes, employee documents) are business records, often holding personal or financial information. Simplify with consistent rules for what attaches where; secure them with role-based access, protected storage, retention rules and tested backups.

The short answer

Most ERPs (Sage X3, ERPNext, NetSuite and others) let users attach files to orders, invoices, journal entries, items and employees, and attachments drift into a second, unmanaged document store. To simplify: agree what goes where, name files consistently, attach each to the transaction it supports. To secure: role-based access, protected storage, scanned uploads, required retention and backups you have actually restored.

Why attachments matter

They are the evidence behind your entries (the invoice behind a payable, the receipt behind an expense claim, the contract behind a recurring bill), which auditors, the IRS and state tax agencies may request. Many hold personal information (employee records, customer identification, banking details) that privacy and security laws require you to protect.

Common problems

Scattered documents

ERP, email and shared-drive copies; which is authoritative?

Wrong record

A vendor invoice attached to the vendor, not the purchase invoice it supports.

Access too broad

Payroll or HR files visible to anyone opening a related record.

Large or unreadable files

Full-resolution receipt photos, or scans too faint to read.

No retention rules

Files kept forever, or deleted too early.

Backups that skip files

Database backups that leave out the file store.

Simplifying attachments

  1. Attachment policyList documents attached and the ERP record each belongs to.
  2. Consistent namesType, counterparty, number, date; PDF documents, compressed photos.
  3. Capture at sourceReceipts from a phone with expenses; invoices as payables enters them.
  4. Stop parallel storesNo "just in case" copies on a shared drive.

Attach to the transaction, not the master record, unless the document applies to all transactions (a vendor's banking confirmation or insurance certificate).

Platform help and automated capture
  • Frappe, the framework ERPNext runs on, can optimize uploaded images and lets administrators limit the number of attachments per document type (Frappe).
  • Automated capture (email-in or OCR) can reduce re-keying, but check its accuracy before trusting it.

Securing attachments

ControlWhat to do
Access controlAttachments often follow the record's permissions. In Frappe and ERPNext, anyone with read access to a document can access its attachments (Frappe), and permissions are managed through roles (ERPNext)
Private storagePrivate files (authorized users only), never public folders or buckets; cloud buckets block public access and are encrypted
Upload controlsRestrict file types, limit size, scan for malware. Frappe's default per-file limit is adjustable when self-hosted (Frappe)
Safeguards by sensitivityNo single federal privacy law, but a consistent expectation: the FTC treats unreasonable security for personal data as a potential unfair practice (FTC); state privacy and breach laws expect reasonable safeguards; the HIPAA Security Rule and GLBA Safeguards Rule set specific ones. Tightest for identification, banking and health information
Audit trailLog who uploaded, viewed, changed or deleted files, where supported

So role design is critical: whoever can read employee records can read their attachments. Review HR, payroll and banking roles first.

Retention, scanning and backups

Retention. IRS guidance generally ties how long you keep tax records to the period in which a return can be examined or amended: commonly three years from filing, longer in some situations, and at least four years for certain employment tax records. State tax agencies, payroll and employment laws (including Form I-9 retention) and contracts can set different periods, so agree a retention schedule with your accountant and counsel (IRS).
Format and scanning. Records created electronically should be kept in a form that can be read and reproduced on request. Paper may generally be imaged and originals destroyed if the images are legible, accurately reproduce the originals, are indexed so they can be found and can be printed when an examiner asks; otherwise keep the originals. Keep backup copies on separate media.

General information, not tax or legal advice; confirm with your accountant. Back up the file store with the database, keep one copy offline or immutable, and test that a restore brings attachments back on the right records.

Attachment health check

  • Written list of which documents attach to which ERP records
  • File naming and format rules documented and followed
  • Sensitive documents stored privately, never at public URLs
  • Roles that read HR, payroll and banking records reviewed
  • File types and size limits set; uploads scanned
  • Retention periods agreed with our accountant
  • Scanning meets IRS expectations for electronic records, or originals kept
  • Backups include attachments, and a restore has been tested
  • Duplicate stores (shared drives, inboxes) retired

Limitations

Settings differ by ERP product, version and hosting. Large volumes, engineering drawings or complex approvals may need a document management system linked to the ERP.

Next step

We configure ERPNext and Prometheus with role design, private storage, backups and retention in mind, and customize and automate document capture. Changing ERP? See preparing your data for migration.

Sources and further reading

Product capabilities and guidance change. These are the primary sources this article relies on, checked on the review date above.

  1. Attachments, Frappe Framework documentation
  2. Role Based Permissions, ERPNext documentation (Frappe)
  3. Internal Revenue Service, US Department of the Treasury
  4. Data security guidance, Federal Trade Commission

This article is general information, not legal, accounting or security advice for your specific situation. Examples are hypothetical unless stated otherwise.

Talk to Promatics

Get a straight answer for your situation

General advice only goes so far. Tell us about your environment and we will tell you what we would do, what it would cost and what to watch out for.

  • A named specialist who owns the outcome, not a chat window
  • Advice checked against your actual systems, contracts and risks
  • Written scope and costs in USD before any work starts