cadrumo.application.bienes_inversion.ports module¶
Application-owned capabilities for the capital-goods IVA register.
The register service and calculation/advisory paths consume this contract rather than constructing the encrypted persistence adapter. An executable composition root binds one bucket-scoped implementation and supplies it explicitly to each application path.
- class BienesInversionIvaRegisterRepositoryProtocol(*args, **kwargs)[source]¶
Bases:
ProtocolRequired bucket-bound read/write capability for capital-goods register state.
- add(record)[source]¶
Atomically add one record and return the updated register.
- Return type:
- Parameters:
record (BienInversionIvaRecord)