The ATL COM module generalInvoiceRequest is capable of
generating electronic and printed invoices & reminders
generating electronic and printed invoices & reminders
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 XML infoset invoiceXML was archived on a local disk.

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 XML infoset invoiceXML was archived on a local disk.
copy of an invoice |
This can be accomplished by calling the following 4 methods:
- IGeneralInvoiceRequestManager::LoadXML using invoiceXML as input file
- IGeneralInvoiceResult::GetRequest to retrieve the parameters
- IGeneralInvoiceRequest::SetRequest with eRequestSubtype=enRequestSubtypeCopy
- IGeneralInvoiceRequestManager::GetXML
storno of an invoice |
This can be accomplished by calling the following 5 methods:
- IGeneralInvoiceRequestManager::LoadXML using invoiceXML as input file
- IGeneralInvoiceResult::GetRequest to retrieve the parameters
- IGeneralInvoiceRequest::SetRequest with eRequestSubtype=enRequestSubtypeStorno
- Possibly IGeneralInvoiceRequest::SetTransport with bstrToGLN='noRecipientGLN'
- IGeneralInvoiceRequestManager::GetXML
refund of a invoice (TP only) |
This can be accomplished by calling the following 4 methods:
- IGeneralInvoiceRequestManager::LoadXML using invoiceXML as input file
- IGeneralInvoiceResult::GetRequest to retrieve the parameters
- IGeneralInvoiceRequest::SetRequest with eRequestSubtype=enRequestSubtypeRefund
and defining the variable bstrRefundList="ID1, ID2,..." - IGeneralInvoiceRequestManager::GetXML
create a reminder |
This can be accomplished by calling the following 3 methods:
- IGeneralInvoiceRequestManager::LoadXML using invoiceXML as input file
- IGeneralInvoiceRequest::SetReminder using lRequestTimestamp=0
- IGeneralInvoiceRequestManager::GetXML - store as reminderXML and possibly lRequestTimestamp
Claiming deductible/franchise |
This can be accomplished by calling the following 3 methods:
- IGeneralInvoiceRequestManager::LoadXML using reminderXML as input file
- IGeneralInvoiceRequest::SetTiers with eTiersMode=enTiersGarant
and dAmountPrepaid= -'amount already paid' (negative amount!!) - IGeneralInvoiceRequestManager::GetXML or IGeneralInvoiceRequestManager::Print