You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Search API - Store physical address plus mailing address where applicable #24445
An SI must specify their physical address in the RTR filings. They are also prompted with a checkbox to specify if their mailing address is different. If their mailing address is different and they check that box they must enter the mailing address.
This change is only in person search and the data is only visible by competent authorities
Policy has verified that we are only required to store the mailing address if it is entered
Only display the mailing address if the checkbox specifying the mailing address is different is checked
This work includes verifying that when the mailing address is included in a filing (23118) it is sent to search
changed the title [-]API - Store physical address plus mailing address for all SI's[/-][+]API - Store physical address plus mailing address where applicable[/+]on Feb 4, 2025
changed the title [-]API - Store physical address plus mailing address where applicable[/-][+]Verify: API - Store physical address plus mailing address where applicable[/+]on Feb 5, 2025
changed the title [-]Verify: API - Store physical address plus mailing address where applicable[/-][+]API - Store physical address plus mailing address where applicable[/+]on Feb 5, 2025
changed the title [-]API - Store physical address plus mailing address where applicable[/-][+]Search API - Store physical address plus mailing address where applicable[/+]on Feb 6, 2025
Activity
[-]API - Store physical address plus mailing address for all SI's[/-][+]API - Store physical address plus mailing address where applicable[/+][-]API - Store physical address plus mailing address where applicable[/-][+]Verify: API - Store physical address plus mailing address where applicable[/+][-]Verify: API - Store physical address plus mailing address where applicable[/-][+]API - Store physical address plus mailing address where applicable[/+]mstanton1 commentedon Feb 5, 2025
@kialj876 @hfekete @patrickpeinanw to review before grooming.
[-]API - Store physical address plus mailing address where applicable[/-][+]Search API - Store physical address plus mailing address where applicable[/+]kialj876 commentedon May 21, 2025
Mailing address needs to be added to this list for the payload to bor-api if it exists here:
https://github.com/bcgov/business-transparency-registry/blob/main/btr-api/src/btr_api/resources/v1/submission.py#L170
Logic here needs to be updated to include mailing address if it exists in the bor-api:
https://github.com/bcgov-registries/beneficial-ownership/blob/main/bor-api/src/bor_api/utils/data_converters/party.py#L169
change to something like
addresses=[get_btr_address(address, "RESIDENCE") for addresses in party.get("addresses", [])], NOTE: make sure the address type is set in the payload from btr -- expecting something like "MAILING"https://github.com/bcgov-registries/beneficial-ownership/blob/main/bor-api/src/bor_api/utils/data_converters/party.py#L175
change to something like
addresses=addresses, NOTE: make sure this is set to None instead of an empty list when there are no addressesBrandonSharratt commentedon May 30, 2025
This is covered in 2 PRs:
https://github.com/bcgov-registries/beneficial-ownership/pull/363
bcgov/business-transparency-registry#279
gunanagar commentedon Jun 10, 2025
Tested, and looks good