ExportSageCoala.json

From OpenFlyers Documentation
Jump to navigation Jump to search

<javascript>{

 "outputFormat":{
   "contentType":"text\/csv",
   "charset":"UTF-8",
   "filePrefix":"accountancy_",
   "fileExtension":"csv",
   "converter":"Default"
 },
 "field":[
   {
     "name":"converted_account_date",
     "format":{
       "name":"formatDate",
       "parameter":[
         "DD\/MM\/YYYY"
       ]
     }
   },
   {
     "name":"paper",
     "format":{
       "name":"accountJournal",
       "defaultJournal":"OD",
       "parameter":[{
           "51":"BQ",
           "53":"CA",
           "7":"VT"
           }]
     }
   },
   {
     "name":"flow_id"
   },
   {
     "name":"export_account"
   },
   {
     "name":"debit",
     "format":{
       "name":"formatNumber",
       "parameter":[
         "%0.2f"
       ],
       "separatorDecimal":","
     }
   },
   {
     "name":"credit",
     "format":{
       "name":"formatNumber",
       "parameter":[
         "%0.2f"
       ],
       "separatorDecimal":","
     }
   },
   {
     "name":"account_entry_description",
     "format":{
       "name":"formatText",
       "rightPadding":" ",
       "removeChar":",",
       "size":50
     }
   },
   {
     "name":"flow_id"
   },
   {
     "text":"E"
   }
 ],
 "separator":";",
 "endLine":"\n"

}</javascript>