Skip to content
Constaia
ca_sin

Canadian Social Insurance Number (SIN) confirmation

Social Insurance Number confirmation letter (Service Canada) or former SIN card. Only the format and Luhn check are validated; numbers starting with 9 are temporary and expire.

Category
Tax
Country
Canada
Fields it extracts
4 fields
Cost
1 credit
ca_sinspecimen
Sin
Holder name
Issue date
Expiration date

What it checks

  • National identifiers. Official checksum or format of the number (NIF, CPF, CURP, RUT, SSN…).ca_sin
  • Holder. Name, number or date of birth match what you expect.

Fields it extracts

  • Sinsin
  • Holder nameholder_name
  • Issue dateissue_date
  • Expiration dateexpiry_date

Sample request

curl https://api.constaia.com/v1/analyze \
  -H "Authorization: Bearer $CONSTAIA_API_KEY" \
  -F "file=@document.pdf" \
  -F 'options={
    "expect": "ca_sin",
    "checks": {
      "max_age_days": 90,
      "holder": {
        "full_name": "Carmen Especimen Ruiz"
      }
    },
    "storage": "none"
  }'

Sample response

Fictitious data. Shortened response.

200 OK · application/json
{
  "id": "an_01J9Z3K8QW4T6Y2B7N5M1R0PXC",
  "object": "analysis",
  "status": "completed",
  "livemode": false,
  "document": {
    "type": "ca_sin",
    "label": "Canadian Social Insurance Number (SIN) confirmation",
    "confidence": 0.97
  },
  "verdict": {
    "expected": [
      "ca_sin"
    ],
    "match": true,
    "status": "valid",
    "reasons": [
      {
        "code": "type_match",
        "severity": "info",
        "message": "The document is: Canadian Social Insurance Number (SIN) confirmation."
      }
    ]
  },
  "fields": {
    "sin": {
      "value": "130 692 544",
      "confidence": 0.99,
      "validated": true
    },
    "holder_name": {
      "value": "JANE SPECIMEN",
      "confidence": 0.98,
      "validated": null
    },
    "issue_date": {
      "value": "2024-05-20",
      "confidence": 0.97,
      "validated": null
    }
  },
  "checks": [
    {
      "code": "id_number",
      "passed": true,
      "message": "id_number"
    }
  ],
  "warnings": [],
  "storage": {
    "mode": "none",
    "file_deleted_at": "2026-09-29T10:00:02Z",
    "expires_at": null
  },
  "usage": {
    "credits": 1,
    "pages": 1
  }
}

FAQ

Does Constaia prove that the document is authentic?

No. It checks the type, the consistency of the data and your rules, and flags signals such as a possible edit or a photo of a screen. That does not prove authenticity.

Is a copy of the document kept?

Only if it needs review: then it's kept encrypted until someone decides and for 24 hours after that (configurable). Otherwise it's deleted as soon as the analysis ends. You can choose never to keep it.

Other documents

And for the record…

Create your free account and validate your first document in five minutes. No credit card required.