---
title: "Use AI on books and returns without disclosing client data"
description: "CPAs, tax preparers and bookkeepers use ChatGPT daily. Locke masks SSNs, EINs and account numbers on your device. Section 7216 and AICPA rules explained."
url: "https://sonomos.ai/who-its-for/accounting/"
source: "https://sonomos.ai/who-its-for/accounting/"
---

# Use AI on books and returns without disclosing client data

Locke masks SSNs, EINs, bank account numbers and client names on your computer before any AI tool sees them.

[Download Locke free](https://sonomos.ai/downloads/)[See how it works](https://sonomos.ai/locke/#demo)

For

CPAs, accounting firms, tax preparers, bookkeepers and finance teams

Runs on

x64 Windows and Linux. macOS is coming soon.

Screens

AI websites, through the free Locke Extension. Coding agents and SDK calls, through a local proxy.

Sent to Sonomos

Account, licence check, settings. Never prompts, files or detections.

Price

Free for one person. Teams is $12.99 per user a month. [Pricing](https://sonomos.ai/pricing/)

## What the rules ask before client data goes into AI

Client consent or a confidentiality contract before client data reaches a third party, and only secure, enterprise-approved AI for client data (IRS, June 2026). Return information carries its own criminal penalty.

Read more:

- [AI acceptable use policy template](https://sonomos.ai/blog/ai-acceptable-use-policy-template-2026/)

## What goes into an accounting prompt

What you write

Draft an email to Tom Becker about his CP2000 notice. SSN 123-45-6789, email tom.becker@example.com. It proposes $3,412 more tax.

What the AI gets

Draft an email to `PER_i3rx` about his CP2000 notice. SSN `SSN_0xrg`, email `EML_uxb6`. It proposes $3,412 more tax.

- `PER` name
- `SSN` Social Security number
- `EML` email

The figures go as written, and are still return information. Invented example.

| The work | What the prompt carries | What the AI receives |
| --- | --- | --- |
| Explain a variance or reconcile an account | Statement lines, account numbers, names. | Amounts kept; numbers and names masked. |
| Draft a client email about a notice | Name, SSN or EIN, address, the notice. | The draft; identifiers masked. |
| Research a tax question from a client's facts | Names, dependents, SSNs, EINs, birth dates. | The facts; people and IDs masked. |
| Check a payroll or 1099 batch | Rows of names, SSNs or ITINs, bank details. | Identifiers masked, amounts as written. |
| Prepare audit or advisory workpapers | Company names, contract numbers, IBAN, SWIFT. | The analysis; companies and banking masked. |
| Clean up a bookkeeping export | Customer names, emails, card and account numbers. | The ledger; personal and banking fields masked. |

## What Locke finds in accounting work

Six groups of its 67 types. [Full catalog](https://sonomos.ai/support/locke/data-types/).

Taxpayer IDs

SSN, ITIN, EIN

Bank and card details

Account, routing, card, IBAN, SWIFT/BIC

Client identity

Names, contacts, birth dates

Business identifiers

Company names, contract numbers

Identity documents

Passport, driver's license

Dependents and health

Terms for minors; health terms

Income, balances, deductions and other figures reach the AI as written.

## The rules that apply

| Rule | What it asks | Source |
| --- | --- | --- |
| IRC Section 7216 | A preparer who knowingly or recklessly discloses or misuses return information commits a misdemeanor: up to $1,000, a year in prison, or both. Written consent permits some disclosures; Section 6713 adds a civil penalty that needs no intent. | Source: [26 U.S.C. § 7216](https://www.law.cornell.edu/uscode/text/26/7216); [IRS 7216 information center](https://www.irs.gov/tax-professionals/section-7216-information-center) |
| Circular 230 and IRS OPR Alert 2026-19, Alert issued June 24, 2026 | Only secure, enterprise-approved AI for client data; review AI output (10.22); firm leaders put AI procedures in writing (10.36). 10.51(a)(15) bars willful disclosure of return information. | Source: [IRS OPR Alert 2026-19](https://content.govdelivery.com/accounts/USIRS/bulletins/41d6e70); [31 CFR 10.51](https://www.law.cornell.edu/cfr/text/31/10.51) |
| AICPA Confidential Client Information Rule | In public practice, no disclosure without the client's specific consent (ET 1.700.001); for a third-party provider, a confidentiality contract or consent (ET 1.700.040). | Source: [AICPA Code, ET 1.700 (PDF)](https://pub.aicpa.org/codeofconduct/ethicsresources/et-cod.pdf) |
| GLBA and the FTC Safeguards Rule | Tax preparers of any size are financial institutions (16 CFR 314.2): a written security program and providers bound by contract (314.4). Breaches of 500+ consumers go to the FTC within 30 days of discovery. | Source: [16 CFR Part 314](https://www.ecfr.gov/current/title-16/chapter-I/subchapter-C/part-314); [IRS Publication 5708 (PDF)](https://www.irs.gov/pub/irs-pdf/p5708.pdf) |

Locke masks client identifiers. It does not change any of these duties. Not legal or tax advice.

## How Locke works on an accountant's computer

### Finds

67 types of sensitive data, as each request leaves your computer.

### Masks

Each value becomes a one-way token, the same every time, so the AI can follow who is who. Requests Locke cannot check are refused.

### Stays on your device

**Client data never reaches Sonomos.** Detection runs on your computer, not our servers. [Security review pack](https://sonomos.ai/security/review/)

## What masking does not change

Masking reduces what a provider receives. It does not end your obligations.

- It does not remove a consent duty: redaction does not make client information nonconfidential ([Journal of Accountancy, Nov. 2026](https://www.journalofaccountancy.com/issues/2026/nov/asked-to-sell-firm-data-for-ai-training-be-very-cautious/)).
- Excel, PDF and Word files are blocked, not read; export to CSV or paste the text.
- Images are not screened; a W-2 photo goes as is unless images are set to Block.
- AI inside cloud accounting and tax software runs on the vendor's servers, out of reach.
- Masking is one-way; reversible tokenization is planned.
- It runs on x64 Windows and Linux; macOS is coming soon.

Full list: [known limitations](https://sonomos.ai/known-limitations/).

## For a sole practitioner or a firm

Free

One person, full protection, no card, no time limit.

Teams

$12.99 per user a month, up to 20 seats, 30-day free trial, US only. One admin policy for the firm. Reports are evidence about the tool for your WISP, not an audit.

Programs

Tax clinics: three months free ([nonprofit program](https://sonomos.ai/nonprofits/)). Startup finance teams: six months ([startup program](https://sonomos.ai/startups/)).

[Compare Free and Teams](https://sonomos.ai/pricing/)[See the compliance reports](https://sonomos.ai/compliance/)

## Questions accountants ask

### Can accountants use ChatGPT with client data?

Not freely. Return information is covered by Section 7216, AICPA members owe a confidentiality duty, and the IRS's June 2026 guidance tells practitioners to handle client data using only secure, enterprise-approved AI. Many firms limit AI to approved tools and keep client identifiers out of prompts. Locke does the second part on your computer: it masks SSNs, EINs, account numbers and names before a prompt is sent.

### Does Section 7216 apply to AI tools?

The IRS has not said directly whether sending return information to an AI service is a disclosure under Section 7216. Tax return information is defined broadly in the regulations, and the June 2026 OPR alert ties unauthorized disclosure to the Section 6713 and 7216 penalties. Get advice before relying on an exception, and consider a written 7216 consent if client return data will reach an AI service.

### Is Locke the secure, enterprise-approved AI the IRS guidance mentions?

No. Locke is not an AI tool. It runs on your computer and masks client data before it reaches whichever AI tool your firm approves. It reduces what that tool receives; it does not make a consumer chatbot enterprise-approved.

### Does masking client names remove the need for consent?

No. The figures and facts of a return remain tax return information after identifiers are masked, and under the AICPA Code, removing names does not by itself make confidential client information nonconfidential. Masking reduces exposure; the consent and contract duties stay.

### Does the FTC Safeguards Rule apply to a small tax practice?

If you are in the business of completing income tax returns, yes. The rule names accountants and tax preparation services as financial institutions, and IRS Publication 5708 says tax and accounting professionals are covered regardless of size. The rule requires a written information security program, including oversight of service providers that receive customer information.

### Which client files does Locke screen?

Text you paste, and plain-text attachments such as CSV, JSON and TXT. Excel workbooks, PDFs and Word documents are blocked rather than sent unchecked. Images are sent unscreened unless you set them to Block.

Ask the AI about the numbers. Keep the client's SSN on your computer.

[Download Locke free](https://sonomos.ai/downloads/)[Or try the interactive demo first](https://sonomos.ai/locke/#demo)

## Reading for accountants

- [The Breach Is Contractual First: Client Data in AI Tools](https://sonomos.ai/blog/client-contracts-ai-confidentiality-2026/)
- [AI Use Policy Template (2026): Free, Copy-Paste Sections](https://sonomos.ai/blog/ai-acceptable-use-policy-template-2026/)
- [Financial Services + AI: GLBA, FFIEC, and Securities Compliance for ChatGPT and Claude in 2026](https://sonomos.ai/blog/financial-services-ai-glba-ffiec-compliance-2026/)

## See also

### Other professions

- [Financial services](https://sonomos.ai/who-its-for/financial-services/)
- [Legal](https://sonomos.ai/who-its-for/legal/)
- [Consultants](https://sonomos.ai/who-its-for/consultants/)
- [Human resources](https://sonomos.ai/who-its-for/human-resources/)
- [Healthcare](https://sonomos.ai/who-its-for/healthcare/)
- [Medical billing and coding](https://sonomos.ai/who-its-for/medical-billing/)
- [Engineering](https://sonomos.ai/who-its-for/technology/)
- [Individuals](https://sonomos.ai/who-its-for/individuals/)

### Terms on this page

- [GLBA](https://sonomos.ai/glossary/glba/)
- [What is PII?](https://sonomos.ai/glossary/personally-identifiable-information/)
- [Data masking](https://sonomos.ai/glossary/data-masking/)
- [Data minimization](https://sonomos.ai/glossary/data-minimization/)
- [SOC 2](https://sonomos.ai/glossary/soc-2/)

### Locke, tools and comparisons

- [Locke for ChatGPT](https://sonomos.ai/for/chatgpt/)
- [Locke and Microsoft Copilot](https://sonomos.ai/for/microsoft-copilot/)
- [Locke vs enterprise AI plans](https://sonomos.ai/compare/sonomos-vs-chatgpt-enterprise/)
- [Locke vs staff training alone](https://sonomos.ai/compare/sonomos-vs-staff-training/)
- [Security review pack](https://sonomos.ai/security/review/)
