Webservices - Supplier Balance

The webservice is used to retrieve a balance for one or more suppliers.

03 August,2022

 

 
REQUEST

{

   "Proxy": {   

      "Function":"HeliosWs",

      "HostName":"xxxxx",

      "UserName":"yyyyy",

      "Password":"zzzzz",

      "ReportName":"webservice"

   },

 

   "AuthenticationType":"SYSTEM",

   "UserName":"16984205",

   "Password":"8G56A2NrB",  

   "Function":"GetSupplierBalance",

   "FromSupplierNo":"44570088",

   "ToSupplierNo":""

   "ToDate":"",

   "Department":""

 

}

 
 
RESPONSE

{

   "SupplierList": [   {

      "SupplierNo": "44570088",

      "Name": "RST ApS",

      "Name2": "",

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

      "Postcode": "2700",

      "City": "Brønshøj",

      "Country": "Danmark",

      "Attention": "",

      "Phone": "44570088",

      "Fax": "",

      "Email": "info@rst.dk",

      "CompanyNo": "16984205",

      "Ean": "",

      "PaymentTerms":"8",

      "Group": "",

      "Department": "",

      "TotalBalance": 1250,

      "Balance0-30": 1250,

      "Balance30-60": 0,

      "Balance60-90": 0,

      "Balance90+": 0,

      "BalanceDue": 0

 }],

   "WebserviceInfo": {

      "Name": "HELIOSWEBSERVICE",

      "Version": 1,

      "Build": 2001

   },

   "AuthenticationType": "SYSTEM",

   "ErrorCode": 0,

   "ErrorText": "",

   "Success": true,

   "Proxy": {

   "AgentName": "WSPROXY",

   "AgentVersion": "1.00.1015",

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

   "ErrorCode": 0,

   "Success": true

   }

}

 

 
 
COMMENTS

  • Max. 5000 suppliers are included in response.
  • If FromSupplierNo is blank then request starts at first customer.
  • If ToSupplierNo is blank then request ends at last customer. Unless max. suppliers are reached before.
  • Suppliers with a balance of 0,00 are not included in the response.
  • If Department is included in the request the reply will contain balances for suppliers calculated only on postings in this department.