Skip to content

Canada Post API - Handling International Address - UI and outputs  #33209

Closed
1 of 1 issue completed
Closed

Description

@MorganJohnston20

When an address is international it shows the countries language:

image.png

image.png

image.png

With these addresses not being valid or not showing up correctly on the output has prevented clients from being able to do any further filings.

This issue already exists in production today as part of the address modernization work, however the recommendation is to have this prioritized for the next sprint to address the known issues and have them resolved.

Change: This should display in english characters in the UI, and on the reports. If there isn't the option to have the address retrieved and saved in this way with the Canada Post lookup we can require manual address entry for Chinese addresses. This requires review of the Canada Post integration to determine the solution.

Sub-issues

Sub-issues

1 of 1 Issues completed
Loading 1 sub-issues

Activity

  1. added
    bug
    ENTITY - DO NOT USE
    on Apr 22, 2026
  2. added
    Entities Team
    and removed
    ENTITY - DO NOT USE
    on Apr 23, 2026
  3. changed the title [-]International Address - [/-] [+]Handling International Address - UI and outputs [/+] on Apr 23, 2026
  4. added
    UAT
    on Apr 23, 2026
  5. self-assigned this
    on May 4, 2026
  6. mstanton1 commented on May 4, 2026

    @mstanton1
    Collaborator

    @mruff-aeq I'm going to loop in the team for insights here. I can speak to the business need (not displaying the Chinese characters) but not the character set or change to accomplish that.

  7. thorwolpert commented on May 4, 2026

    @thorwolpert
    Collaborator

    Will need to check address complete rules
    For example: A Beijing address can be in Chinese characters, the country name CHINA must be in English or French on the last line for Canada Post to process it.

  8. 4 remaining items

  9. mruff-aeq commented on May 12, 2026

    @mruff-aeq
    Collaborator

    @vikas-gov @mstanton1 Currently there is drift how this operates here in our base repo. Currently the logic just ignores the auto complete for non english countries , and a ticket should be made to match functionality. However it is low priority task.

  10. thorwolpert commented on May 12, 2026

    @thorwolpert
    Collaborator

    Another issue to resolve, is that we didn't get approvals to use AddressComplete for non-Candian/US addresses as they have an added expense. It's not much more, but I wanted to add that in here.
    The act only requires:
    Register of directors
    126A company must keep a register of its directors and enter in that register
    (a) the full name and prescribed address for each of the directors,

    It doesn't dictate a delivery/contact address, as we usually mean delivery being able to physically deliver a summons.
    I think the larger constraint here is the CRAs BN system and the Transparency Registry.

  11. mstanton1 commented on May 12, 2026

    @mstanton1
    Collaborator

    @mruff-aeq thanks for flagging it. I will wait to determine if we have operational issues that warrant the alignment, or whether we can wait until we upgrade to Nuxt.

    @thorwolpert I think we were already using autocomplete but in a way that didn't given the characters presented so we've just changed that. Is that correct? Perhaps we could connect offline if there's other factors to consider / approvals for me to seek.

  12. mruff-aeq commented on May 14, 2026

    @mruff-aeq
    Collaborator

    the main pr is done. we just need to bump the numbering on affected repos.
    bcgov/business-filings-ui#804

  13. mruff-aeq commented on May 14, 2026

    @mruff-aeq
    Collaborator

    For QA - you need to test how this works in the UI
    this is being used in 3 repos:
    business-create-ui on 5.18.8
    business-edit-ui on 4.17.7
    business-filings-ui on least 8.3.8

  14. self-assigned this
    on May 15, 2026
  15. rsagpariya commented on May 15, 2026

    @rsagpariya
    Collaborator

    @mstanton1, While testing this ticket, I noticed a behavior issue that I’m attaching here (not sure if you are already aware of it or if we should create a new ticket for it):

    When we try to paste an address for directors outside of Canada, for example, a China address written in Chinese characters, it is not displaying properly in the Register Correction Application document.

    Screenshot 2026-05-15 144851.png

  16. mruff-aeq commented on May 17, 2026

    @mruff-aeq
    Collaborator

    @rsagpariya you are encountering a issue entering non latin1 characters outside of the expected Canada post address workflow. i split this issue you are experiencing into a sub issue that i will address immediately as its a minor fix. I revised the content of this ticket to only focus on working with Canada post address input issue, as its a in demand business need that should go to prod sooner than later.

    Edit:
    new ticket addressing pasting non latin-1 in vue component:
    image.png

    https://app.zenhub.com/workspaces/entities-team-65af15f59e89f5043c2911f7/issues/gh/bcgov/entity/33467

  17. changed the title [-]Handling International Address - UI and outputs [/-] [+]Canada Post API - Handling International Address - UI and outputs [/+] on May 17, 2026
  18. rsagpariya commented on May 19, 2026

    @rsagpariya
    Collaborator

    Verified on DEV:

    When we select any country other than Canada for a director/incorporator address, and then start typing a manual address for example, after selecting China and typing “Shanghai”, we receive address suggestions. However, after selecting a suggested address in the Chinese language, the first line of the address displays as “N/A,” while the remaining address lines appear in English translation.

    I verified this behavior:

    • from both staff and client flows while creating a new company,

    • while editing current directors,

    • and through correction filings.

    Screenshot 2026-05-19 113519.png

    Screenshot 2026-05-19 113436.png

  19. rsagpariya commented on May 19, 2026

    @rsagpariya
    Collaborator

    Ready to go on TEST env

  20. self-assigned this
    on May 19, 2026
  21. rsagpariya commented on May 20, 2026

    @rsagpariya
    Collaborator

    Verified on Test:

    • All international addresses that appear in an international language while searching in the address field are translated into English after selection and saved successfully. Payment was also completed successfully. Verified by creating a new business from both client and staff sides. File correction and director change also work as expected.
    • Screenshot 2026-05-20 140537.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Entities TeamUATUX Assurancebugprod defect

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions