PIPEDA + BILL C-27 + QUEBEC LAW 25

Canadian SIN Detection for PIPEDA and Provincial Privacy Compliance

Canada operates a patchwork of federal and provincial privacy laws. PIPEDA governs federal private sector data. Quebec Law 25 imposes GDPR-level obligations. PIPA applies in Alberta and BC. Social Insurance Numbers, driver licences, and passports each carry distinct protection obligations across jurisdictions.

OPC โ€” Office of the Privacy Commissioner of Canada

๐Ÿ›๏ธ Federal Authority

Authority: Office of the Privacy Commissioner of Canada (OPC)

Federal Law: PIPEDA (Personal Information Protection and Electronic Documents Act)

Proposed reform: Bill C-27 (Consumer Privacy Protection Act) โ€” stronger fines, new AI obligations

Fines (current): Up to CA$100,000 for PIPEDA violations

Fines (Bill C-27): Up to CA$25M or 5% of global gross revenue

๐Ÿ›๏ธ Quebec โ€” Law 25

Authority: Commission d'accรจs ร  l'information (CAI)

Law: Act respecting the protection of personal information in the private sector (Law 25)

Fines: Up to CA$25M or 4% of worldwide turnover

Key requirements: Privacy Impact Assessments mandatory, data minimisation, consent requirements comparable to EU GDPR, anonymisation standards codified

In force: Phase-in completed September 2023

๐Ÿ›๏ธ Alberta & BC

Alberta: Personal Information Protection Act (PIPA) โ€” substantially similar to PIPEDA, administered by Office of the Information and Privacy Commissioner of Alberta

BC: Personal Information Protection Act (BC PIPA) โ€” administered by Office of the Information and Privacy Commissioner for BC

Cross-border: Federal government and interprovincial transfers governed by PIPEDA; provincial transactions governed by respective PIPA

Yes. We detect Canadian SIN (Social Insurance Number), health card numbers, driver licence numbers, and passport numbers. Compatible with PIPEDA's ten fair information principles.

Yes. Federal ATIA requests require redaction of personal information under exemption 19(1). Batch upload, apply government redaction presets, and export production-ready documents.

3 Canadian-Specific Entity Types Detected

All entity types verified against the Presidio analyzer engine with CRA and Service Canada format validation.

Entity Identifier Format / Example Validation
Social Insurance Number CA_SIN 123 456 789 (9 digits) Luhn algorithm (modulus 10)
Canadian Driver Licence CA_DRIVER_LICENSE A1234-56789-01234 (province-specific) Per-province format regex (10 formats)
Canadian Passport CA_PASSPORT AB123456 (2 letters + 6 digits) ICAO MRZ check digit + IRCC format

Also Detected in Canadian Documents

Beyond Canada-specific entities, the analyzer detects all common PII that appears in Canadian documents:

  • Canadian postal codes (A1A 1A1 format)
  • Canadian phone numbers (+1-XXX-XXX-XXXX)
  • Credit card numbers (all major schemes)
  • Email addresses and URLs
  • Person names (English and French)
  • Organisation names
  • Dates of birth
  • Bank account and transit numbers

Live Detection: Canadian Document Sample

BEFORE (Original):
Jean Tremblay, SIN 123 456 789, DL A1234-56789-01234, Passport AB123456, 150 Elgin Street, Ottawa, ON K2P 1L4. DOB 1985-03-12.
โ†“
AFTER (Anonymised):
[PERSON], SIN [CA_SIN], DL [CA_DRIVER_LICENSE], Passport [CA_PASSPORT], [ADDRESS], [CITY], [PROVINCE] [CA_POSTAL_CODE]. DOB [DATE_OF_BIRTH].

Detected Entities:

  • CA_SIN 123 456 789
  • CA_DRIVER_LICENSE A1234-56789-01234
  • CA_PASSPORT AB123456
  • PERSON Jean Tremblay
  • ADDRESS 150 Elgin Street
  • LOCATION Ottawa, ON K2P 1L4
  • DATE 1985-03-12
Try with Your Data

PIPEDA Compliance Requirements

Principle 4.4 โ€” Limiting Collection

PIPEDA's Fair Information Principles limit collection to what is necessary for the identified purpose. SINs may only be collected when required by law (e.g., payroll, CPP, EI) โ€” not for general identification purposes.

  • SIN collection without legal basis: criminal offence
  • Test and analytics datasets must use anonymised SIN values
  • Consent required for any other sensitive identifier use

Principle 4.7 โ€” Safeguards

PIPEDA requires organisations to protect personal information with safeguards appropriate to the sensitivity. SINs and passports are classified as highly sensitive โ€” requiring encryption, access controls, and anonymisation in non-production environments.

  • Physical, organisational, and technological safeguards
  • Destruction or anonymisation when no longer needed
  • Contractual protections for third-party processors

Quebec Law 25 โ€” Anonymisation Standard

Law 25 (Act 64) explicitly defines anonymisation: information is anonymised when it is no longer possible to identify the person concerned directly or indirectly. This is a stricter standard than pseudonymisation and must be irreversible for public release.

  • CAI-approved de-identification methodology required
  • Privacy Impact Assessments before new personal data processing
  • Data minimisation enforced at collection point
  • 72-hour breach notification window (strictest in Canada)

Cross-Border Data Transfers

PIPEDA permits transfers to third countries but requires equivalent protection. Organisations must contractually bind foreign processors. US-based cloud processing of Canadian SINs and health data raises specific CLOUD Act concerns for federal government data.

  • Data residency options for sensitive categories
  • CLOUD Act risk: US law enforcement access to US-hosted Canadian data
  • Anonymisation before transfer eliminates jurisdictional exposure
  • EU adequacy maintained for Canada (Schedule B jurisdictions)

Canadian Data Protection Challenges

SIN Misuse Across Enterprise Systems

SINs collected for payroll frequently leak into CRM systems, support tickets, and loan application databases where they have no legal basis. Each unauthorised storage point is a separate PIPEDA violation and a breach notification risk.

Solution: Automated SIN detection with Luhn validation scans all document stores and flags illegal retention.

Quebec Law 25 Compliance Gap

Many Canadian organisations outside Quebec underestimate Law 25 extraterritorial reach. Any organisation with Quebec customers or employees processing their data must comply โ€” including English-only technology companies in Ontario and BC.

Solution: De-identification to CAI standard removes Law 25 personal information obligations entirely.

10 Provincial Licence Formats

Canada's 10 provinces and 3 territories each issue driver licences in distinct formats. Ontario uses alphanumeric codes, Quebec uses different length and format, BC uses an 8-digit numeric scheme. Generic scanners miss provincial formats outside Ontario.

Solution: Province-specific validation rules cover all 13 Canadian licence formats.

Bill C-27 Preparation

Bill C-27 (Consumer Privacy Protection Act) proposed dramatically higher penalties and new AI obligations. Organisations that build anonymisation into data pipelines now will meet C-27 data minimisation and de-identification requirements from day one of enforcement.

Solution: Anonymisation pipeline aligned with both current PIPEDA and proposed CPPA requirements.

Platform Coverage

0
CA Entity Types
0
Total Entity Types
0
Security Tests Pass
0
Languages Supported

See court-grade PII redaction with reversible encryption

Meet OPC Standards โ€” Start Anonymising Canadian Data

Detect SIN, driver licence, passport, and 280+ more entity types. PIPEDA, Quebec Law 25, and PIPA compliant. Bill C-27 ready.

Launch Anonymisation Tool

Frequently Asked Questions

The Consumer Privacy Protection Act (Bill C-27) will replace PIPEDA as Canada's federal privacy law. It introduces stronger consent requirements, algorithmic transparency, data portability rights, and fines up to 5% of global revenue or CAD 25M. Expected in force 2025-2026.

Quebec's Law 25 (fully effective September 2024) requires privacy impact assessments, consent for profiling, data portability, and a privacy officer designation. It applies to any organization processing Quebecers' personal information, regardless of location.

SIN (Social Insurance Number, 9 digits with Luhn validation), passport, driving licence, health card number, IBAN, and phone number. Provincial identifiers include Ontario Health Card (OHIP) and Quebec NAM.

Published by George Curta, Founder of anonym.legal ยท