Service Directory > v32.1 > Revenue_Management > Cancel_Customer_Invoice
 

Operation: Cancel_Customer_Invoice

This service will cancel a Customer Invoice


@ - 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: Cancel_Customer_Invoice_Request

Cancel Customer Invoice Request
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Customer_Invoice_Reference  Customer_InvoiceObject  [1..1]  Reference to an existing customer invoice. 
Validation Description
This Invoice is not Cancelable.   
 
Validation Description
A Customer Invoice can't be canceled when one of its lines are tied to a Revenue Recognition Schedule.   
A Customer Invoice cannot be cancelled when it is linked to a Supplier Invoice that is not cancelled or denied.  A Customer Invoice cannot be cancelled when it is linked to a Supplier Invoice that is not cancelled or denied. 
You can't use web services to change documents with fields and line amounts reported in 1 or more tax declarations. Create an invoice adjustment if you want to add or change values reported in these tax declarations: [taxDeclaration].   
A Customer Invoice can't be canceled if it is part of a non-canceled Consolidated Invoice   
You can't cancel the customer invoice because you opted in to Prevent Changes to Invoice After Final Print for this company.   
top
 

Response Element: Cancel_Customer_Invoice_Response

Cancel Customer Invoice Response
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Customer_Invoice_Reference  Customer_InvoiceObject  [0..1]  Reference to an existing customer invoice.   
top
 

Customer_InvoiceObject

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

Customer_InvoiceObjectID

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

Customer_InvoiceReferenceEnumeration

part of: Customer_InvoiceObjectID
Base Type
string
top