ImportCsvCAWithSemicolon.json: Difference between revisions
Jump to navigation
Jump to search
imported>Mroy (→Modèle) |
imported>Claratte (→Modèle) |
||
Line 15: | Line 15: | ||
"nbLineFooter" : "0", | "nbLineFooter" : "0", | ||
"regex" : "/^([^;]*);(?:[^;]*);\"([^;]*)\";([^;]*);([^;]*)/", | "regex" : "/^([^;]*);(?:[^;]*);\"([^;]*)\";([^;]*);([^;]*)/", | ||
"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" | |||
} | |||
] | |||
}</javascript> | |||
=Modèle alternatif temporaire pour version sans colonne date de valeur et avec 7 lignes= | |||
<javascript>{ | |||
"inputFormat" : { | |||
"breakAfterNEmptyLines" : 4, | |||
"charset" : "ISO-8859-15", | |||
"contentType" : "text\/csv", | |||
"keepEmptyLines" : "true", | |||
"mergedLineChar" : " ", | |||
"multiLineLabel": "true", | |||
"nbLineHeader" : "7", | |||
"nbLineFooter" : "0", | |||
"regex" : "/^([^;]*);\"([^;]*)\";([^;]*);([^;]*)/", | |||
"startLineRegex" : "\/([0-9]{2}\\\/[0-9]{2}\\\/[0-9]{4};)\/" | "startLineRegex" : "\/([0-9]{2}\\\/[0-9]{2}\\\/[0-9]{4};)\/" | ||
}, | }, |
Revision as of 13:18, 26 March 2020
Présentation
Cette page contient le modèle d'import de relevé bancaire du format "CSV Crédit Agricole avec point-virgule".
Modèle
<javascript>{
"inputFormat" : { "breakAfterNEmptyLines" : 4, "charset" : "ISO-8859-15", "contentType" : "text\/csv", "keepEmptyLines" : "true", "mergedLineChar" : " ", "multiLineLabel": "true", "nbLineHeader" : "6", "nbLineFooter" : "0", "regex" : "/^([^;]*);(?:[^;]*);\"([^;]*)\";([^;]*);([^;]*)/", "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" } ]
}</javascript>
Modèle alternatif temporaire pour version sans colonne date de valeur et avec 7 lignes
<javascript>{
"inputFormat" : { "breakAfterNEmptyLines" : 4, "charset" : "ISO-8859-15", "contentType" : "text\/csv", "keepEmptyLines" : "true", "mergedLineChar" : " ", "multiLineLabel": "true", "nbLineHeader" : "7", "nbLineFooter" : "0", "regex" : "/^([^;]*);\"([^;]*)\";([^;]*);([^;]*)/", "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" } ]
}</javascript>