---
title: "SOX Financial Records Redaction"
description: "Stop sending sensitive data to third-party APIs. Philterd ships open source PII and PHI redaction that runs inside your cloud. For HIPAA, GDPR, and CCPA work."
url: "https://philterd.ai/policies/finance/sox-financial-records/"
---

[← All policies](https://philterd.ai/policies/)

Finance · Philterd

# SOX Financial Records Redaction

Redact personal and account identifiers from financial records and audit workpapers under Sarbanes-Oxley while preserving the financial figures auditors need.

[View policy →](https://philterd.ai/policies/finance/sox-financial-records/#policy-json) [Download JSON →](https://raw.githubusercontent.com/philterd/pii-redaction-policies/main/policies/philterd/finance/sox-financial-records.json) [View source on GitHub](https://github.com/philterd/pii-redaction-policies/blob/main/policies/philterd/finance/sox-financial-records.md)

**v2.0.0** Updated 2026-10-26 Philter `>=4.0.0` By Philterd

SOX Sarbanes-Oxley financial reporting audit internal controls SEC 15 USC 7201

## The policy

The full `sox-financial-records.json` file. The same content you’d get by downloading. Copy any part of it, or use the buttons in the hero to grab the whole file.

```
{
  "config": {
    "splitting": {
      "enabled": false,
      "threshold": 4000
    }
  },
  "ignored": [],
  "identifiers": {
    "person": {
      "phEyeConfiguration": {
        "modelPath": "ph-eye-pii-en-small",
        "labels": [
          "name"
        ]
      },
      "phEyeFilterStrategies": [
        {
          "strategy": "REDACT",
          "redactionFormat": "[INDIVIDUAL]",
          "condition": "confidence > 0.65"
        }
      ]
    },
    "ssn": {
      "ssnFilterStrategies": [
        {
          "strategy": "REDACT",
          "redactionFormat": "[REDACTED-SSN]"
        }
      ]
    },
    "emailAddress": {
      "emailAddressFilterStrategies": [
        {
          "strategy": "REDACT",
          "redactionFormat": "[REDACTED-EMAIL]"
        }
      ]
    },
    "phoneNumber": {
      "phoneNumberFilterStrategies": [
        {
          "strategy": "REDACT",
          "redactionFormat": "[REDACTED-PHONE]"
        }
      ]
    },
    "creditCard": {
      "onlyValidCreditCardNumbers": true,
      "creditCardFilterStrategies": [
        {
          "strategy": "MASK",
          "maskCharacter": "*",
          "maskLength": "SAME",
          "leaveCharacters": 4
        }
      ]
    },
    "ibanCode": {
      "ibanCodeFilterStrategies": [
        {
          "strategy": "MASK",
          "maskCharacter": "*",
          "maskLength": "SAME",
          "leaveCharacters": 4
        }
      ]
    },
    "bankRoutingNumber": {
      "bankRoutingNumberFilterStrategies": [
        {
          "strategy": "REDACT",
          "redactionFormat": "[REDACTED-RTN]"
        }
      ]
    },
    "date": {
      "onlyValidDates": true,
      "dateFilterStrategies": [
        {
          "strategy": "TRUNCATE_TO_YEAR",
          "condition": "context == \"birth\""
        }
      ]
    },
    "identifiers": [
      {
        "classification": "account-number",
        "pattern": "\\b(?:account|acct)[\\s:#]*(?:number|#)?[\\s:#]*\\d{6,}\\b",
        "caseSensitive": false,
        "identifierFilterStrategies": [
          {
            "strategy": "MASK",
            "maskCharacter": "*",
            "maskLength": "SAME",
            "leaveCharacters": 4
          }
        ]
      },
      {
        "classification": "gl-account",
        "pattern": "\\b(?:GL|G/L|general ledger)[\\s:#]*(?:account|acct|#)?[\\s:#]*\\d{4,}\\b",
        "caseSensitive": false,
        "identifierFilterStrategies": [
          {
            "strategy": "REDACT",
            "redactionFormat": "[REDACTED-GL]"
          }
        ]
      },
      {
        "classification": "ein",
        "pattern": "\\b(?:EIN|employer identification|tax id|TIN)[\\s:#]*\\d{2}-?\\d{7}\\b",
        "caseSensitive": false,
        "identifierFilterStrategies": [
          {
            "strategy": "REDACT",
            "redactionFormat": "[REDACTED-EIN]"
          }
        ]
      },
      {
        "classification": "invoice-number",
        "pattern": "\\b(?:invoice|inv)[\\s:#]*(?:number|no|#)?[\\s:#]*[A-Z0-9-]{4,}\\b",
        "caseSensitive": false,
        "identifierFilterStrategies": [
          {
            "strategy": "REDACT",
            "redactionFormat": "[REDACTED-INVOICE]"
          }
        ]
      }
    ]
  }
}
```

## Example

Input

```
Approver Jane Doe (SSN 444-55-6666) signed off invoice INV-2024-3375 against GL account 41000 for $128,400.00 paid to vendor account 9988776655 on 2024-11-03.
```

Output

```
Approver [INDIVIDUAL] (SSN [REDACTED-SSN]) signed off [REDACTED-INVOICE] against [REDACTED-GL] for $128,400.00 paid to vendor account ******6655 on 2024-11-03.
```

## Entities this policy acts on

INDIVIDUAL SSN EMAIL PHONE CREDIT\_CARD IBAN RTN DATE ACCOUNT GL\_ACCOUNT EIN INVOICE

## What this policy does

Strips personal and account identifiers from financial records, journal entries, and audit workpapers governed by the [Sarbanes-Oxley Act of 2002](https://www.law.cornell.edu/uscode/text/15/chapter-98) (SOX) — **while deliberately preserving the financial figures, transaction dates, and account *structure* that auditors and reviewers need to do their job.**

SOX is not a data-privacy statute. Its concern is the **accuracy and integrity of financial reporting** and the internal controls over it ([Sections 302 and 404](https://www.law.cornell.edu/uscode/text/15/7262)). The redaction need it creates is practical: financial records, audit evidence, and control documentation routinely contain employee PII and sensitive account identifiers that don’t need to circulate when those documents are shared with external auditors, stored in evidence repositories, or used in control testing.

This policy targets the identifiers:

- **Individual names** (preparers, approvers, employees, vendors) — redacted to `[INDIVIDUAL]` (confidence-gated)
- **SSNs** — fully redacted
- **Email and phone** — redacted
- **Credit card and IBAN numbers** — masked to last 4 visible
- **Bank routing numbers** — redacted
- **Bank / vendor account numbers** — masked to last 4 visible
- **General-ledger (GL) account references** — redacted
- **Employer Identification Numbers (EIN/TIN)** — redacted
- **Invoice numbers** — redacted
- **Birthdates** — truncated to year only when context indicates a birth date

It intentionally **does not** redact currency amounts or transaction dates — removing those would defeat the purpose of a financial record and break audit traceability.

## When to use this

- **Sharing audit workpapers or evidence with external auditors** or PCAOB inspectors where employee PII isn’t relevant to the control being tested
- **Control testing and SOX walkthroughs** performed by teams who shouldn’t see full personal identifiers
- **Populating an audit-evidence repository** retained for the SOX audit cycle
- **Producing sample journal entries or reconciliations** for review, training, or process documentation
- **Vendor / accounts-payable record sharing** where account and tax identifiers should be masked

## When to customize

- **Preserve amounts (default) vs redact them.** This policy keeps currency figures because they are the audit subject. If you are sharing records where *linkability of a person to an amount* is the concern, add a `currency` rule — but understand that removes the financial substance.
- **Name handling.** Default redacts individual names. For control documentation where the *approver of record* must remain visible (segregation-of-duties evidence), build an “internal” variant that preserves names, or raise the confidence threshold.
- **GL / account / invoice formats.** The default patterns are generic and keyword-anchored. Replace them with your ERP’s actual conventions (SAP, Oracle, NetSuite, etc.) — GL account structures in particular vary widely by chart of accounts.
- **Retention conflicts.** SOX requires retention of audit records (see below). Do **not** apply destructive redaction to your records of original entry — redact *copies* prepared for sharing or analysis, and keep the unredacted originals under your retention controls.
- **Overlap with GLBA/PCI.** If the same documents contain customer NPPI or cardholder data, stack the [GLBA](https://philterd.ai/policies/finance/glba-nppi-redaction/) or [PCI DSS](https://philterd.ai/policies/finance/pci-dss-scope-reduction/) policies on top.

## Compliance notes

- **15 USC Chapter 98** — the Sarbanes-Oxley Act of 2002
- **Section 302** — corporate responsibility for financial reports (CEO/CFO certification)
- **Section 404** — management assessment of internal controls over financial reporting (ICFR)
- **Section 802 / 17 CFR 210.2-06** — **retention of audit and review workpapers for seven years.** This is the most important caveat for redaction: SOX *mandates retention* of audit records. Redact copies for distribution; never destroy or over-redact the records you are required to keep.
- **PCAOB Auditing Standards** govern what audit evidence must be retained and how.
- This policy supports controls *around* financial data; it is **not** a financial-reporting control itself and is not legal or audit advice. Coordinate any redaction of audit records with your SOX program office and external auditors.

## References

- [Sarbanes-Oxley Act (15 USC Chapter 98)](https://www.law.cornell.edu/uscode/text/15/chapter-98)
- [Section 404 (15 USC § 7262)](https://www.law.cornell.edu/uscode/text/15/7262)
- [SEC rule on retention of records relevant to audits (17 CFR 210.2-06)](https://www.ecfr.gov/current/title-17/chapter-II/part-210/section-210.2-06)
- [Companion policies — GLBA NPPI](https://philterd.ai/policies/finance/glba-nppi-redaction/) and [PCI DSS scope reduction](https://philterd.ai/policies/finance/pci-dss-scope-reduction/)

## Using this policy with Phileas

The name filter names `ph-eye-pii-en-small`, the model bundled with Philter 4.0. With Phileas, set its `modelPath` to the directory of a downloaded copy of the model, [philterd/ph-eye-pii-en-small](https://huggingface.co/philterd/ph-eye-pii-en-small).

## Use this policy

Download and load into your running Philter instance:

```
# Download the policy
curl -O https://raw.githubusercontent.com/philterd/pii-redaction-policies/main/policies/philterd/finance/sox-financial-records.json

# Upload it to Philter as sox-financial-records
curl -sk -X POST "https://localhost:8080/api/policies?name=sox-financial-records" \
     -H "Authorization: Bearer $PHILTER_API_KEY" \
     -H "Content-Type: application/json" \
     --data @sox-financial-records.json

# Redact text with it
curl -sk "https://localhost:8080/api/filter?p=sox-financial-records" \
     -H "Authorization: Bearer $PHILTER_API_KEY" \
     -H "Content-Type: text/plain" \
     --data-binary "your text here"
```

For Philter 4.0. No Philter instance yet? The [quick start](https://philterd.ai/dev/start/) runs one and shows where `PHILTER_API_KEY` comes from · Want to tune this policy against your data? [Talk to the team](https://philterd.ai/policies/finance/sox-financial-records/#).

[← All policies](https://philterd.ai/policies/)
