Webservices - Open Postings (By Account No.)

The webservice is used to retrieve open customer and supplier postings.

 

Open Supplier postings can be retrieved by replacing GetOpenCustomerPostingsByAccountNo in the example below with GetOpenSupplierPostingsByAccountNo.

03 August,2022

 

  
REQUEST

{

   "Proxy": {   

      "Function":"HeliosWs",

      "HostName":"xxxxx",

      "UserName":"yyyyy",

      "Password":"zzzzz",

      "ReportName":"webservice"

   },

 

   "AuthenticationType":"SYSTEM",

   "UserName":"16984205",

   "Password":"8G56A2NrB",  

   "Function":"GetCustomerOpenPostingsByAccountNo",

   "FromAccountNo":"44570088",

   "ToAccountNo":"",

   "InclInvoiceDetails":true

}

 
  
RESPONSE

{

   "AccountList": [   {

      "AccountNo": "44570088",

      "AccountName": "Helios Auto ApS",

      "PostingList": [      {

         "Index": 541315,

         "Date": "2020-01-16T00:00:00Z",

         "YearEndPosting": false,

         "VoucherNo": 2,

         "AccountNo": "44570088",

         "Text": "Faktura 2",

         "Amount": 2898.49,

         "DueDate": "2020-01-24T00:00:00Z",

         "InvoiceNo": 2,

         "PaymentId": "445700880000029",

         "CurrencyCode": "DKK",

         "CurrencyAmount": 1606.94,

         "VoucherType": "INVOICE",

         "Department": "",

         "Project": "",

         "VatCode": "N/A",

         "VatAmount": 0,

         "BalanceInvoiceNo": 0,

         "BalanceInvoiceList": "",

         "Status": "HALFOPEN",

         "OpenAmount": 2000,

         "SalesOrderNo": 5,

         "PurchaseOrderNo": 0,

         "VehicleBasisNo": 0,

         "AccountGroup": "",

         "ActualDate": "2020-01-16T00:00:00Z",

         "ActualTime": "12:34"

         "InvoiceDetails":             {

            "CustomerName": "Helios Auto ApS",

            "CustomerAddress": "Tølløsevej 47",

            "CustomerPostCode": "2700",

            "CustomerCity": "Brønshøj",

            "CustomerEmail": "info@heliosauto.dk",

            "CustomerMobile": ""

         }      }]

   }],    

   "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.
  • If FromAccountNo and ToAccountNo are blank all accounts are included.
  • If FromAccountNo is blank and ToAccountNo is not blank all accounts up till ToAccountNo are included.
  • If ToAccountNo is blank and FromAccountNo is not blank then only FromAccountNo is included.