cadrumo.domain.modelos.calculation_revision_amendment module

Immutable calculation-revision amendment identity and M303 motive authority.

class CalculationRevisionAmendmentKind(*values)[source]

Bases: StrEnum

Closed catalogue of amendment kinds a calculation revision may carry.

Each member names the instrument it files, so the article travels with the kind rather than only with the regime that admits it:

  • COMPLEMENTARIA – an additional declaration correcting an already-presented one upward.

  • SUSTITUTIVA – a material restatement that replaces an already-presented filing in full.

  • RECTIFICATIVA – the ordinary-correction mechanism selected by the applicable modelo revision.

COMPLEMENTARIA
SUSTITUTIVA
RECTIFICATIVA
class M303RectificativaMotive(*values)[source]

Bases: StrEnum

The two mutually-exclusive motives admitted by the M303 record design.

RECTIFICACIONES
DISCREPANCIA_CRITERIO_ADMINISTRATIVO
class CalculationRevisionAmendmentIdentity(**data)[source]

Bases: BaseModel

The sole content-addressed amendment identity carried by a revision.

Parameters:

data (Any)

kind: CalculationRevisionAmendmentKind
amends_filing_record_id: FilingRecordId
m303_rectificativa_motive: M303RectificativaMotive | None
m303_rectificativa_motive_is_applicable(*, registry_revision_id, record_design, operation=None)[source]

Return whether the exact reviewed revision/source coordinate admits a motive.

Return type:

bool

Parameters:
m303_rectificativa_record_design_from_snapshot(snapshot, *, operation=None)[source]

Resolve the sole admitted record-design source owned by a snapshot.

Core types: RegistrySnapshot.

Return type:

SourceReference | None

Parameters: