ImportCsvSGWithSemicolon.json

From Documentation de la solution web de gestion OpenFlyers
Revision as of 13:17, 15 November 2020 by imported>Claratte (Page créée avec « =Présentation= Cette page contient le modèle d'Utilisation-de-la-comptabilité#Importer-un-relevé-bancaire|import... »)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Présentation

Cette page contient le modèle d'import de relevé bancaire du format "CSV Société Générale avec point-virgule".

Modèle

<javascript>{

 "inputFormat": {
   "breakAfterNEmptyLines": 4,
   "charset": "ISO-8859-15",
   "separator": ";",
   "contentType": "text/csv",
   "keepEmptyLines": "true",
   "mergedLineChar": "#",
   "multiLineLabel": "false",
   "multiLineComment": "true",
   "nbLineHeader": "6",
   "nbLineFooter": "0",
   "regex": "/([^;]*);([^;]*);([^;]*);([^;]*);([^;]*);([^;]*);([^;]*)?$/i",
   "startLineRegex": "(\"[0-9]{2}\/[0-9]{2}\/[0-9]{4}\";)"
 },
 "field": [
   {
     "name": "account_entry_date",
     "format": {
       "name": "formatDate",
       "parameter": [
         "DD/MM/YYYY"
       ]
     }
   },
   {
     "name": "account_entry_comment"
   },
   {
     "name": "account_entry_debit"
   },
   {
     "name": "account_entry_credit"
   },
   {
     "name": "account_entry_devise"
   },
   {
     "name": "account_entry_date_value",
     "format": {
       "name": "formatDate",
       "parameter": [
         "DD/MM/YYYY"
       ]
     }
   }
 ]

}</javascript>