Service Directory > v32.1 > Payroll > Put_Payroll_Worker_Tax_Treaty
 

Operation: Put_Payroll_Worker_Tax_Treaty

This web service method allows external clients to add or update a Payroll Worker Tax Treaty


@ - A parameter name with this symbol denotes an XML attribute within the document instead of an XML element.


Contents

 

Web Service

 

Request

 

Response

 

Element(s)

 

Request Element: Put_Payroll_Worker_Tax_Treaty_Request

Create or Update a Tax Treaty for a Worker
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Worker_Tax_Treaty_Data  Worker_Tax_Treaty_Data  [0..1]  Worker Tax Treaty Data 
Validation Description
The Treaty Benefit End Date ([end]) must be greater than or equal to the Treaty Benefit Start Date ([start]).   
The Treaty Benefit Start Date's ([date]) year must be the same as the Tax Year ([taxYear]).   
The Treaty Benefit End Date's ([date]) year must be the same as the Tax Year ([taxYear]).   
Payroll Income Code is invalid. Payroll Income Code must be one of the following: [valid codes]   
Worker Tax Treaties associated with income codes ([codes]) cannot have overlapping dates   
Tax Year Reference must be greater than or equal to 2011.   
Treaty Benefits Start date must be after Treaty Eligibility Begin date.   
The Treaty Eligibility End Date ([end]) must be greater than or equal to the Treaty Eligibility Begin Date ([start]).   
Eligibility End date cannot be entered without an Eligibility Begin date.   
Treaty Benefits End date must be before Treaty Eligibility End date.   
Income Code Subtype is required if Income Code is [code]. Income Code Subtype must be blank if Income Code is not [code].   
Eligible for Withholding Allowance and Withholding Rate can only be entered if Income Code [code] Non Qualified   
Maximum Benefit Amount is not allowed when No Treaty Maximum is true   
 
top
 

Response Element: Put_Worker_Tax_Treaty_Response

Put Worker Tax Treaty Response
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Worker_Tax_Treaty_Reference  Payroll_Payee_Tax_Treaty_USAObject  [0..1]  Worker Tax Treaty   
Worker_Tax_Treaty_Response_Data  Put_Worker_Tax_Treaty_Response_Data  [0..*]  Put Worker Tax Treaty Response Data   
top
 

Worker_Tax_Treaty_Data

part of: Put_Payroll_Worker_Tax_Treaty_Request
Worker Tax Treaty Data
 
Parameter name Type/Value Cardinality Description Validations
Worker_Reference  WorkerObject  [1..1]  Worker for whom the Tax Treaty applies   
Tax_Year_Reference  Calendar_YearObject  [1..1]  Calendar Reference. Tax year for treaty benefits. If Year, Income Code and Worker combination already exist in the system, treaty data will be Updated. If Year, Income Code and Worker combination does not exist in the system, tax treaty data will be Added.   
Treaty_Benefit_Start_Date  date  [1..1]  Indicates the date when treaty benefits start   
Treaty_Benefit_End_Date  date  [1..1]  Indicates the date when treaty benefits end   
Maximum_Benefit_Amount  decimal (21, 6) >0   [0..1]  Indicates the maximum benefit amount covered by treaty   
No_Treaty_Maximum  boolean  [0..1]  Indicates whether or not there is a maximum benefit amount covered by treaty   
Treaty_Eligibility_Begin  date  [0..1]  Indicates the date when the Worker is first eligible for Benefits   
Treaty_Eligibility_End  date  [0..1]  Indicates the date when the Worker is no longer eligible for Benefits   
Income_Code_Reference  Payroll_Income_CodeObject  [1..1]  Income code for treaty benefits   
Income_Code_Subtype_Reference  Payroll_Income_Code_SubtypeObject  [0..1]  Subtype of Income Code for treaty benefits - Qualified or Non Qualified   
Eligible_for_Withholding_Allowance  boolean  [0..1]  Indicates whether earnings associated with the tax treaty are Eligible for Withholding Allowance   
Withholding_Rate  decimal (9, 6) >0   [0..1]  Indicates the tax withholding percentage rate for earnings associated with the tax treaty   
Tax_Residency_Country_Code_Reference  Payroll_IRS_CountryObject  [1..1]  Two digit country code used by the IRS to identify the country for tax treaty benefits   
Validation Description
The Treaty Benefit End Date ([end]) must be greater than or equal to the Treaty Benefit Start Date ([start]).   
The Treaty Benefit Start Date's ([date]) year must be the same as the Tax Year ([taxYear]).   
The Treaty Benefit End Date's ([date]) year must be the same as the Tax Year ([taxYear]).   
Payroll Income Code is invalid. Payroll Income Code must be one of the following: [valid codes]   
Worker Tax Treaties associated with income codes ([codes]) cannot have overlapping dates   
Tax Year Reference must be greater than or equal to 2011.   
Treaty Benefits Start date must be after Treaty Eligibility Begin date.   
The Treaty Eligibility End Date ([end]) must be greater than or equal to the Treaty Eligibility Begin Date ([start]).   
Eligibility End date cannot be entered without an Eligibility Begin date.   
Treaty Benefits End date must be before Treaty Eligibility End date.   
Income Code Subtype is required if Income Code is [code]. Income Code Subtype must be blank if Income Code is not [code].   
Eligible for Withholding Allowance and Withholding Rate can only be entered if Income Code [code] Non Qualified   
Maximum Benefit Amount is not allowed when No Treaty Maximum is true   
top
 

WorkerObject

part of: Worker_Tax_Treaty_Data, Put_Worker_Tax_Treaty_Response_Data
 
Parameter name Type/Value Cardinality Description Validations
@Descriptor  string  [1..1]  Display information used to describe an instance of an object. This 'optional' information is for outbound descriptive purposes only and is not processed on inbound Workday Web Services requests.   
ID  WorkerObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

WorkerObjectID

part of: WorkerObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Contingent_Worker_ID, Employee_ID  [1..1]  The unique identifier type. Each "ID" for an instance of an object contains a type and a value. A single instance of an object can have multiple "ID" but only a single "ID" per "type".   
top
 

Calendar_YearObject

part of: Worker_Tax_Treaty_Data, Put_Worker_Tax_Treaty_Response_Data
 
Parameter name Type/Value Cardinality Description Validations
@Descriptor  string  [1..1]  Display information used to describe an instance of an object. This 'optional' information is for outbound descriptive purposes only and is not processed on inbound Workday Web Services requests.   
ID  Calendar_YearObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

Calendar_YearObjectID

part of: Calendar_YearObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Calendar_Year_ID  [1..1]  The unique identifier type. Each "ID" for an instance of an object contains a type and a value. A single instance of an object can have multiple "ID" but only a single "ID" per "type".   
top
 

Payroll_Income_CodeObject

part of: Worker_Tax_Treaty_Data, Put_Worker_Tax_Treaty_Response_Data
 
Parameter name Type/Value Cardinality Description Validations
@Descriptor  string  [1..1]  Display information used to describe an instance of an object. This 'optional' information is for outbound descriptive purposes only and is not processed on inbound Workday Web Services requests.   
ID  Payroll_Income_CodeObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

Payroll_Income_CodeObjectID

part of: Payroll_Income_CodeObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Payroll_Income_Code  [1..1]  The unique identifier type. Each "ID" for an instance of an object contains a type and a value. A single instance of an object can have multiple "ID" but only a single "ID" per "type".   
top
 

Payroll_Income_Code_SubtypeObject

part of: Worker_Tax_Treaty_Data
 
Parameter name Type/Value Cardinality Description Validations
@Descriptor  string  [1..1]  Display information used to describe an instance of an object. This 'optional' information is for outbound descriptive purposes only and is not processed on inbound Workday Web Services requests.   
ID  Payroll_Income_Code_SubtypeObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

Payroll_Income_Code_SubtypeObjectID

part of: Payroll_Income_Code_SubtypeObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Subtype_Name  [1..1]  The unique identifier type. Each "ID" for an instance of an object contains a type and a value. A single instance of an object can have multiple "ID" but only a single "ID" per "type".   
top
 

Payroll_IRS_CountryObject

part of: Worker_Tax_Treaty_Data
 
Parameter name Type/Value Cardinality Description Validations
@Descriptor  string  [1..1]  Display information used to describe an instance of an object. This 'optional' information is for outbound descriptive purposes only and is not processed on inbound Workday Web Services requests.   
ID  Payroll_IRS_CountryObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

Payroll_IRS_CountryObjectID

part of: Payroll_IRS_CountryObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Payroll_Country_Tax_Code  [1..1]  The unique identifier type. Each "ID" for an instance of an object contains a type and a value. A single instance of an object can have multiple "ID" but only a single "ID" per "type".   
top
 

Payroll_Payee_Tax_Treaty_USAObject

part of: Put_Worker_Tax_Treaty_Response
 
Parameter name Type/Value Cardinality Description Validations
@Descriptor  string  [1..1]  Display information used to describe an instance of an object. This 'optional' information is for outbound descriptive purposes only and is not processed on inbound Workday Web Services requests.   
ID  Payroll_Payee_Tax_Treaty_USAObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

Payroll_Payee_Tax_Treaty_USAObjectID

part of: Payroll_Payee_Tax_Treaty_USAObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Payroll_Payee_Tax_Treaty_ID  [1..1]  The unique identifier type. Each "ID" for an instance of an object contains a type and a value. A single instance of an object can have multiple "ID" but only a single "ID" per "type".   
top
 

Put_Worker_Tax_Treaty_Response_Data

part of: Put_Worker_Tax_Treaty_Response
Put Worker Tax Treaty Response Data
 
Parameter name Type/Value Cardinality Description Validations
Worker_Reference  WorkerObject  [0..1]  Worker to whom this Tax Treaty applies   
Tax_Year_Reference  Calendar_YearObject  [0..1]  Tax Year for Treaty Benefits   
Income_Code_Reference  Payroll_Income_CodeObject  [0..1]  Income code for treaty benefits   
top
 

WorkerReferenceEnumeration

part of: WorkerObjectID
Base Type
string
top
 

Calendar_YearReferenceEnumeration

part of: Calendar_YearObjectID
Base Type
string
top
 

Payroll_Income_CodeReferenceEnumeration

part of: Payroll_Income_CodeObjectID
Base Type
string
top
 

Payroll_Income_Code_SubtypeReferenceEnumeration

part of: Payroll_Income_Code_SubtypeObjectID
Base Type
string
top
 

Payroll_IRS_CountryReferenceEnumeration

part of: Payroll_IRS_CountryObjectID
Base Type
string
top
 

Payroll_Payee_Tax_Treaty_USAReferenceEnumeration

part of: Payroll_Payee_Tax_Treaty_USAObjectID
Base Type
string
top