cadrumo.application.ledger.attachment_review module¶
Read-side projection for encrypted attachments awaiting invoice review.
- class AttachmentReviewItem(**data)[source]¶
Bases:
BaseModelNon-secret manifest facts exposed to an invoice-review operator.
- Parameters:
data (Any)
- attachment_id: str¶
- sha256: str¶
- mime_type: str¶
- bytes_size: int¶
- source: AttachmentSource¶
- provider_locator: str¶
- captured_at: str¶
- linked_invoice_ids: tuple[str, ...]¶
- pending_review: bool¶
- get_attachment_review_item(store, attachment_id)[source]¶
Load one manifest and expose only review-safe provenance fields.
- Return type:
- Parameters:
store (AttachmentStoreProtocol)
attachment_id (str)
- list_attachment_review_queue(store)[source]¶
List unconfirmed Drive attachments from authoritative secure manifests.
- Return type:
- Parameters:
store (AttachmentStoreProtocol)