cadrumo.application.modelo.m303_regimen_simplificado_scope module¶
Secure-profile scope resolution for the M303 simplified-regime branch.
- m303_profile_readiness_failure(scenario_code, evidence_values)[source]¶
Return the declared failure for one Modelo 303 profile-readiness scenario.
- active_taxpayer_profile(work_unit)[source]¶
Load the work unit’s active, setup-complete taxpayer profile, or raise.
- Return type:
- Parameters:
work_unit (WorkUnit)
- taxpayer_profile_for_work(profile)[source]¶
Project an already-loaded work profile, refusing an absent or incomplete one.
- Return type:
- Parameters:
profile (ModeloWorkProfile | None)
- m303_regimen_simplificado_scope_for_profile(profile)[source]¶
Map the canonical secure IVA profile composition to the closed simplified-regime scope.
Core types:
TaxpayerProfile.- Return type:
- Parameters:
profile (TaxpayerProfile)
- m303_regimen_simplificado_scope_for_composition(composition)[source]¶
Map one registry-projected IVA composition to its registry-projected scope.
- Return type:
- Parameters:
composition (M303RegimeComposition | str)
- m303_regimen_simplificado_annual_summary_applies(work_unit)[source]¶
Return whether regimen simplificado reaches this work unit’s taxpayer.
The single derivation the Modelo 390 annual-summary guard, resolver, and persisted-handoff validator all consult, so one taxpayer cannot be judged applicable by one and not another. Boxes 74–83 ride on every Modelo 390 form, so a revision declaring that binding family says what the FORM carries and never that the regime reaches this filer: LIVA art. 122 Uno applies regimen simplificado only to sujetos pasivos meeting its three stated requirements.
- m303_regimen_simplificado_annual_summary_applies_to_profile(profile)[source]¶
The same derivation as
m303_regimen_simplificado_annual_summary_applies(), on a loaded profile.Core types:
TaxpayerProfile.- Return type:
- Parameters:
profile (TaxpayerProfile)