Skip to main content

Onfido mapping

If you're using Onfido for the Document fetch check or Document verification check, the documents.document_type field maps as follows:

Onfido document type

Passfort document_type

driving_licence, regular_driving_licence, learning_driving_licence

DRIVING_LICENSE

passport

PASSPORT

passport_card

PASSPORT_CARD

national_identity_card

STATE_ID

voter_id

VOTER_ID

national_health_insurance_card

HEALTHCARE_ID

tax_id

TAX_ID

residence_permit

BIOMETRIC_STATE_ID

visa

VISARD

If you're using version 1 or 2 of the Onfido API and the document type is unknown, the check fails. If you're using version 3 of the Onfido API, the document type will be classified as miscellaneous if Passfort cannot recognize the document and unknown if Onfido cannot recognize the document.

Additional information