fix(config): real company identity — capital without the € sign, and no placeholders

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) <[email protected]>
Claude-Session: https://claude.ai/code/session_01VRShc4QhLLU73FLHx9vskh
This commit is contained in:
2026-07-26 00:27:20 +02:00
co-authored by Claude Opus 5
parent 87a176e5b1
commit cf0cc3073d
2 changed files with 12 additions and 9 deletions
+4 -1
View File
@@ -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"
+8 -8
View File
@@ -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"
}
}