cadrumo.application.aggregation.m303_arrivals module¶
Generic evidence-arrival and transition-validation mechanics.
- class M303SupplierRegimeArrival(**data)[source]¶
Bases:
BaseModelPeriod-specific evidence that the taxpayer received supplier-regime operations.
- Parameters:
data (Any)
- period: Period¶
- recipient_of_cash_accounting_operations: bool¶
- source_ledger_ids: tuple[str, ...]¶
- class M303ProrrataTransitionArrival(**data)[source]¶
Bases:
BaseModelPeriod-specific prorrata option or revocation evidence.
- Parameters:
data (Any)
- period: Period¶
- transition: ProrrataEspecialTransitionKind | None¶
- register_evidence: tuple[ProrrataRegisterEntry, ...]¶
- resolve_m303_supplier_regime_arrival(*, period, iva_aggregation)[source]¶
Derive the recipient fact solely from the canonical IVA observation set.
This fact records supplier-regime participation in the filing period, not a monetary box contribution. It therefore deliberately spans both the operation-information and settlement projection roles, while retaining a stable one-ledger-id evidence set when one operation has several partial settlements in the same period.
- Return type:
- Parameters:
period (Period)
iva_aggregation (IvaLedgerAggregation)
- resolve_m303_prorrata_transition_arrival(*, period, prorrata_register, operation=None)[source]¶
Resolve a registry-selected prorrata transition from register evidence.
- Return type:
- Parameters:
period (Period)
prorrata_register (ProrrataRegister)
operation (PinnedAuthorityOperation | None)