# Reconcile source documents to a workbook — acceptance checklist

Record evidence for every checked item. Unchecked or untested is not a pass. This checklist does not execute an integration or authorise external actions.

## Required inputs

- [ ] An authorised PDF set with stable file identities, document dates and any amendments or replacement notices.

- [ ] A workbook template or column specification defining record keys, required fields, units, currency and reporting period.

- [ ] A source-precedence and duplicate policy approved by the document owner, including treatment of credits, reversals and missing values.

- [ ] The original workbook if one exists, including designated input cells, formulas, external links, macros and presentation conventions to preserve.

- [ ] An eligible document-tool host with extraction/OCR and recalculation dependencies, a writable output copy and an independent reconciliation reviewer.

## Output checks

- [ ] Every accepted record resolves to a specific source page and row; uncertain OCR is not silently repaired from an expected total.

- [ ] Detect repeated page headers, split rows and duplicate or amended documents before aggregation.

- [ ] Keep currencies, units, reporting periods, credits and decimal separators explicit; missing values are not zero.

- [ ] Apply source precedence only with documented authority, retaining unresolved conflicts outside approved totals with visible reasons.

- [ ] Verify formulas and required links/macros survive saving and recalculation; reject a cached-values-only replacement when editability is required.

- [ ] Inspect recalculation status and independently check control totals and row references; successful process exit alone is insufficient.

- [ ] Open the delivered copy in the intended viewer and check filters, hidden rows, clipped headings and exception visibility, recording any viewer not tested.

- [ ] Fail the execution preflight when the reviewed local LibreOffice wrapper is selected without explicit compile/preload approval, an approved isolated host boundary or trusted fixed temporary-library evidence. No recalculation/rendering pass may be recorded from that path; retain not run unless a separately approved compatible engine supplies its own identity and execution receipt.

## Deliverables

- [ ] Source-document and page/row provenance ledger.

- [ ] Normalised record set with duplicate, amendment and OCR exception decisions.

- [ ] Editable reconciliation workbook with labelled inputs, formulas and unresolved records.

- [ ] Arithmetic, recalculation and viewer-check receipts with remaining discrepancies.

## Evidence and decision

Evidence links: [fill in]
Untested paths: [fill in]
Unresolved findings: [fill in]
Reviewer: [fill in]
Decision and scope: [fill in]

## Boundaries

- The PDF and spreadsheet resources are separately configured document tools, not a tested extraction-to-workbook pipeline. Their restricted terms govern tool use; these original instructions do not redistribute their definitions.

- Use the PDF path for extraction and OCR, not as a claim that a form-layout helper validates table accuracy. Check ambiguous page content directly, including minus signs, decimal separators and continuation rows.

- Recalculation can rewrite workbooks and damage external references. Work on a copy, inspect structured failure status rather than exit code alone, and stop for a preservation decision when the available engine cannot retain required links, macros or formulas.

- If using the reviewed local LibreOffice wrapper, obtain explicit approval for its native-code execution path before recalculation or rendering. It may invoke gcc and preload a socket shim, reusing a fixed temporary shared-library path. Use an independently approved isolated environment with trusted temporary-library contents; document-tool entitlement and a writable copy do not establish that boundary. If approval or isolation is absent, use a separately approved compatible engine or return this stage as not run. Do not weaken host restrictions automatically to make conversion succeed.

Workflow: https://undominated.ai/workflows/#reconcile-documents-to-workbook
