Webservices - Postings (By Index)

The webservice is used to retrieve finance, customer and supplier postings.

 

Customer and Supplier postings can be retrieved by replacing GetFinancePostingsByIndex in the example below with GetCustomerPostingsByIndex or GetSupplierPostingsByIndex.

03 August,2022

 

  
REQUEST

{

   "Proxy": {   

      "Function":"HeliosWs",

      "HostName":"xxxxx",

      "UserName":"yyyyy",

      "Password":"zzzzz",

      "ReportName":"webservice"

   },

 

   "AuthenticationType":"SYSTEM",

   "UserName":"16984205",

   "Password":"8G56A2NrB",  

   "Function":"GetFinancePostingsByIndex",

   "FromIndex":0,

   "ToIndex":0,

   "InclInvoiceDetails":false

}

 
  
RESPONSE

{

   "PostingList": [   {

      "Index": 541200,

      "Date": "2018-05-02T00:00:00Z",

      "YearEndPosting": false,

      "VoucherNo": 20999,

      "AccountNo": "1000",

      "Text": "Faktura 71637",

      "Amount": -217,

      "DueDate": "0000-00-00T00:00:00Z",

      "PaymentId":"",

      "InvoiceNo": 0,

      "CurrencyCode": "",

      "CurrencyAmount": -217,

      "VoucherType": "MISC",

      "Department": "",

      "Project": "",

      "VatCode": "U",

      "VatAmount": -54.25,

      "BalanceInvoiceNo": 0,

      "BalanceInvoiceList": "",

      "Status": "N/A",

      "SalesOrderNo": 37618,

      "PurchaseOrderNo": 0,

      "VehicleBasisNo": 9384,

      "AccountGroup": "",

      "ActualDate": "2019-05-28T00:00:00Z",

      "ActualTime": "12:34"

   }],

    "WebserviceInfo": {

      "Name": "HELIOSWEBSERVICE",

      "Version": 1,

      "Build": 2073

   },

   "AuthenticationType": "SYSTEM",

   "ErrorCode": 0,

   "ErrorText": "",

   "Success": true,

   "Proxy": {

      "AgentName": "WSPROXY",

      "AgentVersion": "1.80.1232 x86-64",

      "AgentCopyright": "Copyright (C) 2017-2020 Torben Ring. All rights reserved.",

      "ErrorCode": 0,

      "Success": true

   }

}

 

 
  
COMMENTS

  • Max. 50000 postings are included in response.
  • Function can be set to GetFinancePostingsByIndex, GetCustomerPostingsByIndex or GetSupplierPostingsByIndex.
  • If FromIndex is blank then request starts at first posting (Index=1).
  • If ToIndex is blank then request ends at last posting. Unless max. postings are reached before.