Skip to content

Iteam1337/graphql-type-samordningsnummer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Custom GraphQL scalar for swedish samordningsnummer

As defined by the Swedish Tax Agency

Using the format: "19701063-2391" where the last digit is the luhn checksum of the previous 9 digits (that's without the millenum and century).

Known caveats

  • Validates that day of birth is between 1-31.