+33 (0)1 87 66 00 65 · Monday to Friday, 9am–6pm Free audit (15 min)
● Business offer — Payroll & DSN control

Payroll and DSN checks: discrepancies caught before filing

A payroll error is almost always found too late: the payslip has gone to the employee, the return to the social security bodies, the entry to accounting. Your agent reads every payslip and every return before filing, cites the rule that grounds each discrepancy and the line that carries it, and traces recurring anomalies back to their cause rather than their symptom. Hosted in France, running locally or on an isolated resource. The payroll officer approves.

Hosted in France Pay data protected GDPR & AI Act: governed deployment The payroll officer approves

Updated on

Deployed in a few weeks
Payroll & DSN control · hosted in France
We file tomorrow. What is snagging on this month's batch?
4,900 payslips read, 137 discrepancies, and 9 that must be settled before filing.
The 9: 4 contribution bases that move with no event in the file to explain it, 3 items missing although the file's collective agreement provides for them, 1 contract closed in payroll but still open in the return, 1 contribution rate left at its previous-year value.
The other 128 are variations explained by a dated event in the file — a start, a leaver, an absence, a bonus — and are classified as such, with the event shown alongside.
Every discrepancy cites the rule that grounds it and the payslip line that carries it. The file is ready to review.
⛓ Sourced · payroll software and this month's return, 4,900 payslips, 214 client files
The contract closed in payroll and open in the return — which one is it?
Marnaval file, employee who started on 3 March and left on 28 July. The departure is recorded in payroll — final payslip in July, final settlement issued. The « end of contract » block was not carried into the return: the employee still appears there on an active contract.
What that produces if the filing goes out as it stands: a feedback report after filing, and a correction to carry into the following month — Article L. 133-5-3 of the French Social Security Code requires inaccurate or incomplete data filed for earlier months to be corrected.
What I have prepared: the end-of-contract block, with the date and reason exactly as they appear in the payroll file. You approve it, it goes into the return before tomorrow's filing.
✎ Framework · Article L. 133-5-3 of the French Social Security Code — correction of filed data
Local inference · no data outside the EU
Payslips and returns hosted in France
Sovereign by constructionLocal inference or hosting in France
GDPR & AI Act: governed deploymentTraceability & human supervision
TurnkeyDesigned, installed and operated for you
The payroll officer approvesThe agent checks, it never files alone
✦ In brief

A Blue Lemon Agent payroll control agent reads the month's payslips and the DSN return before filing, flags every discrepancy with the rule that grounds it and the line that carries it, spots recurring anomalies and traces them to their cause, picks up the feedback reports to prepare the corrections owed under Article L. 133-5-3 of the French Social Security Code, and keeps the history of discrepancies per file. Hosted in France, running locally or on an isolated resource, architecture designed to reduce exposure to extraterritorial legislation, location alone not being enough to guarantee immunity: your pay data stays with you. The payroll officer approves.

100 %
hosted in France in the target architecture
0
transfer outside the EU in the target architecture
7
families of checks ready to deploy
0
filing triggered without human approval

Reference points describing our offer, not results measured at a client. The scale of the gain is confirmed by a pilot on your own portfolio.

The context

Why payroll control is decided before filing

At month end everything goes out at once: the payslip to the employee, the return to the social security bodies, the entry to accounting. An error caught beforehand is corrected with one gesture; the same error caught afterwards ties up the payroll officer, the client and the employee, and drags on across two or three months of corrections.

! The challenge

A payroll team produces hundreds of payslips a month, across as many collective agreements and configurations, and files them against a deadline that does not move: payment falls due in the month following the work period, « le 5 de ce mois pour les employeurs dont l'effectif est d'au moins cinquante salariés et dont la paie est effectuée au cours du même mois que la période de travail », « le 15 de ce mois dans les autres cas » — Article R. 243-6 of the French Social Security Code (Légifrance — Article R. 243-6). Exhaustive checking is mechanical work, but it takes time the deadline does not leave.

Our answer

The agent sifts the batch while the month is being built, not the evening before filing: consistency of each payslip against the contract and the collective agreement, reconciliation of payslips and return, comparison with the previous month, and pick-up of feedback reports to prepare the corrections required by Article L. 133-5-3 of the French Social Security Code (Légifrance — Article L. 133-5-3). The payroll officer approves: keeping a discrepancy, correcting a payslip and triggering a filing are acts that bind the firm or the employer. Local inference or an isolated resource hosted in France: pay data never leaves the house.

The decisive point

Pay, absences, family situations: sensitive by concentration

A batch of payslips gathers what a company knows most intimately about its staff. Here is how the architecture protects it, file after file.

Local inference

The agent can run on a machine inside the firm or the company: no payslip leaves the network, nothing passes through a foreign cloud.

Hosting in France

Otherwise, a dedicated, isolated resource hosted in France under French law — pay data: processing and access within the European Union targeted by the architecture.

Reduced extraterritorial exposure

Architecture designed to reduce exposure to extraterritorial legislation, location alone not being enough to guarantee immunity: the pay of your staff, or of your clients' staff, depends on a subcontracting chain and remote access documented for the configuration chosen.

Separation by client file

Each client file stays separate: a check on one never gives access to another's data, and the separation is logged.

Controlled access and retention

Encryption in transit and at rest, role-based access (RBAC), logging, and retention periods aligned on those you already apply.

AI Act: governed deployment

A strictly supporting agent; no payslip corrected and no filing triggered automatically; traceability and human supervision end to end.

What depends on the architecture chosen These points are not general guarantees: they are settled deployment by deployment, in the quotation.

  • The applicable location is that of the architecture set out in the quotation and verified before commissioning.
  • Local execution is announced only for the configuration explicitly described and accepted in the quotation.
  • The applicable isolation depends on the deployment mode set out in the quotation; no dedicated isolation is presumed.
  • The encryption mechanisms in transit and at rest, their components and key management are those documented for the architecture chosen.
  • Roles and permissions are configured and accepted for the identities and systems actually connected.
  • The events logged, their content, their retention period and who may access them are defined for the deployment chosen.
For the most sensitive portfolios — public-sector clients, regulated sectors, large headcounts —, SecNumCloud and reinforced hosting options are available depending on your requirements. A single architecture is designed to answer both the GDPR and extraterritorial exposure. The items a payslip must carry are listed in Article R. 3243-1 of the French Labour Code (Légifrance), and the employer keeps a copy for five years under Article L. 3243-4 (Légifrance).
Demonstration

See the agent at work

4 real situations, taken from those that come up most often. Pick one: the exchange unfolds as it would in your organisation.

A scripted demonstration. These exchanges show how the agent behaves — its sources, its refusals, what it leaves to your teams. Nothing is sent from this page, no model is queried here, and the matters named are fictional. That is precisely what we promise your data.
The behaviours shown here — monitoring, automation rules, routing and reminders — are configured with you during deployment, from your tools, your rules and your thresholds.
The architecture points named in these exchanges — location, local execution, isolation, encryption, role-based access, logging — are not a guarantee attached to the demonstration: they are those of the architecture set out in your quotation, and verified before commissioning.

The company in this demonstration

Fictional company

Ferralis & Associés — accountancy firm, payroll department

Sector
Accountancy: the payroll department produces payroll and returns for small and mid-sized clients
Headcount
48 staff, including 6 payroll officers and a head of the payroll department
People served
214 client files, from 1 to 180 employees — retail, construction, catering, services
Order of magnitude
4,900 payslips a month, 214 monthly returns — 23 client files due on the 5th, 191 on the 15th
Tools in place
The firm's payroll software, the filing platform, plus per-file settings and collective agreements
Who decides
The payroll officer keeps or sets aside each discrepancy, approves corrected payslips and triggers filing for their own file; the signing chartered accountant commits the firm on a closed financial year or on rework outside the engagement letter
Room for improvement
Over twelve months, 63 returns drew a feedback report with an anomaly, and 41 payslips were corrected after being handed to the employee

Ferralis has doubled its portfolio in four years without doubling its payroll department. Payslip checking therefore happens at month end, under deadline pressure, and by sampling: part of the batch goes out unread. The agent is connected to two systems — the payroll software and the filing platform — and works continuously; keeping a discrepancy, approving a corrected payslip and triggering a filing remain acts of the payroll officer.

This company, its figures and the exchanges that follow were invented for the demonstration. They illustrate a common situation; they describe no real client.

Payroll & DSN control · hosted in France
Overnight I read all 4,900 payslips in the batch, file by file. 137 discrepancies, of which 9 must be settled before filing.
The 9:
· 4 contribution bases that move with no dated event in the file to explain it — no start, no leaver, no absence, no bonus entered this month.
· 3 items missing although the collective agreement recorded in the file provides for them.
· 1 contract closed in payroll and still open in the return — Marnaval file.
· 1 rate left at its previous-year value on a file of 62 employees.
The other 128 are explained variations, and I show it: each is set against the dated event that produces it. They call for no action — I list them so that you can contradict me, not so that you have to process them.
Every discrepancy carries two things: the rule that grounds it — statute, collective agreement or the file's own configuration — and the exact payslip line that carries it. A flag without its rule is not a check, it is a worry. payslip-check_monthly-batch.pdf137 discrepancies · 9 to settle · 128 explained
⛓ Sourced · payroll software, this month's batch: 4,900 payslips, 214 client files
The 4 bases that move for no reason — have you looked at them closely?
Yes, and three of them look alike — which is itself information.
The clearest case, Verdanne file, 34 employees: one employee's capped base drops to a level 12.4% below its usual value, with no absence and no change of working time in the file. Going back twelve months, I find the same swing in February and in July, each time the month following a bonus adjustment. So this is not an incident, it is a behaviour.
My reading: the adjustment is entered on an item that is not attached to the same contribution profile as the bonus itself. In the bonus month everything is correct; the following month, the pick-up happens elsewhere.
What I propose, in this order: settle this month first — I have prepared the corrected payslip —, then look at the configuration, because correcting the payslip without correcting the cause will bring the same discrepancy back in October. The attached table gives the 137 lines, filterable by file and by family.
The other two bases come from an absence reason entered after the payslip was produced: the correction is mechanical, and it is prepared. discrepancies-this-month_137-lines.csv9 to settle, 128 explained, rule cited on every line
⛓ Sourced · comparison with the previous month and 12 months of file history
And the 3 missing items? I do not want to add a line to a payslip without being sure.
Each one is tied to the text that requires it, and I show you the payslip before and after.
Solmieux file, catering, 18 employees: the collective agreement recorded in the file provides for a seniority bonus from three years of service. Two employees crossed that threshold this month — start dates from the file, calculation done — and the item appears on neither payslip.
Verdanne file: a professional expenses item provided for by a company agreement filed in January, never activated since.
What I have prepared: the three recalculated payslips, presented line by line, before and after, with the source of each addition — the collective agreement article for the first two, the company agreement article for the third. A payslip must carry the items listed in Article R. 3243-1 of the French Labour Code, and the employer keeps a copy for five years under Article L. 3243-4: better that the copy kept is the right one from the first issue.
What is left for you: checking that the collective agreement recorded in the file really is the applicable one — that is your source, not mine — and approving. The three payslips go out corrected in tomorrow's batch. corrected-payslips_before-after.pdf3 payslips, line by line, source of each addition
✎ Framework · file's collective agreement, company agreement, Article R. 3243-1 of the French Labour Code
Where do the inputs you check come from? Every client sends them their own way.
From your three channels, and that is where I save you the most time. 96 client files upload their spreadsheet to the portal, 71 email it as an attachment, 47 phone the payroll officer and dictate the month.
What I do with every input received: I tie it to a period, an employee, a contract, an establishment and an effective date. An input missing any of the five does not enter the checks — it goes back to the file as a question, with the missing field named.
This month that produced a case data entry would not have caught: the Prillac file, one exceptional bonus received twice — through the portal on the 22nd, by email on the 24th, different wording, same amount. I neither add them up nor pick one: I show you both sources and their dates, and I ask which one prevails.
And where I cannot find the rule, I stop: on the Bastenac file, the rate of one collectively agreed contribution has been missing from the file's rule set since the March agreement changed. I do not carry last month's forward and I do not infer it — a guessed rate would pass every one of my checks and would be read on an employee's payslip. The check reads "rule missing", never "passed", and it stays that way until the rate is filed.
Every rule I apply carries its version and its effective date, and that is the version cited under the discrepancy: a check replayed next January replays this month's rule, not January's. monthly-inputs_collection-and-rule-set.pdf3 channels · 1 duplicate · 1 missing rule, not guessed
⛓ Sourced · 214 client files, three collection channels, rule set versioned per file
Local inference · no data outside the EU

Your case is not here? That is exactly what a 15-minute conversation is for. Book the free audit

Use cases

The checks the agent runs, month after month

Each use corresponds to a family of checks. All of them work in support: the payroll officer approves.

Included in your agent The 12 capabilities essential to this promise are included, at no extra cost.
From 1,082 € excl. VAT / month

Payroll input collection

The month's variable items are gathered and set against their source: period, employee, contract, establishment and effective date. An input received twice is flagged as a duplicate, never added up.

Versioned payroll rule set

The file's collective agreements, company agreements, pay items and rates are kept with their effective date and their version, and that version is what each discrepancy cites. A missing rule is reported as missing: the agent invents none and fills in no missing rate.

Payslip consistency

Items expected under the contract and the collective agreement, ceilings, rates, contribution bases, the month's variable items.

Comparison with the previous month

Variations that no dated event in the file explains are flagged with the gap quantified.

Contracts and events of the month

Arrivals, departures, sick leave, absences, changes in working time and retroactive items are matched against the payslips and the declared blocks. An event present on one side and absent from the other is raised with its date.

Structure of the return

Blocks, cardinalities and types are checked against the technical specification you supply for the French monthly social return (DSN), and a rejected batch is kept in the form in which it reaches you. Compliance of the return is established by the body that receives it, never by the agent.

Payslip / return reconciliation

Totals, headcount, contracts opened and closed, pay blocks, consistency of identifiers — before filing.

Feedback reports and corrections

Reports received after filing are tied to their line, and the following month's correction is prepared.

Recurring anomalies

What comes back every month is traced to its cause: a configuration setting, a wrongly attached item, a badly chosen contract profile.

Draft correction

Every discrepancy that is kept becomes a draft readable line by line, before and after, with the file data it is drawn from. It stays a draft until the payroll manager has approved it.

Approval circuit before filing

The batch goes through the checks, then through the named approval of an authorised person; the receipt issued by the filing system is recorded exactly as received. The agent triggers no filing and never manufactures a receipt.

History of discrepancies per file

What was flagged, kept, set aside and by whom — enough to answer at last, with figures, on what a client file really costs.

Controls and safeguards These 4 controls are built into the agent: they frame what it does, whatever plan you pick. They are not chosen and are not added to your order.
Human validation, exceptions and escalation Status, safe closure and audit trail Reconcile supporting documents, rules and accounting entries with an audit trail Handle discrepancies and validations before any accounting entry or payment
What the agent must be connected to This connection is required for the agent to work. It concerns your information system and is scoped during the audit.
Integrate with accounting and banking software and with approved platforms (French e-invoicing)
The gain

Where a payroll team's time goes, and where it comes back

By taking on exhaustive reading and reconciliation, the effort moves towards settling the cases that deserve it. The scale of the gain depends on the number of payslips, the number of collective agreements covered and the state of the configurations.

Reading the monthly batch of payslips
Today · done by hand
Discrepancies presented, to settle
Payslip / return reconciliation before filing
Today · done by hand
Automatic reconciliation
Handling reports received after filing
Today · done by hand
Corrections prepared, to approve
A qualitative, non-contractual comparison: the proportions shown illustrate the shift of work towards settling cases, they represent no measurement. Keeping a discrepancy, correcting a payslip and triggering a filing remain acts of the payroll officer.
How it works

The stages of your AI agent project

1

Audit & scoping

15 minutes to target the use case with the best return.

2

Quote or direct sign-up

A catalogue offer is bought online; a specific need gets a costed quote.

3

Design

We design the agent and its guardrails.

4

Integration & testing

We connect your tools to the agent, which is itself hosted in France.

5

Rollout

Going live and training your team.

6

Operation

Continuous supervision and improvement.

Pricing

A payroll control agent, installed and operated for you

An L2 agent: payslip checks, reconciliation with the return, recurring anomalies and the history of discrepancies, with the connectors and monthly maintenance of that level. Prices excluding VAT — annual subscription, the time it takes for the gains to settle in.

Agility

Setup + controlled subscription

15,255 € excl. VAT setup
then 1,082 € excl. VAT/month — you invest at installation and pay a reduced subscription. Ideal for keeping the cost under control over time.
  • Installation, configuration and training for your teams
  • Operation, human oversight, updates and support
  • Sovereign hosting in France, a dedicated and isolated resource
Order →
The simplest Serenity

All inclusive, no setup fee

1,927 € excl. VAT /month
all inclusive, immediate start. No upfront investment: a single subscription. Ideal for starting quickly and simply.
  • Setup included (installation, configuration, training)
  • Operation, human oversight, updates and support
  • Sovereign hosting in France, managed end to end
Order →
100% Sovereign

On site, you own it

20,225 € excl. VAT setup
then 1,303 € excl. VAT/month · + hardware from 2,491 € (one-off purchase, in addition) — a sovereign computer installed on your premises, maintained remotely. Models run locally, your data returned at the end of the contract. 36-month commitment.
  • Hardware installed on your premises (you own it)
  • French / European AI models run locally
  • Secure remote maintenance (Pro support included)
Order →
Not included in the packages: AI consumption (model tokens), re-invoiced at real cost with no margin, and tracked in real time in your client area. Maintenance and supervision subscription for an initial term of 12 months for the Agility package, 24 months for the Serenity package and 36 months for the 100% Sovereign package, renewable; support levels (SLA 72 h / 24 h / 4 h) optional. Bespoke development, additional integrations or exceptional volumes are quoted separately. Support Monday to Friday, 9am to 6pm. Prices exclude VAT.
AI model: none of the AI models offered currently carries a fixed surcharge. When the selected model carries a cost, that cost is shown when you choose it, before you order, and re-invoiced at the cost incurred, with no mark-up; usage is billed at the publisher's price. Publishers' prices are published in US dollars: the amount re-invoiced is the amount in euros actually borne by Blue Lemon Agent on the publisher's invoice, at that invoice's exchange rate, with no commission or mark-up.
Included components and additional components Components included in the base offer: the Blue Lemon Agent software foundation, the AI models listed in the order journey, the standard channels (Microsoft Teams, Slack, WhatsApp Business, email, website chat, calendars, Microsoft 365 / Google Workspace, file storage, market VoIP telephony, professional social-media pages and accounts, Google Business Profile), hosting in France for the package chosen, backups, supervision, updates and support. If adapting the AI agent to your constraints, your needs or your requests requires other paid components — a third-party publisher's software licence, paid API access to one of your applications, hosting of health data, for which French law requires an HDS-certified host (art. L. 1111-8 of the French Public Health Code), SecNumCloud-qualified hosting, a speech synthesis service, particular hardware —, they are offered to you as an option or on quotation and re-invoiced at the cost incurred; nothing is committed without your written agreement. Where the artificial intelligence model you choose entails an additional cost, that cost is shown to you before you order and re-invoiced to you at the cost incurred, with no margin.
What to expect
Go-live 2 to 3 weeks
Agent designed, channels connected, team trained.
Steady state 4 to 7 weeks
After a few weeks of real use, once the agent's behaviour matches what you expect. Indicative estimate, adjusted to the options you keep. It is not a delivery commitment.
Our commitment

Four guarantees that matter to a payroll team

Payslips never leaveLocal inference or an isolated resource hosted in France; no payroll batch is entrusted to a foreign third party, and no content is used to train a model.
Data in France, under French lawPay, absences and family situations: minimisation and location in France, architecture designed to reduce exposure to extraterritorial legislation, location alone not being enough to guarantee immunity.
The payroll officer approvesThe agent checks and presents; keeping a discrepancy, correcting a payslip and triggering a filing remain human acts.
Every discrepancy cites its ruleStatute, collective agreement or the file's own configuration: the rule and the payslip line accompany every flag, in line with the AI Act's traceability requirements.
Frequently asked questions

Your questions, our answers

Does the agent run payroll?
No, it checks it. Payroll is still produced by your own software, using your settings. The agent reads what comes out, flags discrepancies with the rule that grounds them and the payslip line that carries them, then hands over the control file. The payroll officer approves.
Does the agent file the return?
No. It checks the return before filing — consistency with the payslips, headcount, contracts opened and closed, pay blocks, identifiers — and hands over the file with the discrepancies to settle. Filing is the act that binds the employer or the firm: it is triggered by the payroll officer.
What does it do with the feedback reports received after filing?
It picks them up one by one, ties each to its file and to the line concerned, and prepares the correction for the following month. Article L. 133-5-3 of the French Social Security Code specifically requires inaccurate or incomplete data filed for earlier months to be corrected; the prepared correction is approved before being sent.
How does the agent version the rules it applies?
Every rule — collective agreement, company agreement, pay item, rate, file configuration — is kept with its effective date and its version, and that version is what is cited under the discrepancy it grounds. A check replayed six months from now therefore replays the rule in force for the month checked, not the one in force on the day it is replayed: that is what lets you explain, to a client or to an inspection, why a payslip said what it said. When a rule is missing from the file, the agent says so and stops there: it does not carry the previous month's rate forward and infers none from a neighbouring file, and the check reads « rule missing », never « passed ». Updating the rule set remains an act of the firm or the company; the agent reports what is missing, it does not decide what applies.
Can the agent serve several companies or several client files?
Yes, and segregation is the first thing tested: each file is a separate space, a document in one file does not open from another — even for an officer who handles both — and the attempt is refused and then logged. Decisions stay separate too: approving one client's batch approves nothing for another, and there is no single action that would file for the whole portfolio. Deadlines follow each file, and a portfolio often carries two of them: in France the payment falls due on the 5th of the following month for employers with at least fifty employees whose pay is settled within the same month as the work period, and on the 15th in every other case (article R. 243-6 of the French social security code). Ends of contract and sick leave are reported outside that rhythm, within a period set by ministerial order that may not exceed five working days (article R. 133-14 of the same code).
How does it avoid burying the payroll officer in flags?
Every new check is run against the file's history before it is proposed: the agent states how many flags it would have produced over the last twelve months, how many would have been confirmed and how many set aside. A check that produces a lot of noise for few confirmations is not put into service — and it is the payroll officer who decides, on those figures.
How does it handle different collective agreements from one file to the next?
The rules applicable to each file — collective agreement, company-level agreements, established practice — remain your reference: the agent applies them as given, file by file, and says so when a situation is not covered rather than settling it in your place.
Does it measure the payroll officers' work?
By default the agent measures client files, not people: an individual indicator would soon become a target, and an officer would stop flagging doubts — which would destroy the very instrument of control. If the employer wants an individual indicator, the agent produces it and brings the conditions to be met: proportionality (Article L. 1121-1 of the French Labour Code), prior information of employees (Article L. 1222-4) and consultation of the works council from fifty employees upwards. The decision belongs to the employer.
How many systems does the agent connect to?
This use case sits at level L2 of our grid: two connectors are included, together with the matching monthly maintenance — in practice the payroll software and the filing platform. The connections retained are settled during the free audit.
Is our payroll data protected?
Yes. The agent and its data are hosted in France, running locally or on an isolated resource, with the deployment objective of processing and access operated within the European Union and an architecture designed to reduce exposure to extraterritorial legislation, location alone not being enough to guarantee immunity, in compliance with the GDPR. Your payslips and returns are never used to train a third-party model.
How long does it take to deploy the agent?
A few weeks depending on the number of collective agreements covered and the state of the configurations, after a free audit that delimits the scope, then a design, integration and testing phase — every check being tested against your own history before it goes into service.
Let's talk

Let us estimate the potential on your payroll batch

15 minutes to scope your volumes, your collective agreements and your deadlines — hosted in France, supervised, with no commitment.