aeat.application.ledger._actions_export module¶
Application export service for bucket-scoped manual ledger snapshots.
The export action reads a loaded
TransactionCatalogue, projects
LedgerExportRow instances, serializes them
with serialize_tabular_rows(), emits a
LEDGER_TRANSACTION_EXPORTED bucket event, and returns
LedgerExportResult.
- export_ledger_transactions(command, *, transaction_repository=None, bucket_event_repository=None, occurred_at=None)[source]¶
Export rows for a
LedgerExportCommand.- Returns:
The export outcome.
- Return type:
- Parameters:
command (LedgerExportCommand)
transaction_repository (TransactionCatalogueRepositoryProtocol | None)
bucket_event_repository (BucketEventHistoryRepositoryProtocol | None)
occurred_at (datetime | None)