aeat.domain package

Domain-layer package root for business vocabulary and authorities.

The root package is intentionally thin: it re-exports only ModeloIdentifier and does not aggregate every domain authority. Callers import focused package facades such as modelos, filing, user_profile, transactions, and calculations.registry for records, repositories, schemas, and validation rules.

Domain packages own business semantics: modelo work units and filing records, calculation registry definitions, filing drafts, invoices, transactions, deadlines, profile schema records, bucket events, and legal/manual reference records. Application services compose these authorities with storage, CLI, and adapter concerns; the domain root should stay import-light so importing aeat.domain never pulls registry, storage, browser, or workflow subtrees.

The domain root is also not the shared error hierarchy. Package-specific _errors modules own domain failure taxonomies, while the root validation base remains in _errors for lightweight identifier parsing.

See also

  • modelos for modelo work units, calculation revisions, filing records, verification reports, and related catalogues.

  • calculations.registry for validated calculation registry authority and registry snapshot contracts.

  • filing for draft, review, export, amendment, and local filing-history records.

  • user_profile for user-profile schema and persisted profile value records.

  • transactions for ledger transaction records and catalogues.

Subpackages

Submodules