entity icon indicating copy to clipboard operation
entity copied to clipboard

Legal API: (Incorporation Application) Share Structure validation mismatches

Open loneil opened this issue 2 weeks ago • 0 comments

As an API user posting an incorporation application, I want to get appropriate validation errors if I try and and enter Share Structure details that would not pass validation if entered through the frontend, so that my saved data is accurate and reliable and will not cause issues if used again through the frontend


There are field values when entering Share Structure that will give validation errors on the Frontend Create UI that do not happen if posted directly to the API:

Field Frontend API
share class must have at least one share class can save a []
name name cannot have "share", "shares", "value" in it does not restrict
maxNumberOfShares 16 digit max allows more than 16
maxNumberOfShares must be whole number > 0 can add decimals and negative numbers
parValue > 1 has to be max 2 decimal place any decimal
parValue < 1 has to be max 6 decimal place any decimal
parValue must be > 0 can be negative
currency have to use picker of defined values (3 chars) any string of any length

QA Notes

  • Regression test of frontend Incorporation Application and share structure functionality. Ensure expected behavior for saving, reviewing and filing IA with different types of data entered for Share Structure fields.
  • Ensure posting an incorporation application through the API (postman collection) works as expected for different types of data entered for Share Structure fields.
  • Ensure the validations described in this ticket work

loneil avatar Dec 24 '25 00:12 loneil