Entities

by Gael Bonn

A new output is added to each extractor, entities, it lists all the entities found in the document:

{
  "entities": [{"fullName": "Charles L'Heureux", "firstName": "Charles", "lastName":"L'Heureux", "id": "zakoz35az234251f"}],
  "extractedInformation": {...},
  "controls": {...}
}
                        

ID documents' API have been improved for better extraction and verification:

  • If both front and back and sent in the request, global status is adjusted to take account of both sides.
  • Face matching is more robust to image orientation. We strongly recommend you to take the face photo in portrait mode.
  • Driver license FR 2013 is added to the ID API support.
  • The extraction performance have been improved across the different fields.

The document extraction APIs have been improved to better support multi page handling:

  • The accepted inputs are restricted to multiple pdfs or multiple images, each of them represents a document. Pdfs and images are not accepted simultaneously,
  • The response of a request is redefined to be a single output, that is the output of the extraction on a single document (a list of pdf or a list of images).

An additional control is added to reco/pay-slip:

  • joiningDateConformity: verifies if the joining date is after the registration date of the company.

Kbis extractor (reco/kbis) handles multiple pages more efficiently.

New information is added to the API. Here is the full list of currently available information:

  • RCS (rcs):
    • RCS registration number and city (Immatriculation au RCS, numéro).
  • Registration Date (registrationDate):
    • Registration date (Date d'immatriculation).
  • Company Address (companyAddress):
    • Company address (Adresse du siège).
  • Legal Form (legalForm):
    • The legal form of the company (SARL, SA, etc.) (Forme juridique).
  • Capital (capital):
    • Social capital (Capital social).
  • Activity (activity):
    • Company main activity (Activités principales).
  • Transfer From (transferFrom):
    • Transferred from and date (Transfert du).
  • Original Registration Date (originalRegistrationDate):
    • Original registration date (Date d'immatriculation d'origine).
  • Duration (duration):
    • Company duration (Durée de la personne morale).
  • Closing Date (closingDate):
    • Closing date of the financial year (Date de clôture de l'exercice social).
  • First Closing Date (firstClosingDate):
    • Closing date of the first financial year (Date de clôture du 1er l'exercice social).
  • Code NAF (codeNaf):
    • NAF code (Nomenclature d'activités française (code NAF)).
  • Establishment Address (establishmentAddress):
    • Establishment address (Adresse de l'établissement).
  • Practiced Activities (practicedActivities):
    • Activity(ies) carried out by the company (Activité(s) exercée(s)).
  • Activity Start Date (activityStartDate):
    • Start date of activity (Date de commencement d'activité).
  • Code NAF Establishment (codeNafEstablishment):
    • NAF code of the establishment (Nomenclature d'activités française de l'établissement (code NAF)).
  • Commercial Name (commercialName):
    • Commercial name (Nom commercial).
  • Origin of Funds or Activity (originFundsOrActivity):
    • Origin of the funds or the activity (Origine du fonds ou de l'activité).
  • Operating Mode (operatingMode):
    • Operating mode (Mode d'exploitation).
  • Date (date):
    • Date (Date).

Members (members):

  • List of members.
    • Name (name):
      • First and last name (Nom, Prénom).
    • Birth Date (birthDate):
      • Birth date (Date de naissance).
    • Birth Place (birthPlace):
      • Birth place (Lieu de naissance).
    • Citizenship (citizenship):
      • Citizenship (Nationalité).
    • Personal Address (personalAddress):
      • Personal Address (Domicile personnel).
    • Usual Name (usualName):
      • Usual name (Nom d'usage).
    • Company Name (companyName):
      • Company name (Dénomination).
    • Company Address (companyAddress):
      • Company address (Address).
    • Legal Form (legalForm):
      • Legal form (Forme juridique).
    • RCS (rcs):
      • RCS number (Immatriculation au RCS, numéro).

Mentions (mentions):

  • List of mentions.
    • Date (date):
      • Mention's date (Date de la mention).
    • Mention (mention):
      • Mention's text (le crops de la mention).

New verification controls are now available for pay slip documents:

  • matchName: matches the name provided by user in userInput with the name extracted from the document.
  • matchAddress: matches the address provided by user in userInput with the address extracted from the document.
  • rentLocationLessThan100KM: verifies if the rent address provided by the user in userInput is located less than 100 kilometers from the company's address.
  • nSSConformity: verifies the conformity of the social security number extracted from the document: starts with 1 or 2 and has 13 or 15 numbers.
  • periodConformity: verifies if the month and year of the pay slip respect the creation date of the company thanks to on Insee API. The period should proceed the creation date.
  • companyAddressConformity: verifies if the company's name extracted from the document matches the company's name found in Insee API.
  • companyNameConformity: verifies if the company's address extracted from the document matches the company's address found in Insee API.
  • siretConformity: verifies the company SIRET extracted from the document is registered in Insee API.
  • apeCodeConformity: verifies if the company's ape code extracted from the document matches the company's ape code found in Insee API.
  • paymentVariance: Search for following keywords in the document: acompte, saisie, retenue E / P, arrêt maladie.
  • SSCeilingConformity: verifies if the social security ceiling extracted from the document is less than the designated amount for the year

New verification controls are available:

  • companyNameConformity: verification of company name using InseeAPI
  • registrationDateConformity: verification of registration date using InseeAPI. The month and year must be equal.