In short
- Yes, an AI reads in a few seconds, from a simple phone photo, the type of permit (B, C, G, L), its number, the holder's name and its expiry date.
- The trap to watch for is not a misread letter, but one date taken for another: the date of issue instead of the expiry date.
- AI does not change the law: the employer remains responsible for checking the work permit (Foreign Nationals and Integration Act, FNIA/LEI, art. 91), and a decision taken by a machine alone must be open to review by a person (Federal Act on Data Protection, FADP/nLPD, art. 21).
Why check a permit before the first day?
Because the law requires it of the employer. The Foreign Nationals and Integration Act (FNIA) says that before hiring a foreign national, the employer must make sure they are allowed to work in Switzerland, by checking their residence permit or asking the authorities (art. 91). In staff leasing (temporary work), the employer is the agency: so the agency must check.
The penalties are heavy. Knowingly employing someone without a permit is punishable by up to one year in prison or a monetary penalty, and up to three years in serious cases. Through negligence, it is a fine of up to CHF 20'000.00 (FNIA, art. 117). And after a conviction for serious or repeated breaches, a company can be excluded from public contracts for up to five years (Federal Act on Measures to Combat Undeclared Work, art. 13).
So a reading error is not a technical detail. Misread a date one way, and someone works with an expired permit. Misread it the other way, and you block a construction worker who is fully in order.
What does the AI read on a permit?
All Swiss residence permits now have the format of a credit card. For non-EU nationals, this has been the case since 2008, with a biometric chip since 2011. For EU and EFTA citizens (permits L, B, C, G), the card has gradually replaced the old paper booklet since November 2019. Both cards carry a machine-readable zone: the lines of letters and chevrons <<< at the bottom of the card.
The idea is simple: the worker photographs their permit with their phone, the AI extracts what the agency needs and checks that it is the same person as in the file.
| What the AI reads | Where it is written | The trap |
|---|---|---|
| Type of permit | The large letter on the card | A driving licence or identity card uploaded instead |
| Surname and first name | Front | Middle name, accents, reversed order |
| Expiry date | Front, and the machine-readable zone | The date of issue, right next to it |
| Short-term notification | Online confirmation (jobs of up to 3 months) | The notification date taken for the end of the job |
A useful reminder: for an EU cross-border commuter, the G permit is valid for five years if the contract is open-ended or longer than one year. For a shorter contract, it lasts as long as the contract (SEM). An expiry date next year on a permanent contract should therefore raise a question. Who may work as a cross-border commuter is explained in our article on L, B and G permits.
Where does the AI go wrong?
On dates, far more than on letters.
A permit, an identity card or a driving licence carries several dates side by side: birth, issue, expiry. A fast, cheap AI can read every digit correctly and still pick the wrong date. Take a cross-border commuter whose G permit is valid until 2029: if the AI keeps the date of issue, their file switches to "expired", and they show as "not in order" when they are fully allowed to work.

Four rules sharply reduce this risk:
- An accurate model for identity documents and permits, not the fastest one. It costs more, but a wrong date costs far more.
- One instruction for every document: the expiry date, never the date of issue. When the machine-readable zone is visible, it prevails.
- The AI does not decide whether a permit has expired. It reads a date. The software compares it with today's date, because an AI does not reliably know what day it is.
- When in doubt, nothing is written. Another person, a document that is not a permit: the field stays empty, and a human takes a look.
None of these rules makes the AI infallible. They only make sure its mistakes show, instead of hiding in a file.
Who decides: the machine or the agency?
The Federal Act on Data Protection (FADP) gives two markers.
Data must be accurate. Whoever processes it "must satisfy themselves that the data is accurate" and correct data that is not (art. 6 para. 5). A wrong expiry date in a file is inaccurate data, even if a machine wrote it.
A decision taken by a machine alone must be open to review. When a decision that significantly affects someone is based solely on automated processing, the person must be informed and given the chance to state their point of view, and they can ask for a human to review it (art. 21). Refusing a job to a construction worker because an AI read "expired" very probably falls under this rule.
Switzerland does not yet have a law specific to AI. In February 2025 the Federal Council decided to ratify the Council of Europe convention on AI, and the consultation on the draft law is planned for spring 2027 (OFCOM). Until then, existing laws apply, the ones quoted above.
What I advise an agency
- Let it read, not decide. The AI fills in the file and flags what is missing. The "not in order" that blocks a job is confirmed by a person at the agency.
- Review any expiry date that surprises you. A permit that looks expired, or that expires within a year on a permanent contract: look at the photo before calling the worker.
- Show the worker what was read. If they see their name, their permit type and their expiry date, they fix an error in ten seconds. That is also what the law asks.
- Keep the document, not just the reading. In an inspection, the photo of the permit proves you checked, not a line in a database.
To know which documents to prepare before a first job, read our list for cross-border commuters. For an overview of AI on building sites, see where Swiss construction stands.
Frequently asked questions
Does the employer have to check the work permit?
Yes. Before hiring a foreign national, the employer must make sure they are allowed to work in Switzerland, by checking their residence permit or asking the authorities (FNIA, art. 91). In temporary work, the agency, as the employer, must do it.
What does an agency risk if it employs someone without a permit?
Up to one year in prison or a monetary penalty if it is intentional, up to three years in serious cases, and a fine of up to CHF 20'000.00 through negligence (FNIA, art. 117). After a conviction for serious or repeated breaches, it can be excluded from public contracts for up to five years.
Can an AI turn down a worker on its own?
It should not. If an important decision is taken solely by a machine, the person must be informed, can state their point of view and can ask for a human to review it (FADP, art. 21).
How long is a G permit valid?
For an EU or EFTA national, five years if the contract is open-ended or longer than one year, otherwise the length of the contract. For up to 3 months of work per calendar year, no permit is needed: the employer files an online notification (SEM).
- Federal Act on Foreign Nationals and Integration (FNIA, SR 142.20), art. 91, 117 and 122, accessed 15.11.2026
- Federal Act on Data Protection (FADP, SR 235.1), art. 6 and 21, accessed 15.11.2026
- Federal Act on Measures to Combat Undeclared Work (SR 822.41), art. 13, accessed 15.11.2026
- SEM, Biometric foreign national identity card, accessed 15.11.2026
- SEM, Residence permits for EU/EFTA nationals, accessed 15.11.2026
- SEM, G permit EU/EFTA (cross-border commuter permit), accessed 15.11.2026
- SEM, Notification procedure, accessed 15.11.2026
- OFCOM, Artificial intelligence, accessed 15.11.2026
This article provides general information and does not replace personal advice.
