
Article Summary
IRS Rev Proc 97-22 decoded for invoice storage. Six requirements, paper destruction guidance, three format types, retention periods, and audit preparation.
The IRS accepts electronically stored invoices in place of paper originals under Revenue Procedure 97-22. To qualify, your digital storage system must satisfy six requirements: accurate and complete transfer of the original document, an indexing system that enables retrieval by any designation used on the original, the ability to reproduce legible copies on demand, quality assurance testing of your storage procedures, reasonable controls against unauthorized access, and retention for the full statutory period applicable to each record. Under IRC Section 6001, every taxpayer must keep records sufficient to support their tax returns. Revenue Procedure 97-22 defines the specific conditions under which electronic storage satisfies that obligation, and if your system meets all six requirements, the IRS treats your digital invoices as equivalent to the paper originals for examination purposes.
This guide breaks down the full scope of IRS electronic invoice storage requirements into actionable compliance steps. You will find:
- The six Rev Proc 97-22 requirements decoded into practical, implementable terms
- The companion Rev Proc 98-25 and its additional obligations for businesses using automated accounting systems
- Compliance pathways for three distinct invoice format types: scanned paper invoices, born-digital PDFs, and structured e-invoices
- Clear guidance on when you can safely destroy paper originals after scanning
- Retention periods organized by business situation, from standard three-year minimums to extended holds
- How to prepare your electronic invoice records for an IRS audit
Most compliance guides treat invoice storage as interchangeable with receipt storage. Invoices carry distinct requirements that generic advice overlooks. Vendor documentation chains, payment trails linking purchase orders to disbursements, and multi-party matching between POs, receiving reports, and invoices all create compliance considerations that do not apply to simple transaction receipts. If you are asking whether you can store invoices electronically for the IRS, this guide addresses the specific recordkeeping demands that invoices impose.
The Six Requirements of Revenue Procedure 97-22
Revenue Procedure 97-22 is the IRS ruling that governs how businesses may store paper documents electronically through imaging systems. If you are scanning paper invoices and storing them digitally, this procedure defines what the IRS considers an acceptable electronic substitute for the original. Meeting all six requirements is mandatory before you can rely on digital copies as your official tax records.
Here is each requirement translated into practical terms for invoice storage:
1. Accurate and Complete Transfer
The electronic version of every invoice must faithfully reproduce the original document, including all text, graphics, logos, and formatting. A blurry scan that cuts off line items or drops a vendor's tax ID number fails this requirement. Your scanning resolution and process must produce images that are identical in content to the paper originals.
Practical implication: Establish minimum scan quality standards (300 DPI is a common baseline for text documents) and verify that multi-page invoices retain every page. Color invoices with color-coded information should be scanned in color.
2. Indexing System
Your storage system must allow the IRS to locate any invoice using designations an examiner would reasonably use: invoice number, vendor name, date, dollar amount, or purchase order number. This is not optional metadata tagging. The IRS expects structured, searchable data fields tied to each stored invoice.
Practical implication: Simply saving scanned PDFs into folders is not sufficient. You need a system that extracts key data points from each invoice and makes them searchable. Every digitized invoice should be associated with at minimum the vendor name, invoice number, invoice date, and total amount as discrete, queryable fields.
3. Retrieval Capability
The system must be able to reproduce a legible hardcopy of any stored invoice on demand and within a reasonable time frame. The IRS can request individual invoices or entire batches, and your system must handle both. "Reasonable time" is not precisely defined, but producing records should take minutes or hours, not days or weeks.
Practical implication: Your archive needs reliable print and export functionality. If an examiner requests all invoices from a specific vendor for a given tax year, you must be able to pull and print that batch without manual searching through thousands of files.
Businesses that need to build structured, searchable invoice metadata from paper or digital documents can automate invoice data extraction for IRS-compliant digital archiving. A purpose-built extraction platform pulls invoice numbers, dates, vendor names, and amounts from each document and outputs them in structured formats (Excel, CSV, JSON), with each row referencing the source file and page number for audit trail verification. For guidance on capturing data from paper invoices digitally, the extraction process itself is a critical step in building a compliant archive.
4. Quality Assurance Program
You must maintain a documented process for verifying that your digitized invoices match their paper originals. The IRS does not prescribe a specific method, but your program must be consistent and defensible. A practical approach: after each scanning batch, pull 5-10% of invoices at random and compare the digital version against the paper original for completeness and legibility. Document that this check was performed and by whom. Random sampling, systematic spot-checks, and automated image quality verification all qualify as long as the process is written down and followed consistently.
5. Reasonable Controls
Electronic records must be protected against unauthorized access, alteration, and destruction. At minimum, implement role-based access so that only authorized personnel can modify or delete invoice records. Maintain an activity log that tracks who accessed or changed records and when. Run regular backups to a separate location, and test your ability to restore from those backups periodically. These three areas, access controls, audit trails, and backup procedures, form the "reasonable controls" the IRS evaluates when reviewing your electronic storage system.
6. Retention for the Statutory Period
Electronic invoice records must be maintained for the full retention period required by the applicable tax provision. For most business invoices, this means at least three years from the date the return was filed, though specific situations can extend the requirement to six or seven years. The digital copies must remain accessible and legible for the entire duration.
Practical implication: Your storage solution must guarantee long-term accessibility. File formats should be stable (PDF/A is preferred for archival purposes), and you need a plan for migrating records if you change storage platforms. Deleting electronic invoices before the retention period expires puts you in the same position as destroying paper records prematurely.
Revenue Procedure 97-22 governs the electronic imaging of existing paper documents. However, many businesses today receive invoices electronically or generate invoice records through accounting software and ERP systems. These electronically created records fall under a companion ruling, Revenue Procedure 98-25, which covers records generated by automated data processing systems and carries its own set of requirements.
Revenue Procedure 98-25: Requirements for Automated System Records
Revenue Procedure 97-22 covers one half of the digital invoice compliance picture: electronic images of paper documents. But most businesses don't just scan invoices and file them away. They enter invoice data into accounting software, run it through ERP systems, extract line items into spreadsheets, or process it through AP automation platforms. These system-generated and system-maintained records fall under a separate IRS standard: Revenue Procedure 98-25.
Rev Proc 98-25 governs records created, processed, or maintained by automatic data processing (ADP) systems. Any time your accounting software generates a journal entry from an invoice, your AP platform extracts payment terms from a PDF, or your ERP system logs a purchase order match, those digital records carry their own retention and accessibility obligations, independent of the scanned invoice image itself.
How Rev Proc 98-25 Differs from Rev Proc 97-22
The distinction is straightforward:
- Rev Proc 97-22 applies to electronic images of paper documents, meaning the scanned copies of invoices you received on paper.
- Rev Proc 98-25 applies to digital records within your processing systems, meaning the invoice data living in your accounting software, the extracted fields in your databases, the transaction records your AP automation tool generates.
A scanned invoice PDF sitting in your document management system falls under 97-22. The corresponding accounts payable entry in QuickBooks, the extracted data in your automation platform, or the payment record in your ERP falls under 98-25.
Core Requirements Under Rev Proc 98-25
For businesses maintaining invoice data in ADP systems, Rev Proc 98-25 imposes four primary obligations:
-
Maintain machine-sensible records sufficient to establish tax compliance. Your electronic invoice records must contain enough detail to verify the accuracy of your tax return. Summarized or aggregated data is not sufficient if the underlying detail records exist electronically.
-
Retain all electronic records in a retrievable format. You cannot delete, overwrite, or allow digital invoice records to become inaccessible. If your accounting system generated the record, the IRS expects you to be able to retrieve it for the full retention period.
-
Provide documentation of the ADP system itself. This includes record formats, processing codes, system design documentation, and any information the IRS would need to understand how your system stores, processes, and outputs invoice data. If an examiner cannot interpret your records without this documentation, you are not in compliance.
-
Make records available to the IRS upon request. Your system must be capable of producing records in a format the IRS can process and review. This includes the ability to export data, generate reports, and provide access to the electronic records during an examination.
Why Most Businesses Face Both Procedures Simultaneously
Here is where compliance gets practical: the majority of businesses are subject to both revenue procedures at the same time. You receive a paper invoice, scan it (Rev Proc 97-22 applies to that image), then enter or extract the invoice data into your accounting system (Rev Proc 98-25 applies to those digital records). Each set of requirements governs its respective record type independently.
Ignoring one procedure while following the other creates a compliance gap. Your scanned images could meet every 97-22 requirement, but if your accounting system's digital records are not retrievable, documented, or available for examination, you have a problem under 98-25.
Which procedure applies depends in part on the format of the invoice itself.
Compliance Pathways for Three Invoice Format Types
Most businesses receive invoices in three distinct formats, and each carries different compliance considerations under IRS revenue procedures. Understanding which pathway applies to each format prevents gaps in your record-keeping that could surface during an audit.
Scanned Paper Invoices
Paper invoices converted to digital images fall squarely under Revenue Procedure 97-22. The scanning process must produce an accurate and complete reproduction of the original document, including all line items, tax amounts, vendor details, and any handwritten notes or annotations.
Your business must maintain a quality assurance program that verifies scan fidelity. This means spot-checking scanned images against originals before destruction and documenting the verification process. At the time of scanning, metadata such as invoice number, date, vendor name, and amounts must be captured and indexed so the record is retrievable through your electronic imaging system.
The original paper invoice can be destroyed only after you have verified the digital copy satisfies all six Revenue Procedure 97-22 requirements. If your organization handles large volumes of paper invoices, professional invoice scanning services for digitization can help establish a compliant conversion workflow with built-in quality controls.
Born-Digital PDF Invoices
Invoices received as PDF attachments through email or downloaded from vendor portals are already electronic records. They skip the "accurate transfer" step required for scanning, but they still must meet every other IRS requirement: proper indexing, reliable retrieval capability, mandated retention periods, and appropriate access controls.
Since the PDF is the original record, there is no paper destruction decision to make. However, the key compliance obligation is storage location. PDFs buried in email inboxes or scattered across individual employee desktops do not meet IRS electronic imaging requirements for indexing and retrieval. These files must reside in a system where they can be located by vendor, date, amount, or invoice number and produced promptly if requested.
Structured E-Invoices
Invoices received as structured data, whether through EDI transmissions, XML files, or dedicated e-invoicing platforms, are classified as ADP records governed by Revenue Procedure 98-25. The structured data itself is the official record, not a printed or converted version of it.
Businesses must retain this data in its original machine-sensible format and maintain documentation of the system that processes it, including data dictionaries, file layouts, and processing logic. Converting structured e-invoices to PDF for easier viewing and archiving is acceptable, but the original data format should also be retained to satisfy Rev Proc 98-25's requirement that records remain in machine-readable form.
Handling Mixed Formats
In practice, most AP departments deal with all three formats simultaneously. A single vendor might mail paper invoices one quarter, then switch to emailing PDFs the next, while larger suppliers transmit structured EDI data. Your storage system must accommodate each type under its applicable compliance pathway rather than forcing all invoices into a single workflow that satisfies only one set of requirements.
For businesses handling paper invoices alongside digital formats, the most pressing operational question is timing: exactly when can you safely shred those paper originals after scanning?
When You Can Safely Destroy Paper Invoices After Scanning
The most common question businesses ask when transitioning to paperless invoice processing: can the paper originals be destroyed? Yes, but only after your electronic storage system satisfies every requirement outlined in Revenue Procedure 97-22.
The IRS does not require you to keep paper invoices indefinitely once you have created compliant digital copies. However, "compliant" is doing heavy lifting in that sentence. Your system must meet all six requirements covered earlier in this guide before a single page hits the shredder.
Conditions to Meet Before Destroying Paper Invoices
Before you destroy any paper invoice originals, confirm that each of these conditions is satisfied:
-
The digital copy passes quality verification. Every scanned image must be legible, complete, and an accurate reproduction of the original. Faded text, cut-off edges, or missing pages disqualify the scan.
-
Metadata has been extracted and indexed. The invoice must be searchable by number, vendor name, date, and amount at minimum. A folder of unsorted image files does not meet the IRS indexing requirement.
-
Access controls and backup procedures are in place. Your storage system needs documented user permissions, audit trails, and redundant backups. If the only copy lives on a single hard drive with no access restrictions, you are not ready to destroy originals.
-
Your quality assurance process is documented. The IRS expects you to have a written procedure explaining how you verify scan quality, who is responsible, and how exceptions are handled. This documentation itself becomes part of your compliance record.
A Practical Destruction Process
Meeting those four conditions is the threshold. The actual destruction workflow should follow a disciplined sequence:
- Verify each scanned batch against the originals using sampling. Pull a random percentage of invoices from each batch and compare them side by side with their digital counterparts. A 10-20% sample rate is a reasonable starting point for most businesses.
- Wait at least 30 days after scanning before destruction. This buffer gives your team time to catch scanning errors, metadata mistakes, or system issues before the originals are gone permanently.
- Maintain a destruction log. Record what was destroyed, the date of destruction, who authorized it, and the date range and batch identifier of the invoices involved. This log is your proof of process if the IRS ever asks.
- Use secure destruction methods. Shred paper invoices rather than tossing them in recycling. Invoices contain vendor details, payment amounts, and account numbers that create real exposure if they end up in the wrong hands.
State and Local Requirements May Differ
Federal IRS rules are only one layer. Many states impose their own retention requirements for sales tax, franchise tax, or other obligations, and those requirements may be stricter or longer than federal rules. Before you destroy paper originals, verify your state's specific retention periods — each state has its own rules for what must appear on invoices for sales tax compliance, and those field requirements directly affect which data points your electronic archive must capture and preserve. A business operating in multiple states needs to satisfy the most restrictive requirement across all jurisdictions.
When to Keep the Paper Original
There is one important exception to paper destruction: if the physical document contains information that your electronic copy does not capture, keep the original. Watermarks, embossed seals, handwritten notes on the back of an invoice, or any physical feature that carries legal or transactional significance will not survive a standard scanning process. When the paper holds something the digital version cannot replicate, the paper stays.
Once the paper is gone, the question shifts to how long the electronic records must stay.
Invoice Retention Periods by Business Situation
The IRS does not impose a single retention period for all invoices. How long you must keep electronic invoice records depends on the tax provision each record supports and your specific business circumstances. Generic advice to "keep everything for three to seven years" glosses over distinctions that matter when setting a defensible retention policy.
The following framework breaks retention requirements down by situation, with each period measured from the date you filed the relevant return or the return's due date, whichever is later.
3-Year Retention: The Standard Period
Most business invoices fall into this category. If your company has filed accurate returns and no special circumstances apply, three years is the baseline retention period under the general statute of limitations for IRS assessment. This covers the majority of routine expense invoices, vendor payments, and supply purchases for businesses operating under normal conditions.
6-Year Retention: Substantial Understatement Risk
The retention period extends to six years when there is a possibility of substantial understatement of income, defined as omitting more than 25% of gross income from a filed return. This longer window also applies when the IRS has reason to believe income was underreported. Businesses with complex tax structures, multiple revenue streams, or highly variable income should default to six-year retention rather than relying on the three-year minimum. If you are advising clients in industries with fluctuating margins or significant cash transactions, the six-year period is the more prudent baseline.
7-Year Retention: Bad Debt and Worthless Securities
When a loss from worthless securities or a bad debt deduction is claimed on a transaction supported by invoice records, the required retention period is seven years. This applies to the invoices underlying the transaction itself, not just the tax form claiming the deduction.
Indefinite Retention: Unfiled Returns, Fraud, and Capital Assets
No statute of limitations applies if a return was never filed or if a fraudulent return was filed. In either scenario, the IRS can assess tax at any time, meaning the supporting invoice records must be retained indefinitely.
Indefinite retention is also the practical recommendation for invoices supporting capital asset purchases. Depreciable assets require records for the entire depreciation period plus the applicable retention period after the asset is disposed of. For a commercial building depreciated over 39 years, that means invoice records could be relevant for over four decades. Electronic storage makes indefinite retention of these records feasible at negligible cost.
The Practical Default: 7 Years for All Electronic Invoices
IRS Publication 583, the general guidance document for business record-keeping obligations, outlines these varying retention requirements. Given the complexity of matching individual invoices to specific retention categories, the most defensible approach is to apply a blanket seven-year retention policy to all electronic invoice records. Digital storage costs are minimal. The risk of deleting a record two years too early, then facing an audit that requires it, far outweighs the overhead of keeping files longer than technically necessary. For capital asset invoices, flag them separately for indefinite retention.
Retention, however, is only half the obligation. Keeping records for the correct duration accomplishes nothing if those records cannot be located, retrieved, and presented in a format the IRS accepts when an examiner requests them.
Preparing Your Electronic Invoice Records for an IRS Audit
With IRS compliance data showing over 505,000 audits closed in fiscal year 2024 and over $29 billion in recommended additional tax, the probability of examination is real enough to warrant preparation. The question is not whether your electronic invoice records could face scrutiny, but whether they will hold up when that scrutiny arrives.
What the IRS May Request
During an audit involving electronic invoice records, IRS examiners can request any combination of the following:
- Individual invoices filtered by vendor name, date range, or dollar amount
- Batch exports covering all invoices for a specific tax period under examination
- System documentation, including your quality assurance procedures, access controls, and a description of how the electronic storage system operates
- Legible hardcopy printouts of any electronically stored invoice, reproduced on demand
That last point catches many businesses off guard. Storing invoices digitally does not eliminate the obligation to produce physical copies. Your system must generate printed versions that are legible and accurate reproductions of the original documents.
The IRS may also request direct access to the electronic storage system itself. This includes the ability to view records on screen, download files, and search or sort records using standard criteria. If your storage solution cannot support this level of examiner access, it does not meet the requirements of Revenue Procedure 97-22.
Timeline Expectations
Rev Proc 97-22 requires that businesses reproduce requested records within a reasonable timeframe. In practice, "reasonable" means a few business days from the date of the request, not weeks. Examiners expect prompt access, and delays in producing records can escalate an otherwise routine audit into a more adversarial process.
If your current retrieval process requires manual searching through folders, contacting a third-party vendor for file exports, or reconstructing records from multiple systems, you are not positioned to meet this expectation.
Audit Preparation Checklist
Take these steps now, before any audit notice arrives:
-
Verify retrieval by common search criteria. Confirm that every electronic invoice in your system is retrievable by invoice number, vendor name, date, and dollar amount. Run test searches across each criterion to identify gaps.
-
Confirm printout and export capability. Generate a legible PDF export and a printed hardcopy of a sample invoice. Verify that the output matches the original in content, resolution, and completeness. If any data is cut off, reformatted, or illegible, fix the export settings.
-
Document your quality assurance process. Write down the specific steps taken when invoices are digitized: who performs the scanning, what resolution and format standards apply, how scanned images are compared against originals, and how errors are corrected. This documentation must exist as a standalone record, not just institutional knowledge.
-
Maintain access control and backup records. Keep a current record of who has access to the electronic invoice system, what permission levels exist, and how backups are performed. Include backup frequency, storage location, and recovery procedures.
-
Test the full retrieval process periodically. At least once per quarter, simulate an audit request. Pick a random vendor and date range, retrieve the invoices, export them, and print them. Time the process. If it takes more than a few hours to fulfill a targeted request, your system needs improvement.
-
Ensure examiner-level system access is possible. Confirm that an IRS examiner could be given read-only access to view, download, and search records within your system. If your platform does not support external user access, establish a documented procedure for producing equivalent access through supervised screen sharing or supervised workstation use.
Audit readiness is not a one-time project. Build the practices above into your quarterly review cycle so compliance stays current as your invoice volume and storage systems evolve.
Building an IRS-Compliant Digital Invoice Archive
Building an IRS-compliant digital invoice archive comes down to four practical steps that map directly to the Revenue Procedure 97-22 requirements covered throughout this guide.
Step 1: Establish a Centralized Storage System
Invoices scattered across email inboxes, shared drives, desktop folders, and filing cabinets create compliance risk. An IRS examiner requesting invoices from a specific vendor over a three-year period will not wait while your team searches five different locations.
Move all invoice records into a single, organized digital archive. The system you choose must support indexing by at least four criteria: invoice number, vendor name, date, and amount. This indexing capability is not optional. Revenue Procedure 97-22 requires that electronic records be retrievable by any field that the IRS would use to locate them in a paper filing system.
Whether you use dedicated document management software, an accounting platform with document storage, or a structured cloud folder system with consistent naming conventions, the non-negotiable requirement is one location with reliable search functionality.
Step 2: Implement a Digitization Workflow for Paper Invoices
A compliant digitization process requires more than a scanner. You need a documented, repeatable workflow that covers three stages: capture, extraction, and verification.
Capture means scanning paper invoices at sufficient resolution to produce legible copies of every detail, including fine print, watermarks, and handwritten notes. Extraction means pulling key metadata from each scanned invoice, including vendor, date, invoice number, line items, and total amount, so the document becomes searchable in your centralized system. Verification means confirming that each scanned image accurately represents the original and that extracted data matches what appears on the invoice.
Document this entire process. Your written procedures serve as the quality assurance program that Revenue Procedure 97-22 requires. The documentation should specify who performs each step, what equipment and settings are used, how errors are caught and corrected, and how often the process is reviewed.
Step 3: Set Retention and Access Policies
Apply the retention periods outlined earlier in this guide, defaulting to seven years when the specific situation is unclear. Configure your storage system to prevent invoices from being deleted before their retention period expires.
Access controls matter for compliance. Your system must prevent unauthorized modification or deletion of stored invoice records while still allowing authorized personnel to retrieve and produce copies on demand. Maintain an audit trail that logs who accessed or modified records and when.
Establish backup procedures that protect against data loss. The IRS does not accept "our server crashed" as an explanation for missing records. Offsite or cloud-based backups, tested periodically for successful restoration, satisfy the accessibility requirement even in disaster scenarios.
Step 4: Test Your Audit Readiness
Run a self-audit before the IRS runs one for you. Select ten invoices at random and attempt to retrieve each one using different search criteria: by vendor name, by date range, by invoice number, and by dollar amount. Time how long each retrieval takes.
Then test batch operations. Export all invoices from a specific vendor for a specific year. Produce all invoices above a certain dollar threshold for a given quarter. Verify that exported copies are legible and complete.
If any retrieval fails, takes more than a few minutes, or produces an illegible copy, you have identified a gap in your system. Fix it now, when the stakes are low.
For organizations building an invoice organization system for tax compliance, combining a structured folder taxonomy with automated data extraction reduces both the setup effort and the ongoing maintenance burden.
Start With New Invoices, Then Work Backward
The transition to compliant electronic invoice storage does not need to happen overnight. Start by routing all new invoices through your digitization workflow immediately. Once the process is running smoothly for incoming documents, work backward through historical records in priority order: most recent fiscal years first, highest-value vendors first, and any categories flagged in prior audits first.
This phased approach lets you refine your workflow on current documents before applying it to a backlog that may include inconsistent formats and lower-quality originals.
The IRS has accepted electronic invoice records for decades under Revenue Procedures 97-22 and 98-25. The requirements are specific, covering indexing, retrieval, quality assurance, retention controls, and audit cooperation, but they are manageable for businesses of any size. Organizations that build compliant digital invoice archiving systems reduce their exposure during audits while removing the deterioration risks and retrieval delays that make paper-dependent systems vulnerable to examination failures.
Related Articles
1099 Vendor Invoice Tracking: The Complete AP Guide
Track vendor payments for 1099-NEC compliance with this AP guide covering vendor classification, W-9 collection, payment tracking, and year-end filing for 2026.
Sales Tax Invoice Requirements by State: A Complete Guide
What must appear on invoices for sales tax compliance by state. Required fields, separately stated rules, retention periods, and an AP verification checklist.
Canada GST/HST Invoice Requirements: CRA Compliance Guide
CRA's three-tiered GST/HST invoice requirements explained. What fields each tier demands, how to validate invoices for ITC claims, and common audit triggers.
Extract invoice data to Excel with natural language prompts
Upload your invoices, describe what you need in plain language, and download clean, structured spreadsheets. No templates, no complex configuration.