This class takes an invoice ID as a parameter and creates an inverse invoice with the exact amounts only negative instead of positive to account to credit notes that EU tax laws require. Something similar to the following XML should be passed to dispatchMBAPI() when you want to call the ProcessCreditNote command:
<mbapi> <command><!-- None --></command> <showXMLHeader><!-- None --></showXMLHeader> <params> <invoiceID><!-- None --></invoiceID> </params> </mbapi>
None
mbapi
command
showXMLHeader
params
invoiceID