omnistate / france
Omnistate France: the dated legal and tax obligations of a French company (SCI, SARL, EURL, SAS, SASU) from its profile - returns, payments, partners' decisions, filings - each with its legal basis and its official source. No API: the rules are the package's own, checked against Légifrance and the D
Requires
- php: >=8.2
- ext-dom: *
- omnisense/contracts: ^1.0
- omnisense/omnistate: ^1.2
- symfony/http-client-contracts: ^3.0
Requires (Dev)
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^11.0
- symfony/http-client: ^6.4|^7.0|^8.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
The dated legal and tax obligations of a French company, for omnisense/omnistate, under any PHP host. Plain PHP: no framework, no HTTP client, no service asked - the rules are this package's own, each with its legal basis and the official page it was checked on.
use Omnistate\France\France; use Omnistate\Model\{LegalForm, ObligationQuery, Period}; $france = new France(); $obligations = $france->obligations(new ObligationQuery( legalForm: new LegalForm('6540'), // INSEE's legal category: an SCI createdOn: new \DateTimeImmutable('2015-06-01'), within: Period::between(new \DateTimeImmutable('2026-01-01'), new \DateTimeImmutable('2026-12-31')), ownsProperty: true, options: ['unfurnished_homes_only' => true, 'approval_months' => 6], )); foreach ($obligations as $o) { echo $o->dueOn->format('Y-m-d'), ' ', $o->title, "\n"; } // 2026-05-05 Return of the results of a property company not liable to corporate tax (2072-S, or 2072-C) // 2026-06-30 Approval of the annual accounts // 2026-06-30 Declaration of the occupation of residential premises on 1 January 2026 (Gérer mes biens immobiliers) // 2026-10-15 Property tax 2026 (taxes foncières): payment
(the 2072's onlineDueOn is 2026-05-20: the 15 days granted online.) With locale: 'fr', the same
obligations in the administration's French: « Déclaration de résultats n° 2072 des sociétés civiles
immobilières non soumises à l'impôt sur les sociétés (2072-S ou 2072-C) », « Approbation des comptes
annuels », « Déclaration d'occupation des biens immobiliers au 1er janvier 2026 », « Taxes foncières
2026 : paiement ». Through the family's facade,
beside the other registers:
$omnistate = new Omnistate\Omnistate(obligations: [new France()]); $omnistate->obligations($query);
It covers an SCI (at income tax or corporate tax), a SARL, an EURL, a SAS and a SASU at corporate
tax: the 2072 or the 2065, the corporate tax's instalments and balance, VAT (CA3 monthly or
quarterly; the simplified regime's CA12 and instalments until it ends on 1 January 2027), the CFE
and its first-year 1447-C, the CVAE, the property tax, the declaration of occupation, the approval
of the accounts and their filing, the DSN. France's bank holidays are computed here too
(Holidays, with Alsace-Moselle's two days as an option).
Checking what was filed (impots.gouv.fr)
TaxAccount (an Omnistate\Registry\FilingStatusInterface) reads the company's online tax account
while a person signs in: challenge() gives the image to copy, signIn() sends what they typed
(once, to impots.gouv.fr alone; nothing kept), filings() the obligations shown filed or paid, under
the same codes and periods as France's. Read only; a captcha on every sign-in, so never unattended.
docs/index.md.
Documentation
Verified, and not
- Verified (PHP 8.4, the family's harness): omnistate's conformance suite
(
Tests/FranceContractTest.php), the two profiles it was written for with their dates of 2026 and 2027 (Tests/PropertyCompanyTest.php,Tests/TradingCompanyTest.php), first years, a long first year, a June closing, the shifts past weekends and bank holidays (Tests/HolidaysTest.php); every class loaded with the package's requirements alone (BareTest); the usage policy read and valid (PolicyTest); PHPStan at level max, its baseline empty. - Each rule and date was read on 2026-11-29 on impots.gouv.fr (the professional calendar of every
month of 2025, 2026 and 2027), BOFiP, entreprendre.service-public.fr and Légifrance. A date the
DGFiP fixes each year and has not published is returned with
confirmed: false. - Left out, because it could not be verified or depends on an event, not a date: docs/index.md.
Usage policy
policy.json: no service is called and nothing limits it; the package's rules are MIT, the texts
they come from public (Légifrance's content is under the Licence Ouverte 2.0).
Responsibility
omnistate/france is an aid, not advice: it is affiliated with no administration, and its rules may lag behind a finance law. The company's online professional account (impots.gouv.fr) and its notices give its own dates, and they prevail.
Licence
MIT.