Inforce.json

From OpenFlyers Documentation
Revision as of 11:56, 24 November 2024 by Claratte (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
{
  "outputFormat":{
    "contentType":"text\/csv",
    "charset":"UTF-8",
    "fileName":"Comptt01.inf",
    "converter":"Default"
  },
  "field":[
    {
      "text":"Compt"
    },
    {
      "name":"paper",
      "format":{
        "name":"accountJournal",
        "defaultJournal":"OD",
        "parameter":[{
            "51":"BQ",
            "53":"CA",
            "7":"VT"
        }]
      }
    },
    {
      "name":"converted_account_date",
      "format":{
        "name":"formatDate",
        "parameter":[
          "DDMMYY"
        ]
      }
    },
    {
      "name":"account_entry_description",
      "format":{
        "name":"formatText",
        "removeChar":"-",
        "size":29
      }
    },
    {
      "text":"0"
    },
    {
      "name":"total_entry",
      "format":{
        "name":"formatText",
        "size":2
      }
    },
    {
      "text":"0"
    },
    {
      "name":"debit",
      "format":{
        "name":"formatNumber",
        "parameter":[
          "%0.2f"
        ]
      },
      "if":{
        "leftPart":"debit",
        "operator":"!=",
        "rightPart":"0.00"
      }
    },
    {
      "text":"0",
      "if":{
        "leftPart":"debit",
        "operator":"==",
        "rightPart":"0"
      }
    },
    {
      "name":"credit",
      "format":{
        "name":"formatNumber",
        "parameter":[
          "%0.2f"
        ]
      },
      "if":{
        "leftPart":"credit",
        "operator":"!=",
        "rightPart":"0.00"
      }
    },
    {
      "text":"0",
      "if":{
        "leftPart":"credit",
        "operator":"==",
        "rightPart":"0"
      }
    },
    {
      "name":"export_account",
      "format":{
        "name":"formatText",
        "rightPadding":"0",
        "size":8
      }
    },
    {
      "text":"0"
    },
    {
      "text":"0"
    },
    {
      "text":"0"
    },
    {
      "text":"0"
    },
    {
      "text":"0"
    },
    {
      "text":"0"
    },
    {
      "text":"0"
    },
    {
      "text":"EUR"
    }
  ],
  "separator":";",
  "endLine":"\r\n"
}