auth

Calculate Italian tax code (codice fiscale)

Calculate the Italian tax code from anagraphic fields. Returns null when calculation is not possible (e.g. foreign birthplace).

post/api/auth/calculate-tax-code

Request body

first_namestring required

User first name

last_namestring required

User last name

genderstring required

User gender (M/F)

date_of_birthstring date required

User date of birth (YYYY-MM-DD)

place_of_birthstring required

User place of birth

Response

Successful Response

tax_codestring nullable

Calculated tax code (null if calculation failed)

reasonstring nullable

Reason for failure when tax_code is null

Changes