aeat.application.review package¶
Application facade for the read-only operator review queue.
Callers import review enums, models, adapters, and projections exclusively from
application.review; private underscore modules remain implementation
details. The canonical CLI surface is aeat app review queue and show.
Those commands are read-only: queue adapters load bucket-scoped source records,
derive severity, and emit typed rows without mutating ledger, invoice, filing, or
modelo state.
Internally, ReviewQueue aggregates the three concrete
ReviewItem variants:
TransactionReviewItem, InvoiceReviewItem, and
FindingReviewItem. The operator-facing projection layer maps those
internal kinds into ReviewQueueRow values using the accepted
--kind / --source-kind vocabulary exposed by ACCEPTED_KINDS:
ledger_transaction, purchase_invoice_evidence, payable_invoice,
collectible_invoice, and modelo_finding. live_notification and
sync_divergence remain reserved vocabulary until concrete review sources are
wired.
The exported update_ledger_review() and update_invoice_review()
helpers append workflow-attention history only. Durable ledger facts, invoice
facts, filing findings, and bucket events stay owned by their source
application surfaces.
See also
ReviewQueueCross-source aggregator over read-only adapters.
ReviewQueueReportApplication report consumed by the CLI review renderer.
ReviewQueueRowOperator-facing queue row with owner surface and next command metadata.
ReviewItemInternal discriminated union emitted by source adapters.
ReviewItemKindInternal adapter-kind enum, distinct from accepted operator kind strings.
ACCEPTED_KINDSAccepted operator
--kindvalues after source-kind projection.
Submodules¶
- aeat.application.review._actions module
- aeat.application.review._adapters module
- aeat.application.review._aggregator module
- aeat.application.review._edit module
EditClauseparse_edit_clause()parse_edit_clauses()LedgerEditKeyInvoiceEditKeyLedgerEditSpecInvoiceEditSpecInvoiceEditSpec.clausesInvoiceEditSpec.baseInvoiceEditSpec.iva_rateInvoiceEditSpec.iva_amountInvoiceEditSpec.iva_categoryInvoiceEditSpec.retention_rateInvoiceEditSpec.retention_amountInvoiceEditSpec.payment_idInvoiceEditSpec.referenceInvoiceEditSpec.commentsInvoiceEditSpec.document_pathInvoiceEditSpec.from_strings()
- aeat.application.review._enums module
- aeat.application.review._errors module
- aeat.application.review._filter module
- aeat.application.review._models module
- aeat.application.review._operator module
ReviewQueueRowReviewQueueRow.item_idReviewQueueRow.kindReviewQueueRow.source_kindReviewQueueRow.affected_object_idReviewQueueRow.bucket_idReviewQueueRow.modeloReviewQueueRow.periodReviewQueueRow.severityReviewQueueRow.stateReviewQueueRow.blockingReviewQueueRow.reasonReviewQueueRow.current_owner_surfaceReviewQueueRow.canonical_next_commandReviewQueueRow.sinceReviewQueueRow.summaryReviewQueueRow.legal_refs
ReviewQueueReportproject_review_queue()project_review_item()