cadrumo.application.ledger.invoice_confirmation_ports module¶
Application-owned capabilities for invoice confirmation.
Invoice confirmation links the source attachment to the invoice that the confirmation mints (or reuses). The application owns that capability’s boundary; an executable composition root supplies the bucket-bound attachment store implementation. Attachment manifests and their domain errors remain domain values, so no persistence adapter DTO or exception crosses inward.
- exception InvoiceConfirmationPersistenceError(operation)[source]¶
Bases:
CadrumoErrorTranslated failure from the confirmation attachment capability.
- Parameters:
operation (str)
- Return type:
None
- code¶
- class InvoiceConfirmationPorts(attachment_store)[source]¶
Bases:
objectRequired authorities for one bucket-scoped invoice confirmation.
- Parameters:
attachment_store (AttachmentStoreProtocol)
-
attachment_store:
AttachmentStoreProtocol¶