Skip to content

Commit

Permalink
colin-api: good standing is false if in LIQ, LRL or LRS (#2207)
Browse files Browse the repository at this point in the history
Signed-off-by: Kial Jinnah <kialjinnah@gmail.com>
  • Loading branch information
kialj876 authored Sep 28, 2023
1 parent 326c016 commit ba4c33f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions colin-api/src/colin_api/models/business.py
Original file line number Diff line number Diff line change
Expand Up @@ -688,10 +688,10 @@ def is_in_good_standing(business: dict, cursor) -> Optional[bool]:
# good standing is irrelevant to non active and nwpta businesses
return None
if business['corp_class'] in ['BC'] or business['corp_typ_cd'] in ['LLC', 'LIC', 'A', 'B']:
if business.get('state_typ_cd') in ['D1A', 'D1F', 'D1T', 'D2A', 'D2F', 'D2T']:
# Dissolution state is not in good standing
# - updates into this state occur irregularly via batch job
# - updates out of this state occur immediately when filing is processed
if business.get('state_typ_cd') in ['D1A', 'D1F', 'D1T', 'D2A', 'D2F', 'D2T', 'LIQ', 'LRL', 'LRS']:
# Dissolution state or Liquidation or Limited Restoration or is NOT in good standing
# - updates into Dissolution states occur irregularly via batch job
# - updates out of these states occur immediately when filing is processed
# (can rely on this for a business being NOT in good standing only)
return False

Expand Down

0 comments on commit ba4c33f

Please sign in to comment.