Service Directory > v32.1 > Resource_Management > Put_Invoice_Types
 

Operation: Put_Invoice_Types

Creates or modifies an invoice type. Creates a new invoice type based on filtering criteria. Duplicate Invoice Types are not allowed.


@ - 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_Invoice_Types_Request

Element containing the Invoice Type reference for update and all Invoice Type data items.
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
@Add_Only  boolean  [1..1]  Add Only Flag. Indicates that the service is an add only, not an update.   
Invoice_Type_Reference  Invoice_TypeObject  [0..1]  Reference to an existing Invoice Type for update only purposes.   
Invoice_Type_Data  Invoice_Type_Data  [1..1]  Invoice Type Data 
Validation Description
Enter a unique Invoice Type Value. [Value] is already in use for [Country].  The combination of the Invoice Type Name and the related Country must be unique. 
The Invoice Type is currently in use, you cannot change the country.  The Invoice Type is currently in use, you cannot change the country. 
 
Validation Description
The Web Service is set to Add Only; documents cannot be resubmitted.  The Web Service is set to Add Only; documents cannot be resubmitted. 
top
 

Response Element: Put_Invoice_Types_Response

Wrapper element that includes the Invoice Type instance.
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Invoice_Type_Reference  Invoice_TypeObject  [0..1]  Reference to a specific Invoice Type   
top
 

Invoice_TypeObject

part of: Put_Invoice_Types_Request, Put_Invoice_Types_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  Invoice_TypeObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

Invoice_TypeObjectID

part of: Invoice_TypeObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Invoice_Type_ID, Spend_Data_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
 

Invoice_Type_Data

part of: Put_Invoice_Types_Request
Element that encapsulates all of the data related to the Invoice Type.
 
Parameter name Type/Value Cardinality Description Validations
Invoice_Type_ID  string  [0..1]  Invoice Type ID. This is the Invoice Type unique identifier.   
Invoice_Type_Value  string  [1..1]  The name of the Invoice Type   
Country_Reference  CountryObject  [1..1]  The country for this Invoice Type. Any country is available to choose. This cannot be edited once the Invoice Type is in use.   
Invoice_Type_Description  string  [0..1]  The description of the Invoice Type. This is not required.   
Usage_Location_Reference  Unique_IdentifierObject  [0..*]  The usage location of the Invoice Type. If this is left blank, the Invoice Type will not be available anywhere. Only in the chosen usage locations will the Invoice Type be available for selection.   
Invoice_Type_Inactive  boolean  [0..1]  This boolean attribute activates or deactivates the Invoice Type. If an Invoice Type in inactive, it will no longer show up in its usage locations.   
Invoice_Type_In_Use  boolean  [0..1]  This boolean indicates whether the Invoice Type is in use within Workday. This is informational only and is not enterable.   
Validation Description
Enter a unique Invoice Type Value. [Value] is already in use for [Country].  The combination of the Invoice Type Name and the related Country must be unique. 
The Invoice Type is currently in use, you cannot change the country.  The Invoice Type is currently in use, you cannot change the country. 
top
 

CountryObject

part of: Invoice_Type_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  CountryObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

CountryObjectID

part of: CountryObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, ISO_3166-1_Alpha-2_Code, ISO_3166-1_Alpha-3_Code, ISO_3166-1_Numeric-3_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
 

Unique_IdentifierObject

part of: Invoice_Type_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  Unique_IdentifierObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

Unique_IdentifierObjectID

part of: Unique_IdentifierObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  IID, WID  [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
 

Invoice_TypeReferenceEnumeration

part of: Invoice_TypeObjectID
Base Type
string
top
 

CountryReferenceEnumeration

part of: CountryObjectID
Base Type
string
top
 

Unique_IdentifierReferenceEnumeration

part of: Unique_IdentifierObjectID
Base Type
string
top