Skip to content

Legal API: update business response to provide business dissolution reason #25986

Closed

Description

@severinbeauvais

This is needed for #14802 and #25146 -- Namerequest UI / Namex API needs to know, likely from the business response, whether a business is Historical because it was dissolved as a result of amalgamation or for financial reasons.

Legal API needs to return 2 new properties in the business response (if the business is historical):

  • whether a business is historical because it was dissolved as a result of amalgamation
  • whether a business is historical because of financial reasons

Here is a complete table showing 5 cases where a historical business cannot be restored.

image.png

Activity

  1. added
    Entities Team
    on Feb 13, 2025
  2. severinbeauvais commented on Feb 13, 2025

    @severinbeauvais
    CollaboratorAuthor

    @Mihai-QuickSilverDev Could you please explain what to look for to determine that a Historical business is not restorable? Thanks!

  3. OlgaPotiagalova commented on Feb 14, 2025

    @OlgaPotiagalova
    Collaborator

    @Mihai-QuickSilverDev you have advised there are mitigation steps, could you please add. Thank you

  4. Mihai-QuickSilverDev commented on Feb 25, 2025

    @Mihai-QuickSilverDev
    Collaborator
    • Added table in ticket description based on COLIN states.
  5. removed their assignment
    on Feb 25, 2025
  6. severinbeauvais commented on Feb 25, 2025

    @severinbeauvais
    CollaboratorAuthor

    @Mihai-QuickSilverDev The old UI design showed only 2 validation errors if a historical business cannot be restored:

    image.png

    Do we want additional messages (for all 5 reasons), or can the five reasons be mapped into the two messages above?

    If we need to support more than 2 reasons then we need more new properties (or use an enum).

  7. changed the title [-]Legal API: update business response to identify if business was liquidated[/-] [+]Legal API: update business response to provide business dissolution reason[/+] on Feb 25, 2025
  8. severinbeauvais commented on Feb 25, 2025

    @severinbeauvais
    CollaboratorAuthor

    Note that Namex API calls Legal API to fetch COLIN businesses (if they are not in LEAR). I don't know if we can verify the business liquidation reasons from COLIN.

    If not then users would still be able to create a restoration NR for ineligible historical businesses, until all COLIN businesses are migrated to LEAR.

    If yes and easy then we should implement that, too.

  9. Mihai-QuickSilverDev commented on Feb 26, 2025

    @Mihai-QuickSilverDev
    Collaborator
    • in COLIN there is one table to look in:

    image.png

    • Currently, Name Request in PROD is not stopping restoration NR's for non-restorable companies.
    • As a like for like, we could keep the status quo.
    • When all data is migrated to Lear, then we could check in Lear.
  10. Mihai-QuickSilverDev commented on Feb 26, 2025

    @Mihai-QuickSilverDev
    Collaborator
    • Regarding @severinbeauvais question above:
      • We could use even a more generic message, one that fits all: "This business cannot be restored as it has become historical through a method that does not allow restoration (amalgamation, continuation out, amalgamation out, liquidation, or withdrawn."
  11. severinbeauvais commented on Feb 26, 2025

    @severinbeauvais
    CollaboratorAuthor

    We could use even a more generic message, one that fits all: "This business cannot be restored as it has become historical through a method that does not allow restoration (amalgamation, continuation out, amalgamation out, liquidation, or withdrawn."

    I like this a lot, as it allows the business logic to exist only in Legal API and a single property can be passed up to the UI, which would allow or block the restoration NR.

  12. added
    Dependency
    on Feb 27, 2025
  13. severinbeauvais commented on Mar 4, 2025

    @severinbeauvais
    CollaboratorAuthor

    Could we use the "allowable actions" (in Legal API) to determine whether a historical business can be restored? (Isn't it the same logic, after all?)

  14. 1 remaining item

  15. added theissue type on Mar 9, 2026
  16. mstanton1 commented on Mar 18, 2026

    @mstanton1
    Collaborator

    @Mihai-QuickSilverDev I see the wording recommendation above but would like to push this for design. Any concerns? If not, I will link a design ticket to this.

  17. severinbeauvais commented on Mar 18, 2026

    @severinbeauvais
    CollaboratorAuthor

    I'm in favour of asking UI/UX team to formulate an acceptable, single message for when a business is not restorable (regardless of reason).

  18. mstanton1 commented on Mar 18, 2026

    @mstanton1
    Collaborator

    Linked design ticket as blocker.

  19. mstanton1 commented on Jun 11, 2026

    @mstanton1
    Collaborator

    Adjusting back to pre-MVP epic as this is a blocker for #14802 which has been requested by names to prevent restoration when invalid at the earliest step in the user experience.

  20. mstanton1 commented on Jun 11, 2026

    @mstanton1
    Collaborator

    Likely not needed as this information is available in the search tombstone. A note has been added in #14802 for the names team.

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

    DependencyEntities TeamPriority3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions