aeat.application.storage.calc_sheets package

Workbook export planning engine for modelo registry snapshots.

Translates a domain.calculations.registry.RegistrySnapshot into a application.storage.calc_sheets.SheetExportPlan whose formulas produce the same per-casilla rounded values as the local registry runtime. The plan is shared by the Google Sheets apply adapter and the offline XLSX materializer, so layout, formulas, styling, provenance, and evidence stay on one contract.

The package exposes three layers:

Operator-facing CLI surface lives under src/aeat/entrypoints/cli/_config/_google.py; this package contains domain and application logic only.

See also

domain.calculations.registry.RegistrySnapshot

Registry-authored calculation surface compiled by the engine.

application.storage.calc_sheets.SheetExportPlan

Shared workbook plan consumed by online and offline renderers.

application.storage.calc_sheets.serialize_offline_export()

Offline XLSX plus evidence-sidecar serializer for operator-directed exports.

Submodules