generalInvoiceRequest  -  the modules for
generating XML and/or paper based general invoices
generalInvoiceRequest
    API DocBrowser   ·  Revision history
    Download area
    FAQ
 
home
system
integrators
search the
site
 

validator
modules
invoice
modules
credit
modules
miscellaneous
modules
tools

  Design by TMR AG
  © by sumex1.net
 
 
General use of the generalInvoiceRequest ATL COM module

The generalInvoiceRequest module provides all the necessary tools to produce an invoice for all roles except physicians, hospital, and pharmacies. Firstly, an instance of the IGeneralInvoiceRequest interface is created by the method IGeneralInvoiceRequestManager:CreateGeneralInvoiceRequest. All the invoice related data and parameters can be set by the supplied interface methods as SetPatient, SetTreatment,...

Two auxiliary interfaces IAddress and ITarmedInput are available for setting address and tarmed related invoice data.

Please note that there is a context dependency in the generation of an invoice!
It is very important to add the service records (Tarmed, drug, lab,...) after all other invoice data e.g. addresses, treatment information has been set. If this ordering is not obeyed, some service parameters like the tax point values might not be correctly determined!

After all information is set by using the appropriate interface methods, there is the choice of either generating and printing a paper based invoice according to the standardized invoice form by using the IGeneralInvoiceRequestManager:Print method. Alternatively, a XML based invoice can be generated and thereafter stored inside a transport provider mailbox with the Store method. After all such XML invoices have been generated, the mailbox can be sent by using the Send method. If you are using your own communication module, then use the GetXmlContent method to retrieve the XML stream from the module.

 
To get a staring point with the generalInvoiceRequest module there is a Visual Basic code snippet provided that can be used for generating/printing an invoice.