CreditInvoice should be used when the full order is returned since it credits the complete invoice. 

This method is available in the following countries:  
   
Input Parameters:

Field nillable Max Type Description
Username false 50 string The username used to authorize the request.
Password false 50 string The password used to authorize the request.
StoreId true 4 short The StoreId used for identification of store.
CorrelationId true 50 string CorrelationID is sent back in the response.
CountryCode false 2 string The country code (ISO 3166-1 alpha-2) for the country.
InvoiceNo false 50 string The InvoiceNo previously returned in AddInvoice.
CreditDate false - datetime The date of the return.

 

Output Parameters:

Field nillable Max Type Description
CorrelationId true 50 string CorrelationId from the request if any.