Skip to content

Handling Postal Code Exemptions for International Addresses #31826

Open
6 of 6 issues completed
Open

Description

@Mihai-QuickSilverDev

Problem Statement:

  • In mid year 2025, as part of the Data Migration work, it was observed that there were records coming from COLIN that were missing the Postal Code value.
  • It was determined that there is a list of countries for which the Postal Code should be optional.

To Do List for this Epic:

  • Identify all the filings affected by this work.
  • Create all the tickets required.
  • Complete these tickets.

Requirements:

  • Where an international Director address is for a country included in an exception list, postal code field becomes optional.
  • See work done previously here Legal API - update validation to make postal code optional for countries not requiring postal codes #28496
  • List of exemptions:
  • NO_POSTAL_CODE_COUNTRY_CODES = {
    "AO", "AG", "AW", "BS", "BZ", "BJ", "BM", "BO", "BQ", "BW", "BF", "BI",
    "CM", "CF", "TD", "KM", "CG", "CD", "CK", "CI", "CW", "DJ", "DM", "GQ",
    "ER", "FJ", "TF", "GA", "GM", "GH", "GD", "GY", "HM", "HK",
    "KI", "KP", "LY", "MO", "MW", "ML", "MR", "NR",
    "AN", "NU", "QA", "RW", "KN", "ST", "SC", "SL", "SX", "SB", "SO", "SR", "SY",
    "TL", "TG", "TK", "TO", "TT", "TV", "UG", "AE", "VU", "YE", "ZW"}
  • Impacts: Corps and Coops

Investigation:

  • Annual Report - Affected - ticket below
  • Director Change - Affected - ticket below
  • Alteration - Not affected
  • Address Change - Not Affected - Addresses need to be in BC
  • Bootstrap Filings - Incorporation - Tested - Affected by Directors' addresses
  • Bootstrap Filings - Amalgamation - Tested - Affected by Directors' addresses
  • Bootstrap Filings - Continuation In - Tested - Affected by Directors' addresses
  • Restorations - - Affected by Directors' addresses
  • Correction - Affected
  • Continuation Out (two filings) - TBD
  • Amalgamation Out (two filings) - TBD

Sub-issues

Sub-issues

6 of 6 Issues completed
Loading 6 sub-issues

Activity

  1. added
    Entities Team
    on Dec 30, 2025
  2. severinbeauvais commented on Jan 7, 2026

    @severinbeauvais
    Collaborator

    Suggested approach

    The back end (API) needs to allow filing JSON with missing postal code for specific countries for all filings. (Currently only AR is handled.)

    The front end (UIs) need to allow the address component to not require postal code for specific countries. This is done using a schema. The code is common for filings within each UI, but there are 3 UIs that need updating.

    1. update validation in Business API to ignore missing postal code for specific countries for remaining filings - see Business API: Add No Postal Code feature to all other filings #31821
    2. update common schema in Create UI to ignore missing postal code for specific countries; this will affect filings in Create UI - see Create UI: update Person Address Schema to make postal code optional for specific countries #31953
    3. update common schemas in Edit UI to ignore missing postal code for specific countries; this will affect filings in Edit UI - see Edit UI: update director schemas to make postal code optional for specific countries #31955
    4. update directors schema in Filings UI to ignore missing postal code for specific countries; this will affect filings in Filings UI - see Filings UI: update director schemas to make postal code optional for specific countries #31954
  3. changed the title [-]Epic - Handling Postal Code Exemptions for International Addresses[/-] [+]Handling Postal Code Exemptions for International Addresses[/+] on Jan 12, 2026
  4. dylan644 commented on Feb 5, 2026

    @dylan644

    @Mihai-QuickSilverDev , @mstanton1 , @vikas-gov
    FYI - Officers needs to be added to this list/epic of things that need to handle addresses in countries that don't use postal codes.

    A particularly informative error msg appears in Officers when adding someone without a postal code in such a country

    image.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Entities Team

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions