preparar SOX control testing com control matrices, samples, workpapers, e deficiency assessment. — Claude Skill
Um Skill Claude para Claude Code por Anthropic✓ — executar /sox no Claude·Atualizado em 18 de jun. de 2026·vmain@da04ccb
Gera suporte para testes SOX 404: matrizes de controlos, seleção de amostras, passos de workpaper, expectativas de evidência, exceções e plano de remediação.
- cria a matriz de controlos com type, frequency, key-control status, risco, e assertion.
- Chooses sample size based on frequency, risco, e population.
- Drafts testing workpapers com procedures, expected evidência, e results tables.
- Frames exceptions as deficiency, significant deficiency, ou material weakness para rever.
Control testing starts a partir da blank workpaper, e sample logic, evidência, e exception wording are recreated each quarter.
Run /sox para draft o matriz de controlos, sample plano, test procedures, results table, e deficiency framing.
Para quem é
O que faz
preparar control matrices, samples, e workpapers para a control area.
Test reconciliations, journal entries, statement rever, e disclosure checklist controls.
Document evidência lacunas e classify deficiency severidade para rever.
Como funciona
Collect o control area, period, population, risco level, e control responsável.
Identify controls para test e document CEAVOP assertions.
Determine sample size e selection method.
criar a testing workpaper com procedures e evidência expectations.
Document exceptions e proposed remediation ações para qualified rever.
Opções de entrada
Revenue recognition, procure-para-pay, payroll, financial close, treasury, ITGC, ou a specific control ID.
Exemplo
Control area: financial close Period: 2026-Q2 Population: 12 mensal conta reconciliations e 48 journal entries risco: high para close rever e journal entry aprovação precisar de: matriz de controlos, sample size, workpaper, results table, e exception assessment.
| Control # | Control Description | Type | Frequency | Key/Non-Key | risco | Assertion | |---|---|---|---|---|---|---| | FC-01 | Balance sheet reconciliations are prepared e reviewed by deadline | IT-dependent manual | mensal | Key | High | Completeness, precisão | | FC-02 | Journal entries are approved antes posting | manual | Per transaction | Key | High | precisão, Occurrence | | FC-03 | Management revê draft financial statements antes hard close | manual | mensal | Key | Medium | Presentation, precisão |
```text SAMPLE SELECTION Control: FC-02 - Journal entries are approved antes posting Period: 2026-Q2 Population: 48 journal entries Sample size: 15 Selection method: Random, com targeted inclusion de high-dollar e period-end entries ``` | Sample # | Transaction Date | Reference/ID | Amount | Selection Basis | |---:|---|---|---:|---| | 1 | 2026-04-30 | JE-1048 | $420,000 | Period-end targeted | | 2 | 2026-05-14 | JE-1182 | $38,500 | Random | | 3 | 2026-06-30 | JE-1399 | $1,200,000 | High-dollar targeted |
```text SOX CONTROL TESTING WORKPAPER Control #: FC-02 Control Description: Journal entries are approved antes posting Control responsável: Controller Control Type: manual Frequency: Per transaction Key Control: Yes Relevant Assertions: precisão, Occurrence Testing Period: 2026-Q2 TEST OBJECTIVE: Determine whether journal entries were approved antes posting throughout o testing period. TEST PROCEDURES: 1. Inspect selected journal entry suporte. 2. Verify preparer e approver are different people. 3. Confirm aprovação date is antes posting date. 4. comparar journal amount para suporte. 5. Document qualquer em falta evidência ou late aprovação. ```
| Sample # | Ref | aprovação present | aprovação antes posting | suporte agrees | Result | Exception? | Notes | |---:|---|---|---|---|---|---|---| | 1 | JE-1048 | Pass | Pass | Pass | Pass | No | - | | 2 | JE-1182 | Pass | Fail | Pass | Fail | Yes | Approved one day depois posting | | 3 | JE-1399 | Pass | Pass | Pass | Pass | No | - |
| Exception | Root Cause | Compensating Control | Preliminary Assessment | Remediation | |---|---|---|---|---| | JE-1182 approved depois posting | Approver out de office, no backup approver | Controller mensal JE rever | Deficiency para rever | Add backup approver e late-aprovação relatório | Qualified finanças e auditoria responsáveis devem rever o classification antes auditoria documentation is finalized.
Métricas que melhora
Funciona com
Quer usar Testes SOX?
Escolha como começar.
Instale e execute este skill localmente no seu computador.
Abra um terminal no seu computador e cole este comando:
Isto descarrega o skill com todos os ficheiros para o seu computador:
Adicione -g no fim para o tornar disponível em todos os seus projetos.
Inicie o Claude Code, depois escreva o comando:
SOX conformidade Testing
If você see unfamiliar placeholders ou precisar de para verificar which tools are connected, see CONNECTORS.md.
Important: This command assists com SOX conformidade workflows but does não provide auditoria ou jurídico advice. todos testing workpapers e assessments deve be reviewed by qualified financial professionals antes usar in auditoria documentation.
gerar sample selections, criar testing workpapers, document control assessments, e provide testing templates para SOX 404 internal controls over financial reporting.
Usage
/sox <control-area> <period>
Arguments
- ¤KEEP0¤ — o control area para test:
- ¤KEEP0¤ — Revenue cycle controls (order-para-cash)
- ¤KEEP0¤ ou ¤KEEP1¤ — Procurement e AP controls (purchase-para-pay)
- ¤KEEP0¤ — Payroll processing e compensação controls
- ¤KEEP0¤ — Period-end close e reporting controls
- ¤KEEP0¤ — Cash management e treasury controls
- ¤KEEP0¤ — Capital asset lifecycle controls
- ¤KEEP0¤ — inventário valuation e management controls
- ¤KEEP0¤ — IT general controls (access, change management, operações)
- ¤KEEP0¤ — Entity-level e monitoring controls
- ¤KEEP0¤ — Journal entry processing controls
- qualquer specific control ID ou nomear
- ¤KEEP0¤ — o testing period (e.g., ¤KEEP1¤, ¤KEEP2¤, ¤KEEP3¤)
workflow
1. Identify Controls para Test
Based on o control area, identify o key controls. Present o matriz de controlos:
| Control # | Control Description | Type | Frequency | Key/Non-Key | risco | Assertion |
|---|---|---|---|---|---|---|
| [ID] | [Description] | manual/Automated/IT-Dependent | diário/Weekly/Monthly/Quarterly/Annual | Key | High/Medium/Low | [CEAVOP] |
Control types:
- automatizado: System-enforced controls com no manual intervention
- manual: Controls performed by personnel com judgment
- IT-dependent manual: manual controls that rely on system-generated dados
Assertions (CEAVOP):
- Completeness — todos transactions are recorded
- Existence/Occurrence — Transactions actually occurred
- Accuracy — Amounts are correctly recorded
- Valuation — Assets/liabilities are properly valued
- Obligations/Rights — Entity has rights para assets, obligations para liabilities
- Presentation/Disclosure — Properly classified e disclosed
2. Determine Sample Size
Calculate sample sizes based on control frequency e risco:
| Control Frequency | Population Size (approx.) | Recommended Sample |
|---|---|---|
| Annual | 1 | 1 (test o instance) |
| trimestral | 4 | 2 |
| mensal | 12 | 2-4 (based on risco) |
| semanal | 52 | 5-15 (based on risco) |
| diário | ~250 | 20-40 (based on risco) |
| Per-transaction | Varies | 25-60 (based on risco e volume) |
Adjust para:
- risco level: Higher risco controls require larger samples
- Prior year results: Controls com prior deficiencies precisar de larger samples
- Reliance: Controls relied upon by external auditors may precisar de larger samples
3. gerar Sample Selection
Select samples a partir do population usando o appropriate method:
Random selection (default para transaction-level controls):
- gerar random numbers para select specific items a partir do population
- Ensure cobertura across o full period
Systematic selection (para periodic controls):
- Select items at fixed intervals com a random start point
- Ensure representation across todos sub-periods
Targeted selection (supplement para random, para risco-based testing):
- Select items com specific risco characteristics (high dollar, unusual, period-end)
- Document rationale para targeted selections
Present o sample:
SAMPLE SELECTION
Control: [Control ID] — [Description]
Period: [Testing period]
Population: [Count] items, $[Total value]
Sample size: [N] items
Selection method: [Random/Systematic/Targeted]
| Sample # | Transaction Date | Reference/ID | Amount | Selection Basis |
|----------|-----------------|--------------|--------|-----------------|
| 1 | [Date] | [Ref] | $X,XXX | Random |
| 2 | [Date] | [Ref] | $X,XXX | Random |
|... |... |... |... |... |
4. criar Testing Workpaper
gerar a testing template para each control:
SOX CONTROL TESTING WORKPAPER
==============================
Control #: [ID]
Control Description: [Full description do control activity]
Control responsável: [Role/title — para be filled by tester]
Control Type: [manual/Automated/IT-Dependent manual]
Frequency: [How often o control operates]
Key Control: [Yes/No]
Relevant Assertion(s): [CEAVOP]
Testing Period: [Period]
TEST OBJECTIVE:
para determine whether [control description] operated effectively throughout o testing period.
TEST PROCEDURES:
1. [Step 1 — What para inspect, examine, ou re-perform]
2. [Step 2 — What evidência para obtain]
3. [Step 3 — What para comparar ou verify]
4. [Step 4 — How para evaluate completeness de performance]
5. [Step 5 — How para assess timeliness de performance]
EXPECTED EVIDENCE:
- [Document type 1 — e.g., signed aprovação form]
- [Document type 2 — e.g., system screenshot showing rever]
- [Document type 3 — e.g., reconciliation com preparer sign-off]
TEST RESULTS:
| Sample # | Ref | Procedure 1 | Procedure 2 | Procedure 3 | Result | Exception? | Notes |
|----------|-----|-------------|-------------|-------------|--------|------------|-------|
| 1 | | Pass/Fail | Pass/Fail | Pass/Fail | Pass/Fail | Y/N | |
| 2 | | Pass/Fail | Pass/Fail | Pass/Fail | Pass/Fail | Y/N | |
EXCEPTIONS NOTED:
| Sample # | Exception Description | Root Cause | Compensating Control | impacto |
|----------|----------------------|------------|---------------------|--------|
| | | | | |
CONCLUSION:
[ ] Effective — Control operated effectively com no exceptions
[ ] Effective com exceptions — Control operated effectively; exceptions are isolated
[ ] Deficiency — Control did não operate effectively
[ ] Significant Deficiency — Deficiency is more than inconsequential
[ ] material Weakness — Reasonable possibility de material misstatement não prevented/detected
Tested by: ________________ Date: ________
Reviewed by: _______________ Date: ________
5. Provide Common Control templates
Based on o control area, provide pre-built test step templates:
Revenue Recognition:
- Verify vendas order aprovação e authorization
- Confirm delivery/performance evidência
- Test revenue recognition timing against contrato terms
- Verify pricing precisão para contrato/price list
- Test credit memo aprovação e validity
Procure para Pay:
- Verify purchase order aprovação e authorization limits
- Confirm three-way match (PO, receipt, invoice)
- Test fornecedor master dados change controls
- Verify payment aprovação e segregation de duties
- Test duplicate payment prevention controls
Financial Close:
- Verify conta reconciliation completeness e timeliness
- Test journal entry aprovação e segregation de duties
- Verify management rever de financial statements
- Test consolidation e elimination entries
- Verify disclosure checklist completion
ITGC:
- Test utilizador access provisioning e de-provisioning
- Verify privileged access revê
- Test change management aprovação e testing
- Verify batch job monitoring e exception handling
- Test backup e recovery procedures
6. Document Control Assessment
Classify qualquer identified deficiencies:
Deficiency: A control does não allow management ou employees para prevent ou detetar misstatements on a timely basis. Consider:
- probabilidade de misstatement
- Magnitude de potential misstatement
- Whether compensating controls exist
Significant Deficiency: A deficiency (ou combination) that is less severe than a material weakness but important enough para merit attention by those responsible para oversight.
material Weakness: A deficiency (ou combination) such that there is a reasonable possibility that a material misstatement will não be prevented ou detected on a timely basis.
7. Output
Provide:
- matriz de controlos para o selected area
- Sample selections com methodology documentation
- Testing workpaper templates com pre-populated test steps
- Results documentation template
- Deficiency evaluation framework (if exceptions are identified)
- Suggested remediation ações para qualquer noted deficiencies
Documentos de referência
name: sox-testing description: gerar SOX sample selections, testing workpapers, e control assessments. usar when planning trimestral ou annual SOX 404 testing, pulling a sample para a control (revenue, P2P, ITGC, close), building a testing workpaper template, ou evaluating e classifying a control deficiency. argument-hint: "<control area> [period]"
SOX conformidade Testing
If você see unfamiliar placeholders ou precisar de para verificar which tools are connected, see CONNECTORS.md.
Important: This command assists com SOX conformidade workflows but does não provide auditoria ou jurídico advice. todos testing workpapers e assessments deve be reviewed by qualified financial professionals antes usar in auditoria documentation.
gerar sample selections, criar testing workpapers, document control assessments, e provide testing templates para SOX 404 internal controls over financial reporting.
Usage
/sox <control-area> <period>
Arguments
- ¤KEEP0¤ — o control area para test:
- ¤KEEP0¤ — Revenue cycle controls (order-para-cash)
- ¤KEEP0¤ ou ¤KEEP1¤ — Procurement e AP controls (purchase-para-pay)
- ¤KEEP0¤ — Payroll processing e compensação controls
- ¤KEEP0¤ — Period-end close e reporting controls
- ¤KEEP0¤ — Cash management e treasury controls
- ¤KEEP0¤ — Capital asset lifecycle controls
- ¤KEEP0¤ — inventário valuation e management controls
- ¤KEEP0¤ — IT general controls (access, change management, operações)
- ¤KEEP0¤ — Entity-level e monitoring controls
- ¤KEEP0¤ — Journal entry processing controls
- qualquer specific control ID ou nomear
- ¤KEEP0¤ — o testing period (e.g., ¤KEEP1¤, ¤KEEP2¤, ¤KEEP3¤)
workflow
1. Identify Controls para Test
Based on o control area, identify o key controls. Present o matriz de controlos:
| Control # | Control Description | Type | Frequency | Key/Non-Key | risco | Assertion |
|---|---|---|---|---|---|---|
| [ID] | [Description] | manual/Automated/IT-Dependent | diário/Weekly/Monthly/Quarterly/Annual | Key | High/Medium/Low | [CEAVOP] |
Control types:
- automatizado: System-enforced controls com no manual intervention
- manual: Controls performed by personnel com judgment
- IT-dependent manual: manual controls that rely on system-generated dados
Assertions (CEAVOP):
- Completeness — todos transactions are recorded
- Existence/Occurrence — Transactions actually occurred
- Accuracy — Amounts are correctly recorded
- Valuation — Assets/liabilities are properly valued
- Obligations/Rights — Entity has rights para assets, obligations para liabilities
- Presentation/Disclosure — Properly classified e disclosed
2. Determine Sample Size
Calculate sample sizes based on control frequency e risco:
| Control Frequency | Population Size (approx.) | Recommended Sample |
|---|---|---|
| Annual | 1 | 1 (test o instance) |
| trimestral | 4 | 2 |
| mensal | 12 | 2-4 (based on risco) |
| semanal | 52 | 5-15 (based on risco) |
| diário | ~250 | 20-40 (based on risco) |
| Per-transaction | Varies | 25-60 (based on risco e volume) |
Adjust para:
- risco level: Higher risco controls require larger samples
- Prior year results: Controls com prior deficiencies precisar de larger samples
- Reliance: Controls relied upon by external auditors may precisar de larger samples
3. gerar Sample Selection
Select samples a partir do population usando o appropriate method:
Random selection (default para transaction-level controls):
- gerar random numbers para select specific items a partir do population
- Ensure cobertura across o full period
Systematic selection (para periodic controls):
- Select items at fixed intervals com a random start point
- Ensure representation across todos sub-periods
Targeted selection (supplement para random, para risco-based testing):
- Select items com specific risco characteristics (high dollar, unusual, period-end)
- Document rationale para targeted selections
Present o sample:
SAMPLE SELECTION
Control: [Control ID] — [Description]
Period: [Testing period]
Population: [Count] items, $[Total value]
Sample size: [N] items
Selection method: [Random/Systematic/Targeted]
| Sample # | Transaction Date | Reference/ID | Amount | Selection Basis |
|----------|-----------------|--------------|--------|-----------------|
| 1 | [Date] | [Ref] | $X,XXX | Random |
| 2 | [Date] | [Ref] | $X,XXX | Random |
|... |... |... |... |... |
4. criar Testing Workpaper
gerar a testing template para each control:
SOX CONTROL TESTING WORKPAPER
==============================
Control #: [ID]
Control Description: [Full description do control activity]
Control responsável: [Role/title — para be filled by tester]
Control Type: [manual/Automated/IT-Dependent manual]
Frequency: [How often o control operates]
Key Control: [Yes/No]
Relevant Assertion(s): [CEAVOP]
Testing Period: [Period]
TEST OBJECTIVE:
para determine whether [control description] operated effectively throughout o testing period.
TEST PROCEDURES:
1. [Step 1 — What para inspect, examine, ou re-perform]
2. [Step 2 — What evidência para obtain]
3. [Step 3 — What para comparar ou verify]
4. [Step 4 — How para evaluate completeness de performance]
5. [Step 5 — How para assess timeliness de performance]
EXPECTED EVIDENCE:
- [Document type 1 — e.g., signed aprovação form]
- [Document type 2 — e.g., system screenshot showing rever]
- [Document type 3 — e.g., reconciliation com preparer sign-off]
TEST RESULTS:
| Sample # | Ref | Procedure 1 | Procedure 2 | Procedure 3 | Result | Exception? | Notes |
|----------|-----|-------------|-------------|-------------|--------|------------|-------|
| 1 | | Pass/Fail | Pass/Fail | Pass/Fail | Pass/Fail | Y/N | |
| 2 | | Pass/Fail | Pass/Fail | Pass/Fail | Pass/Fail | Y/N | |
EXCEPTIONS NOTED:
| Sample # | Exception Description | Root Cause | Compensating Control | impacto |
|----------|----------------------|------------|---------------------|--------|
| | | | | |
CONCLUSION:
[ ] Effective — Control operated effectively com no exceptions
[ ] Effective com exceptions — Control operated effectively; exceptions are isolated
[ ] Deficiency — Control did não operate effectively
[ ] Significant Deficiency — Deficiency is more than inconsequential
[ ] material Weakness — Reasonable possibility de material misstatement não prevented/detected
Tested by: ________________ Date: ________
Reviewed by: _______________ Date: ________
5. Provide Common Control templates
Based on o control area, provide pre-built test step templates:
Revenue Recognition:
- Verify vendas order aprovação e authorization
- Confirm delivery/performance evidência
- Test revenue recognition timing against contrato terms
- Verify pricing precisão para contrato/price list
- Test credit memo aprovação e validity
Procure para Pay:
- Verify purchase order aprovação e authorization limits
- Confirm three-way match (PO, receipt, invoice)
- Test fornecedor master dados change controls
- Verify payment aprovação e segregation de duties
- Test duplicate payment prevention controls
Financial Close:
- Verify conta reconciliation completeness e timeliness
- Test journal entry aprovação e segregation de duties
- Verify management rever de financial statements
- Test consolidation e elimination entries
- Verify disclosure checklist completion
ITGC:
- Test utilizador access provisioning e de-provisioning
- Verify privileged access revê
- Test change management aprovação e testing
- Verify batch job monitoring e exception handling
- Test backup e recovery procedures
6. Document Control Assessment
Classify qualquer identified deficiencies:
Deficiency: A control does não allow management ou employees para prevent ou detetar misstatements on a timely basis. Consider:
- probabilidade de misstatement
- Magnitude de potential misstatement
- Whether compensating controls exist
Significant Deficiency: A deficiency (ou combination) that is less severe than a material weakness but important enough para merit attention by those responsible para oversight.
material Weakness: A deficiency (ou combination) such that there is a reasonable possibility that a material misstatement will não be prevented ou detected on a timely basis.
7. Output
Provide:
- matriz de controlos para o selected area
- Sample selections com methodology documentation
- Testing workpaper templates com pre-populated test steps
- Results documentation template
- Deficiency evaluation framework (if exceptions are identified)
- Suggested remediation ações para qualquer noted deficiencies