How to best make...

The following list describes the easiest way to generate e.g. a reminder or storno request given that the initial invoice was successfully produced and the none-encrypted XML infoset invoiceXML was archived on a local disk

copy of an invoice
This can be accomplished by calling the following 4 methods:
  1. IGeneralInvoiceRequestManager::LoadXML using invoiceXML as input file
  2. IGeneralInvoiceResult::GetRequest to retrieve the parameters
  3. IGeneralInvoiceRequest::SetRequest with eIsCopy=enYes
  4. IGeneralInvoiceRequestManager::GetXML
storno of an invoice
This can be accomplished by calling the following 4 methods:
  1. IGeneralInvoiceRequestManager::LoadXML using invoiceXML as input file
  2. IGeneralInvoiceResult::GetRequest to retrieve the parameters
  3. IGeneralInvoiceRequest::SetRequest with eIsStorno=enYes
  4. IGeneralInvoiceRequestManager::GetXML
create reminder
This can be accomplished by calling the following 3 methods:
  1. IGeneralInvoiceRequestManager::LoadXML using invoiceXML as input file
  2. IGeneralInvoiceRequest::SetReminder using lRequestTimestamp=0
  3. IGeneralInvoiceRequestManager::GetXML - store as reminderXML and possibly lRequestTimestamp
copy of a reminder
This can be accomplished by calling the following 4 methods:
  1. IGeneralInvoiceRequestManager::LoadXML using reminderXML as input file
  2. IGeneralInvoiceResult::GetRequest to retrieve the parameters
  3. IGeneralInvoiceRequest::SetRequest with eIsCopy=enYes
  4. IGeneralInvoiceRequestManager::GetXML
storno of a reminder
This can be accomplished by calling the following 5 methods.
Note that this shows an alternative way of using invoiceXML and lRequestTimestamp instead of reminderXML.
  1. IGeneralInvoiceRequestManager::LoadXML using invoiceXML as input file
  2. IGeneralInvoiceResult::GetRequest to retrieve the parameters
  3. IGeneralInvoiceRequest::SetReminder using the stored lRequestTimestamp
  4. IGeneralInvoiceRequest::SetRequest with eIsStorno=enYes
  5. IGeneralInvoiceRequestManager::GetXML