aeat.domain.calculations.registry._applicability_payer_facts module¶
Payer-fact predicates for modelo applicability rules.
Each TaxpayerProfile boolean answers one payer or trade fact used by
the modelo applicability rule table.
- class PayerFact(*values)[source]¶
Bases:
StrEnumA withholding-payer / trade fact a modelo’s applicability needs.
- PAYS_WITHHELD_INCOME¶
- PAYS_RENT_WITH_RETENCION¶
- TRADES_INTRACOMMUNITY¶
- EXCEEDS_THIRD_PARTY_THRESHOLD¶
- BIENES_EXTRANJERO_ABOVE_THRESHOLD¶
- MONEDAS_VIRTUALES_EXTRANJERO_ABOVE_THRESHOLD¶
- PAYS_CAPITAL_INCOME_WITH_RETENCION¶
- IVA_GROUP_MEMBER¶
- IVA_GROUP_DOMINANT_ENTITY¶
- OSS_ENROLLED¶
- payer_fact_holds(profile, fact)[source]¶
Return whether
profilepositively declares the payerfact.The supplied
TaxpayerProfileprovides the boolean field backing the requestedPayerFact.- Return type:
- Parameters:
profile (TaxpayerProfile)
fact (PayerFact)