Skip to content

feat(account): show the company information modal on an invalid SIRET - #23175

Draft
AlexisAfonso wants to merge 1 commit into
masterfrom
manager-22233
Draft

feat(account): show the company information modal on an invalid SIRET#23175
AlexisAfonso wants to merge 1 commit into
masterfrom
manager-22233

Conversation

@AlexisAfonso

@AlexisAfonso AlexisAfonso commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Description

The modal only reached FR corporations the API had already flagged with an e-invoicing certificate. FR B2B/B2G accounts — corporation, association or administration, in FR and the DROM — whose SIRET is missing or fails its Luhn checksum now get it too: there is nothing to bill them electronically with, so they have to fill it in.

getContentKeyPrefix replaces isConcernedByAccountToReview and picks between the three wordings, a certificate always taking precedence over the SIRET check. The new "siret" variant lands in the 8 locales.

Also carries a temporary debug change in new-account-form-controller.js that appends TEST to the e-invoicing address so PUT /me rejects it, to exercise the stale-address path against the real API. It is marked DO NOT COMMIT in place and has to go before review.

Ticket Reference: #MANAGER-22233

Additional Information

The modal only reached FR corporations the API had already flagged with an
e-invoicing certificate. FR B2B/B2G accounts — corporation, association or
administration, in FR and the DROM — whose SIRET is missing or fails its Luhn
checksum now get it too: there is nothing to bill them electronically with, so
they have to fill it in.

getContentKeyPrefix replaces isConcernedByAccountToReview and picks between the
three wordings, a certificate always taking precedence over the SIRET check. The
new "siret" variant lands in the 8 locales.

Also carries a temporary debug change in new-account-form-controller.js that
appends TEST to the e-invoicing address so PUT /me rejects it, to exercise the
stale-address path against the real API. It is marked DO NOT COMMIT in place and
has to go before review.

ref: #MANAGER-22233

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Alexis AFONSO <alexis.afonso@ovhcloud.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants