{"question":"Our books live in cloud accounting software now, and an AI assistant categorizes most transactions and drafts journal entries. If the IRS examines us, what electronic records and documentation do we need to be able to produce, and does using a cloud provider or an AI tool change who is responsible for them?","slug":"what-electronic-records-does-the-irs-expect-you-to-keep-when-software-or-an-ai-agent-keeps-your-books","url":"https://www.rightshold.com/answers/what-electronic-records-does-the-irs-expect-you-to-keep-when-software-or-an-ai-agent-keeps-your-books","short_answer":"The IRS rules for computerized books are in Revenue Procedure 98-25, and IRS Publication 583 (revised December 2024) still points small businesses to it. It covers any accounting system that processes transactions by other than manual methods, which includes cloud accounting software and, on a plain reading, an AI tool that categorizes or posts entries in it. You must keep the electronic records (98-25 calls them machine-sensible records) at least until the period for assessing tax for that year runs out. They must reconcile with your books and your return, which 98-25 calls the audit trail, and carry enough transaction-level detail to identify the source documents behind them. You also have to keep documentation of how records are created and changed, the internal controls that prevent unauthorized addition, alteration or deletion of records, and your chart of accounts. Using a third party to hold or process the records doesn't move the obligation off you. Businesses with $10 million or more in assets are always covered; smaller ones are covered when some required information exists only in electronic form, which is normal for cloud books. The procedure doesn't mention AI, so document the agent as part of your accounting system.","checklist":["Each year, export the transaction-level detail from your accounting software (entry id, date, account, amount, memo and source reference) and keep it in a format you can open, search and print without the vendor's login. Rev. Proc. 98-25 says retained records must be capable of being processed.","Keep those records at least until the period for assessing tax for that year ends, including extensions, and longer for fixed assets and inventories.","At year end, keep a workpaper showing that the account totals in the exported data match your books and that your books match the return. That is the audit trail Rev. Proc. 98-25 asks for.","Make sure every entry the AI tool creates or categorizes points back to its source: the bank feed line, receipt or invoice. 98-25 requires enough detail to identify the underlying source documents.","Write a short description of your system: which tools create entries (bank feeds, rules, AI categorization or drafting), who or what can post, edit or delete, how AI-drafted entries get approved, and your chart of accounts with descriptions. Date every change to it.","Keep the software's change history or audit log, and a record of which entries the AI tool created or changed and who approved them, since 98-25 asks for documentation of the controls that prevent unauthorized changes.","Don't rely on your software vendor or AI provider to keep these for you. 98-25 says using a third party doesn't relieve you of your recordkeeping duty, so check what you keep if you cancel the subscription."],"sections":[{"heading":"Which businesses and systems Rev. Proc. 98-25 covers","points":["Revenue Procedure 98-25 sets out what the IRS considers essential when a taxpayer's records are kept in an automatic data processing (ADP) system. It took effect for records relating to tax years beginning after December 31, 1997, replacing Rev. Proc. 91-59. An ADP system is any accounting or financial system, including subsystems, that processes all or part of a taxpayer's transactions, records or data by other than manual methods. A machine-sensible record is data in electronic form intended for use by a computer; scanned paper is handled separately under Rev. Proc. 97-22.","A business with $10 million or more in assets at the end of its tax year must always follow 98-25. A smaller business must follow it when any of three things is true: some of the information required by section 6001 isn't in its paper books but is in electronic records, electronic records were used for computations that can't reasonably be checked without a computer, or the IRS notifies it that electronic records must be kept. With cloud accounting software the first condition is usually met.","Section 3.02(5) says that using a third party, such as a service bureau or other third-party service, to provide services for electronic records doesn't relieve the taxpayer of its recordkeeping obligations. Publication 583 (Rev. December 2024) repeats the core rules for computerized systems and refers readers to 98-25. Neither document mentions AI. Our reading is that an AI tool that categorizes, drafts or posts entries is part of the system that creates and changes your records, so the same rules apply to what it produces."]},{"heading":"What Rev. Proc. 98-25 requires you to keep and document","points":["Retention: electronic records must be kept as long as their contents may become material to the administration of the tax laws, which at a minimum means until the period of limitation for assessment, including extensions, expires for each tax year. 98-25 says records for fixed assets and LIFO inventories, for example, should be kept longer.","Audit trail and detail: the records must support and verify the entries on your return. 98-25 says they meet that test only if they reconcile with your books and your return, shown by the relationship between the account totals in the electronic records and the account totals in your books, and between those totals and the return. They must also contain enough transaction-level detail to identify the information and source documents underneath them, and be capable of being processed, meaning you can retrieve, manipulate, print and produce electronic output. You don't have to create records you don't otherwise make in the ordinary course of business.","Documentation (section 6): you must keep, and give the IRS on request, documentation of the business processes that create, modify and maintain your records, that support your return, and that show the authenticity and integrity of the records. It must identify the functions performed as data flows through the system, the internal controls that ensure accurate processing, the internal controls that prevent unauthorized addition, alteration or deletion of retained records, and the chart of accounts with detailed account descriptions. For each retained file you also need record layouts, field definitions including what codes mean, and evidence that the file reconciles to your books and return. Changes to this documentation must be recorded with the dates they took effect."]},{"heading":"How to apply Rev. Proc. 98-25 when an AI agent posts or categorizes entries","points":["Treat the agent's work as part of the documented process. Section 6 asks how records are created and modified, so describe what the agent can do (suggest categories, draft entries, post entries, edit or delete), which entries need a person's approval, and where the approval is recorded. When you change the agent's rules, prompts or permissions, date the change in the documentation, as 98-25 asks for changes to processes and controls.","Keep the link to the source. An AI-drafted entry without a pointer to the bank line, receipt or invoice it came from is hard to tie to a source document, which 98-25 requires. Keeping the software's audit log or change history, and noting which user or integration made each change, gives you evidence for the controls against unauthorized alteration.","The IRS can test records for authenticity, readability, completeness and integrity, including the internal controls and security procedures around them (section 10.03), and recommends sampling and testing retained records against a National Archives standard (section 9.01). If you don't comply, section 12 says the IRS may issue a Notice of Inadequate Records under Treas. Reg. 1.6001-1(d), and penalties under the Code may apply, including the section 6662(a) accuracy-related penalty and, for willful failure, the section 7203 criminal penalty."]}],"checks":[],"ask_rightshold":{"start":"https://www.rightshold.com/start?ref=seo","mcp_endpoint":"https://www.rightshold.com/mcp","ask":"We closed our 2025 books. Record that the general ledger detail export reconciled to our trial balance and to the return, and which version of our system description (including the AI categorization step) was in force, with a hash of the export file, so we have a dated entry if the IRS asks.","mcp_call":{"tool":"record_action","arguments":{"action_type":"books.year_end_records","outcome":"success","occurred_at":"2026-03-10T17:00:00Z","client_event_id":"fy2025:gl-export-reconciled","summary":"FY2025 general ledger detail export (12,418 entries, entry ids, accounts, amounts, source refs) reconciled to the trial balance and to the return lines; system description v4 in force (bank feed rules, AI categorization, AI-drafted journal entries approved by the owner before posting); export kept as CSV and PDF outside the accounting software","action_sha256":"<sha256 of the exported general ledger file>"}},"also":["Needs your API key (or accept_terms:true once to open a free account; the key comes back once). It returns a ledger-committed receipt of what you submitted and when, kept outside your accounting software.","It proves the entry was recorded, not that the books reconcile or that the export is complete. You still keep the export, the reconciliation workpaper and the system description yourself. Keep names, tax ids and account numbers out of summary; the hash ties the receipt to the exact file."],"scope":"Rightshold doesn't connect to your accounting software or AI tools, doesn't keep your books or tax records for you, and doesn't check whether your records meet IRS rules. A receipt from Rightshold is extra evidence of when you recorded something, not a substitute for the records 98-25 requires. Rules are from Rev. Proc. 98-25 and IRS Publication 583 (Rev. December 2024) as read on November 23, 2026; the application to AI tools is our reading, since neither mentions AI. Not tax, legal or accounting advice."},"sources":[{"title":"IRS: Rev. Proc. 98-25, requirements for records maintained in an automatic data processing system (sections 3-6, 9-12)","url":"https://www.irs.gov/pub/irs-drop/rp-98-25.pdf"},{"title":"IRS Publication 583 (Rev. December 2024): Starting a Business and Keeping Records, computerized system","url":"https://www.irs.gov/pub/irs-pdf/p583.pdf"},{"title":"IRS: How long should I keep records?","url":"https://www.irs.gov/businesses/small-businesses-self-employed/how-long-should-i-keep-records"}],"related":[{"title":"How long to keep small business records and whether scanned receipts count","url":"https://www.rightshold.com/answers/how-long-to-keep-small-business-records-and-whether-scanned-receipts-count"},{"title":"How a CPA can audit what an AI agent did in the books","url":"https://www.rightshold.com/answers/how-can-a-cpa-audit-what-an-ai-agent-did-in-the-books"},{"title":"Keep an audit trail when ChatGPT for accounting drafts entries in QuickBooks or Xero","url":"https://www.rightshold.com/answers/how-do-you-keep-an-audit-trail-when-chatgpt-for-accounting-drafts-entries-in-quickbooks-or-xero"},{"title":"Prove small business books weren't edited after the fact","url":"https://www.rightshold.com/answers/how-to-prove-small-business-books-werent-edited-after-the-fact"}],"computed_from":"Curated guidance; license verdicts computed from Rightshold's license profiles at render time. Not legal advice.","updated":"2026-11-23"}