Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Auto-entreprise] Les liens de partage ne fonctionne pas quand on indique un taux d'impôt personnalisé #3246

Open
glopezrios opened this issue Dec 5, 2024 · 0 comments

Comments

@glopezrios
Copy link
Collaborator

Exemple avec ce lien de partage:
https://mon-entreprise.urssaf.fr/simulateurs/auto-entrepreneur?dirigeant+.+auto-entrepreneur+.+chiffre+d%27affaires=910%E2%82%AC%2Fmois&dirigeant+.+auto-entrepreneur+.+imp%C3%B4t+.+versement+lib%C3%A9ratoire=non&dirigeant+.+auto-entrepreneur+.+%C3%A9ligible+%C3%A0+l%27ACRE=non&entreprise+.+activit%C3%A9+.+nature=%27lib%C3%A9rale%27&entreprise+.+activit%C3%A9+.+nature+.+lib%C3%A9rale+.+r%C3%A9glement%C3%A9e=non&entreprise+.+activit%C3%A9s+.+revenus+mixtes=non&entreprise+.+date+de+cr%C3%A9ation=%2701%2F01%2F2024%27&imp%C3%B4t+.+m%C3%A9thode+de+calcul=%27taux+personnalis%C3%A9%27&imp%C3%B4t+.+taux+personnalis%C3%A9=15.3%%26unite=%E2%82%AC%2Fmois&%C3%A9tablissement+.+commune+.+code+postal=%2745130%27&%C3%A9tablissement+.+commune+.+d%C3%A9partement=%27Loiret%27&%C3%A9tablissement+.+commune+.+nom=%27Meung-sur-Loire%27&%C3%A9tablissement+.+commune+.+taux+versement+mobilit%C3%A9=0

J'ai reproduit les données de cette simulation et c'est bien quand on rentre un taux personnalisé de l'impôt que le lien de partage ne fonctionne pas. Cela semble cohérent avec le message d'erreur affiché quand on clique sur le lien de partage:

Cause de l'erreur :
SyntaxError : [ Erreur syntaxique ] ➡️ Dans la règle "impôt . taux personnalisé . $SITUATION" ✖️ 15.3%&unite=€/mois n'est pas une expression valide invalid syntax at line 1 col 6: 1 15.3%&unite=€/mois ^ Unexpected input (lexer error). Instead, I was expecting to see one of the following: A space token based on: Words$ebnf$1$subexpression$1$ebnf$1 → ● %space Words$ebnf$1$subexpression$1 → ● Words$ebnf$1$subexpression$1$ebnf$1 WordOrNumber Words$ebnf$1 → ● Words$ebnf$1$subexpression$1 Words → WordOrKeyword ● Words$ebnf$1 UnitNumerator → ● Words Unit$ebnf$1 → Unit$ebnf$1 ● UnitNumerator Unit → ● Unit$ebnf$1 Unit$ebnf$2 number → %number number$ebnf$1 ● Unit NumericTerminal → ● number Parentheses → ● NumericTerminal MultiplicationDivision → ● Parentheses AdditionSubstraction → ● MultiplicationDivision NumericValue → ● AdditionSubstraction main → ● NumericValue A "." based on: UnitNumerator → ● "." UnitNumerator Unit$ebnf$1 → Unit$ebnf$1 ● UnitNumerator Unit → ● Unit$ebnf$1 Unit$ebnf$2 number → %number number$ebnf$1 ● Unit NumericTerminal → ● number Parentheses → ● NumericTerminal MultiplicationDivision → ● Parentheses AdditionSubstraction → ● MultiplicationDivision NumericValue → ● AdditionSubstraction main → ● NumericValue A word token based on: Words → ● %word UnitNumerator → ● Words Unit$ebnf$1 → Unit$ebnf$1 ● UnitNumerator Unit → ● Unit$ebnf$1 Unit$ebnf$2 number → %number number$ebnf$1 ● Unit NumericTerminal → ● number Parentheses → ● NumericTerminal MultiplicationDivision → ● Parentheses AdditionSubstraction → ● MultiplicationDivision NumericValue → ● AdditionSubstraction main → ● NumericValue A number token based on: WordOrNumber → ● %number Words$ebnf$1$subexpression$1 → Words$ebnf$1$subexpression$1$ebnf$1 ● WordOrNumber Words$ebnf$1 → ● Words$ebnf$1$subexpression$1 Words → WordOrKeyword ● Words$ebnf$1 UnitNumerator → ● Words Unit$ebnf$1 → Unit$ebnf$1 ● UnitNumerator Unit → ● Unit$ebnf$1 Unit$ebnf$2 number → %number number$ebnf$1 ● Unit NumericTerminal → ● number Parentheses → ● NumericTerminal MultiplicationDivision → ● Parentheses AdditionSubstraction → ● MultiplicationDivision NumericValue → ● AdditionSubstraction main → ● NumericValue A word token based on: WordOrKeyword → ● %word Words → ● WordOrKeyword Words$ebnf$1 UnitNumerator → ● Words Unit$ebnf$1 → Unit$ebnf$1 ● UnitNumerator Unit → ● Unit$ebnf$1 Unit$ebnf$2 number → %number number$ebnf$1 ● Unit NumericTerminal → ● number Parentheses → ● NumericTerminal MultiplicationDivision → ● Parentheses AdditionSubstraction → ● MultiplicationDivision NumericValue → ● AdditionSubstraction main → ● NumericValue A boolean token based on: WordOrKeyword → ● %boolean Words → ● WordOrKeyword Words$ebnf$1 UnitNumerator → ● Words Unit$ebnf$1 → Unit$ebnf$1 ● UnitNumerator Unit → ● Unit$ebnf$1 Unit$ebnf$2 number → %number number$ebnf$1 ● Unit NumericTerminal → ● number Parentheses → ● NumericTerminal MultiplicationDivision → ● Parentheses AdditionSubstraction → ● MultiplicationDivision NumericValue → ● AdditionSubstraction main → ● NumericValue A "/" based on: UnitDenominator → UnitDenominator$ebnf$1 ● "/" UnitDenominator$ebnf$2 Unit$ebnf$2 → Unit$ebnf$2 ● UnitDenominator Unit → Unit$ebnf$1 ● Unit$ebnf$2 number → %number number$ebnf$1 ● Unit NumericTerminal → ● number Parentheses → ● NumericTerminal MultiplicationDivision → ● Parentheses AdditionSubstraction → ● MultiplicationDivision NumericValue → ● AdditionSubstraction main → ● NumericValue A space token based on: UnitDenominator$ebnf$1$subexpression$1 → ● %space UnitDenominator$ebnf$1 → UnitDenominator$ebnf$1 ● UnitDenominator$ebnf$1$subexpression$1 UnitDenominator → ● UnitDenominator$ebnf$1 "/" UnitDenominator$ebnf$2 Unit$ebnf$2 → Unit$ebnf$2 ● UnitDenominator Unit → Unit$ebnf$1 ● Unit$ebnf$2 number → %number number$ebnf$1 ● Unit NumericTerminal → ● number Parentheses → ● NumericTerminal MultiplicationDivision → ● Parentheses AdditionSubstraction → ● MultiplicationDivision NumericValue → ● AdditionSubstraction main → ● NumericValue A space token based on: MultiplicationDivision → MultiplicationDivision ● %space %multiplicationDivision %space Parentheses AdditionSubstraction → ● MultiplicationDivision NumericValue → ● AdditionSubstraction main → ● NumericValue A space token based on: AdditionSubstraction → AdditionSubstraction ● %space %additionSubstraction %space MultiplicationDivision NumericValue → ● AdditionSubstraction main → ● NumericValue A space token based on: Comparison → Comparable ● %space %comparison %space Comparable main → ● Comparison

@glopezrios glopezrios moved this to Petits sujets prêts 🐤 in mon-entreprise Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Petits sujets prêts 🐤
Development

No branches or pull requests

1 participant