Skip to content

Search API - Store physical address plus mailing address where applicable #24445

Closed

Description

@mstanton1

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

Design:
Figma: https://www.figma.com/design/JLmhc9QFKtAXijXsyTCSR8/Search?node-id=738-2741&t=k0IUiZAfsQK00DUK-1

Activity

  1. added
    BTR
    on Nov 15, 2024
  2. 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
  3. 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
  4. 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
  5. mstanton1 commented on Feb 5, 2025

    @mstanton1
    CollaboratorAuthor

    @kialj876 @hfekete @patrickpeinanw to review before grooming.

  6. 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
  7. kialj876 commented on May 21, 2025

    @kialj876
    Collaborator

    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 addresses

  8. BrandonSharratt commented on May 30, 2025

    @BrandonSharratt
    Collaborator
  9. gunanagar commented on Jun 10, 2025

    @gunanagar
    Collaborator

    Tested, and looks good

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

Metadata

Metadata

Labels

BTRClient/Staff Feedback

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions