Filter inputs

NameTypeDescriptionMandatoryAvailable from version


ExpirationDateFromDateTimeStartdate for ExpirationDate 

ExpirationDateToDateTimeEnddate for ExpirationDate

PersonsGuid[]Ids of Person for the TaxWithholdingAgreements 

Response rows (Array) inherits from EntityBase

NameTypeDescriptionAvailable from version
BrickIdGuidThe BrickId (unique id) of the account type
PersonGuidThe Person for the TaxWithholdingAgreements
ExpirationDateDateTimeExpirationDate for the TaxWithholdingAgreements
TaxCountrystringAccording to ISO-standard here:

Code examples

C# - Get TaxWithholdingAgreements from a BFS instance
public static void GetTaxWithholdingAgreements()
            var binding = new BasicHttpBinding();
            //binding.OpenTimeout=new TimeSpan(0,0,5,0);
            binding.SendTimeout=new TimeSpan(0,0,5,0);
            binding.MaxReceivedMessageSize = Int32.MaxValue;
            var target = new bfsapi.bfsapiSoapClient(binding, new EndpointAddress("http://localhost:20010/bfsapi.asmx"));
            var req = new GetTaxWithholdingAgreementRequest();
            req.Credentials = new bfsapi.Credentials
                UserName = "user",
                Password = "password"

            req.identify = "identify";
            req.Fields = new bfsapi.GetTaxWithholdingAgreementFields()
                TaxCountry = true,
                Person = true,
                ExpirationDate = true

            req.Args = new bfsapi.GetTaxWithholdingAgreementArgs()
                TaxCounties = new []{"US"}


            var resp = target.GetTaxWithholdingAgreements(req);
            var s = "";

Terms of License
Change Policy
© 2009 - 2024 Huddlestock Technologies AB All rights reserved