EmployeeTaxDeclaration

<no summary>

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
query Parameters
year
integer <int32>

Responses

Request samples

using System;
using System.Net.Http;
using System.Threading.Tasks;

public class Program
{
  public static async Task Main(string[] args)
  {
    using (var client = new HttpClient())
    {
      client.DefaultRequestHeaders.Add("Authorization", "Bearer <YOUR_TOKEN_HERE>");
      var CompanyUid = "YOUR_companyUid_PARAMETER";
      var EmployeeUid = "YOUR_employeeUid_PARAMETER";
      var request = await client.GetAsync("/api/companies/" + CompanyUid + "/employees/" + EmployeeUid + "/taxdeclarations?year=0");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
No sample

<no summary>

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
Request Body schema:
taxDeclarationType
integer <int32>
year
integer <int32>
hasSourceTaxAccountingRecord
boolean
hasFreeTransport
boolean
hasCanteenLunchCheck
boolean
companyCarType
integer <int32>
privatePartCompanyCarApprovedCanton
string Nullable
privatePartCompanyCarApprovedDate
string <date-time> Nullable
companyCarPercentageFieldService
number <double>
expenseRegulationType
integer <int32>
expenseRegulationApprovedCanton
string Nullable
expenseRegulationApprovedDate
string <date-time> Nullable
hasExpatriateRulingApproved
boolean
expatriateRulingApprovedCanton
string Nullable
expatriateRulingApprovedDate
string <date-time> Nullable
hasEmployeeShareTaxApproved
boolean
employeeShareTaxApprovedCanton
string Nullable
employeeShareTaxApprovedDate
string <date-time> Nullable
hasEmployeeShareTaxWithoutTaxableIncome
boolean
hasProspectiveRights
boolean
hasDisposalLockMoreThanTenYears
boolean
hasIssueWithUnratedOptions
boolean
hasUnlistedEmployeeStockAwards
boolean
hasUnlistedNonEquityEmployeeStockOwnership
boolean
hasOtherUnlistedPropertyRights
boolean
hasPurchaseBvg
boolean
purchaseBvg
number <double> Nullable
hasRelocationCosts
boolean
relocationCosts
number <double> Nullable
hasChildAllowanceAmount
boolean
childAllowancePerAhv
number <double> Nullable
otherFringeBenefits
string Nullable
additionalRemarks
string Nullable
contactFirstName
string [ 0 .. 150 ] characters Nullable
contactLastName
string [ 0 .. 150 ] characters Nullable
contactPhone
string [ 0 .. 50 ] characters Nullable

Responses

Request samples

Content type
{
}

Response samples

Content type
No sample

<no summary>

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
query Parameters
year
integer <int32>

Responses

Request samples

using System;
using System.Net.Http;
using System.Threading.Tasks;

public class Program
{
  public static async Task Main(string[] args)
  {
    using (var client = new HttpClient())
    {
      client.DefaultRequestHeaders.Add("Authorization", "Bearer <YOUR_TOKEN_HERE>");
      var CompanyUid = "YOUR_companyUid_PARAMETER";
      var EmployeeUid = "YOUR_employeeUid_PARAMETER";
      var request = await client.DeleteAsync("/api/companies/" + CompanyUid + "/employees/" + EmployeeUid + "/taxdeclarations?year=0");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
No sample