PHP developer in Lille

WordPress for businesses in Lille, delivered remotely by one developer.

PHP developer

My place in the WordPress community

  • I have had a wordpress.org account since 2006.
  • I contributed to WordPress core for versions 7.0 and 7.1.
  • I maintain 30 plugins on wordpress.org.
  • I organise and speak at WordCamps.
  • I have attended every WordCamp Europe from 2017 to 2026.

My WordPress.org profile

French business-to-business invoicing changed on 1 September 2026. I am Mariusz Szatkowski, a PHP developer in Gdynia, and my work for clients in northern France runs by email. For a PHP application the question is concrete: which invoices it must now be able to receive, which it must issue, in which format, and through whom. The legal position of a company is for its accountant. I build the application side and I keep to what the DGFiP and the Ministry of Economy publish.

Colonne de la Déesse and Place du Général de Gaulle in Lille

Colonne de la Déesse on the Grand Place of Lille, taken by Velvet and shared under CC BY-SA 3.0 on Wikimedia Commons.

#What changed on 1 September 2026?

The DGFiP FAQ “Je découvre la facturation électronique”, version of 1 September 2026, gives the calendar:

ObligationWhoDate
Receive electronic invoices through an approved platformall companies, whatever their size or legal form1 September 2026
Issue all invoices electronicallylarge and intermediate-size companies1 September 2026
Issue invoices electronicallysmall, medium and micro companies1 September 2027 at the latest

The e-reporting calendar of transaction and payment data is the same. The FAQ adds that a company may enter the reform early for invoicing, and that entering early has no effect on the e-reporting date, which can follow separately but no later than 1 September 2027. Company size is judged per legal unit (SIREN), and the FAQ points to its question 1.1 for the reference date.

Receiving applies to every company, including those that only buy. An accounts-payable screen built around PDFs by mail is no longer the whole picture, because a supplier’s invoice may now arrive as structured data from a platform.

#What is an approved platform?

The DGFiP sheet on approved platforms (version of September 2025) describes a platform as an IT service provider that sends, transmits and receives electronic invoices between supplier and customer, extracts the useful data for the administration, builds e-reporting data and updates the directory of invoice recipients for its clients. Only platforms registered by the DGFiP after reviewing a file may be called approved. The sheet says there were nearly one hundred of them, and that registration lasts three years and is renewable, with ISO 27001 or SecNumCloud certification, two-factor authentication, no transfer of data outside the European Union and the ability to interconnect with other platforms.

The company chooses freely and may use one or several. It signs a formal agreement with the platform it names for receiving invoices in the directory the administration manages. The FAQ says issuing and receiving may go through different platforms.

Software that is not itself a platform is called a compatible solution. The FAQ gives two cumulative conditions: it offers functions matching the reform, and it is connected to at least one approved platform. The DGFiP sheet states that an operator of this kind cannot transmit invoices or e-reporting data to the administration directly.

For a custom PHP application the architecture follows. It does not talk to the tax administration. It exchanges invoices with a platform the client selected, and the start-phase guide cites article 289 E of the Code général des impôts for this: invoice data reaches the administration from the platform. I did not read any platform’s technical interface for this page, so the choice of platform and its connection method is a project question.

#Which formats must the application handle?

The DGFiP sheet 1-f-v states that approved platforms are bound by regulation to transmit electronic invoices in one of three formats:

  • Cross Industry Invoice (CII), structured for efficient exchange between computers
  • Universal Business Language (UBL), structured in the same way
  • Factur-X, a mixed format made of a structured XML data file and a readable PDF

The FAQ draws the line against the old habit. A simple PDF sent electronically is not an electronic invoice within the meaning of the system. An electronic invoice carries a base of data in structured form, such as the amount excluding tax, the VAT rate, the VAT amount and the identification numbers of supplier and customer, according to the platform sheet.

In PHP, building and reading these XML files is ordinary work with the DOM and XMLWriter extensions documented on php.net. The decision that matters is where the structured data lives: in the order and invoice tables of the application, never only in a rendered PDF. A PDF can be regenerated from data, but data cannot be reliably recovered from a PDF.

#What new fields does an invoice need?

The FAQ lists four mentions that become mandatory from 1 September 2026, under decree no. 2022-1299 of 7 October 2022, which amends article 242 nonies A of annex II to the Code général des impôts:

  • the customer’s SIREN
  • the category of the operation: delivery of goods, provision of services, or both when they are independent of each other
  • the option to pay VAT on debits, where it applies
  • the delivery address, where it differs from the billing address

The other mandatory mentions from the Commercial Code and the tax code stay as they were. The FAQ also says the administration does not collect every mention. It gets the data listed in article 41 septies D of annex IV, extracted by the issuer’s platform, and the structured collection is gradual: 26 mandatory data items in 2026 and 34 from 2027.

For a PHP data model this is a short list of columns and validation rules. Customer SIREN as a nine-digit field on the customer record, an enum for operation category on every invoice line or invoice, a boolean for the VAT option, and an optional delivery address. A validation that refuses to finalise an invoice without them is cheaper than a platform rejection.

#What does the start-phase guide say about duplicates?

The DGFiP published a practical guide for the start phase. It rests on three principles. The legal calendar stands. Economic continuity matters: an invoice received by email, PDF or paper should not be discarded for that reason alone if it matches a real operation and carries the necessary information. And continuity is not an exemption. The guide says no penalties apply during the start phase to companies that face difficulties but are on a serious path to compliance, and it adds that this is neither a postponement nor a suspension of the obligation.

The part that touches code directly is duplicate handling. When the same invoice arrives through several channels, the guide says the recipient must avoid double processing, treat the case as a reconciliation, designate one reference invoice, continue validation and payment on that basis only, and mark the other copies as copies, duplicates or duplicata. It lists the elements to compare:

  • invoice number
  • supplier
  • customer
  • date
  • amount excluding tax, VAT amount and total including tax
  • processing statuses of the electronic flow, where they exist

When the elements match, it is normally one invoice sent several times. If there is serious doubt, the recipient contacts the supplier or its platform, and the doubt stays limited to that invoice instead of blocking the whole process.

On the sending side, the guide says that when the electronic flow works, a duplicate by email, PDF or customer portal should not be sent systematically. Further sends should be driven by the statuses: a copy may help when the status shows the invoice was not transmitted, was rejected, was not routed or is not accessible to the recipient. A duplicate should be clearly tied to the initial invoice, for example with a mention such as “duplicata”, “copie” or “copie de continuité”, or in the accompanying information with invoice number, date, amount, initial channel and the reason for sending. A correction of a rejected flow must not be recorded as a new operation.

<?php
declare(strict_types=1);

final class ReceivedInvoice
{
    public function __construct(
        public readonly string $number,
        public readonly string $supplierSiren,
        public readonly string $customerSiren,
        public readonly string $issueDate,   // 2026-12-04
        public readonly int $netCents,
        public readonly int $vatCents,
        public readonly int $grossCents,
    ) {}

    public function sameAs(self $other): bool
    {
        return $this->number === $other->number
            && $this->supplierSiren === $other->supplierSiren
            && $this->customerSiren === $other->customerSiren
            && $this->issueDate === $other->issueDate
            && $this->netCents === $other->netCents
            && $this->vatCents === $other->vatCents
            && $this->grossCents === $other->grossCents;
    }
}

Amounts in whole cents avoid float comparison. A match marks the second record as a copy of the first and links the two. It never deletes it, because the guide asks the company to keep the trace of the reconciliation, so it can show that one operation was booked, paid and deducted once. A mismatch in one field opens a case for that invoice only.

#How does addressing work when the directory fails?

The guide says the directory of recipients exists so that platforms can address electronic invoices to the recipient’s platform. It is made available to the platforms by the State and fed by them. The system is built so that a short outage does not block all invoicing: platforms may rely on previously retrieved copies of the directory and on the technical addresses used in the exchanges, among them Peppol addresses where available and relevant. When an incident still prevents reliable recipient information, the company checks SIREN, SIRET and the receiving establishment, contacts its platform or provider, confirms with its customer where necessary, processes the flows it can, and documents the difficulty.

In the application this means storing SIREN and SIRET for every customer and the receiving establishment where it differs, and logging every addressing failure with the invoice it concerned. The log doubles as the evidence of an active path to compliance that the guide asks for.

#What about public-sector customers?

The sheet 1-f-v says electronic invoicing to public bodies has existed since 2017 through Chorus Pro, and that suppliers have two options with the reform: keep depositing invoices for the public sphere on Chorus Pro directly (portal, API or EDI), or send them through an approved platform connected to Chorus Pro. A PHP application that serves both private and public customers needs a routing rule per customer type.

#Checklist for a French e-invoicing project

  • Establish with your accountant whether your company issues from 1 September 2026 or 1 September 2027, and name the platform for receiving.
  • Keep structured invoice data in the database, and produce the PDF from it.
  • Add the four new mentions and refuse to finalise an invoice without them.
  • Store SIREN and SIRET for each customer, and the delivery address when it differs.
  • Reconcile received invoices on the listed fields and link copies to a reference invoice.
  • Send a duplicate only when the status shows the first send failed, and mark it as a duplicate.
  • Route public-sector customers according to the Chorus Pro choice made.

#How does a project run?

  1. You send the current invoicing or purchasing setup, the platform you chose or are choosing, and your accountant’s name.
  2. I write down the scope, the assumptions and the questions for the platform and for the accountant.
  3. I build on a staging copy with test invoices in the formats the platform accepts, and you check the cases, including the duplicates.
  4. When you have accepted the staging result in writing, I deploy it. Other custom PHP work is listed on the PHP developer page.

#Invoicing from Lille?

Tell me which system issues or receives your invoices and which platform you have chosen, through the contact form. The first written estimate is free and lists what I would change in the application. I am not a lawyer, and whether the obligation applies to your company stays with you and your accountant.

WordPress support & development in Lille

Need this service: PHP developer in Lille?

Describe your project by e-mail. I reply within 24 hours.

Describe your project

Latest PHP developer articles

Dec 2, 2026

Laravel Rust: what does it mean for PHP apps?

On 1 December 2026 Taylor Otwell shipped the Laravel Rust beta, and Laravel Go followed a day later. What the framework contains, what the 18x benchmark really measures, what happens to Laravel PHP and WordPress, and when a rewrite makes sense.

Explore other WordPress services and knowledge base