From cf0cc3073d2e578f58dd6cc13ee94e868c83104a Mon Sep 17 00:00:00 2001 From: Gabriel Radureau Date: Sun, 26 Jul 2026 00:27:20 +0200 Subject: [PATCH] =?UTF-8?q?fix(config):=20real=20company=20identity=20?= =?UTF-8?q?=E2=80=94=20capital=20without=20the=20=E2=82=AC=20sign,=20and?= =?UTF-8?q?=20no=20placeholders?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit static/config/company.json feeds setupCompany() in both main.ts and provisionSandbox.ts, and main.ts defaults to the PRODUCTION address. The file held placeholder identity values: running it against prod would have replaced Arcodange's legal identity with them. - capital "1000€" -> "1000". Dolibarr expects a number; the € made the value unusable by the PDF template, which is why "Capital de 1 000 €" was missing from every invoice since January (mandatory mention, C. com. R.123-238). This file is the root cause — patching the database alone would have been undone by the next provisioning run. - siren 123456789 -> 999657455, siret 12345678900011 -> 99965745500013, numTva FR00000000000 -> FR00999657455, rcs_rm "000 000 000 R.C.S. Evry" -> "R.C.S. Évry", naf_ape 62.02A -> 6201Z. All read off the production ERP, where they render on every issued invoice. - formeJuridique SAS -> SARL, and the same correction in fleet/profile/fiscal.yaml (legal_form), which inherited "SAS" from the PRD README. Three operational sources say SARL: the production ERP, the signed contrat cadre signature block ("Pour Arcodange (SARL)"), and the 2026-05-28 cohort review. The PRD is wrong. Flagged in-file for confirmation against the Kbis. - moisDebutExercice Juillet -> Janvier (fiscal year closes 12-31 per fiscal.yaml). fiscal.yaml still validates: 8 rules, 15 calendar entries, 7 ADC records, 0 errors. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01VRShc4QhLLU73FLHx9vskh --- fleet/profile/fiscal.yaml | 5 ++++- static/config/company.json | 16 ++++++++-------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/fleet/profile/fiscal.yaml b/fleet/profile/fiscal.yaml index c13a343..41cadb8 100644 --- a/fleet/profile/fiscal.yaml +++ b/fleet/profile/fiscal.yaml @@ -32,7 +32,10 @@ version: 1 entity: name: "Arcodange" - legal_form: "SAS" # PRD README.md § The problem — "one-person SAS (software consulting)" + legal_form: "SARL" # ERP prod (rendered on every issued invoice: "Société à responsabilité + # limitée (SARL)") + the signed contrat cadre signature block ("Pour + # Arcodange (SARL)") + cohort review 2026-05-28. The PRD README says "SAS" — + # it is wrong; three operational sources agree on SARL. Confirm on the Kbis. siren: "999657455" # erp#54 + agent memory arcodange-tva-fiscal — NOT corroborated by a PRD leaf (see README § Facts not corroborated by the PRD) incorporated: "2026-01" # PRD compliance.md § Questions for the expert-comptable — "mid-January 2026 incorporation"; exact day not in the PRD (month precision on purpose) fiscal_year_end: "12-31" # PRD compliance.md § Questions for the expert-comptable — "close 2026-12-31" diff --git a/static/config/company.json b/static/config/company.json index 663a770..253fb1b 100644 --- a/static/config/company.json +++ b/static/config/company.json @@ -13,14 +13,14 @@ "ID": { "directeurs": "M. Radureau Gabriel", "responsableRGPD": "M. Radureau Gabriel", - "formeJuridique": "Société par actions simplifiée (SAS)", - "naf_ape": "62.02A", + "formeJuridique": "Société à responsabilité limitée (SARL)", + "naf_ape": "6201Z", "objetDeLaSociete": "La conception,l\"installation, l\"adaptation d\"applications informatiques . La prestation de service, l\"étude et le conseil dans les domaines technologiques et informatiques. L\"accompagnement et la formation des clients aux nouvelles techniques, outils et langages informatiques etc...", - "siren": "123456789", - "siret": "12345678900011", - "capital": "1000€", - "numTva": "FR00000000000", - "rcs_rm": "000 000 000 R.C.S. Evry", - "moisDebutExercice": "Juillet" + "siren": "999657455", + "siret": "99965745500013", + "capital": "1000", + "numTva": "FR00999657455", + "rcs_rm": "R.C.S. Évry", + "moisDebutExercice": "Janvier" } } \ No newline at end of file