Send electronic billing of services to insurances
Explanation
Invoices for insurances can be generated in an electronical format, actually a XML based upon the standard of the Swiss Health Care System www.forum-datenaustausch.ch. It needs an official transporter like Swisscom HealthCare or MediData.
Setup
To ensure a correct XML-formatting, some mandatory values must be set:
GLN: enter the GLN of the institution- Link the institution to the correct transporter connection. If not defined, it take the one in the setup.
Rate Cipher: select the correct cipher valueTariff code: will be filled out automatically
Customer (insurances)
GLN: enter the GLN of the participant (insurance)GLN Receiver: enter the GLN for the Receiver (insurance destination)Electronic Format: chose the desired formatUse GLN in Electronic: flag to TRUETerritory code: enter the canton where the insurance resides
Contact (beneficiary contact)
Territory code: enter the canton where the beneficiary should be invoiced
optional:
Customer card (beneficiaries)
- In addressbook, specify the
Police Nofor the main insurance
The payment method code must be configured on the customer. It must have a bank selected to have a complete bank address with post code and city. The bank information available in the Company Information is not precise enough.
Send invoices
All invoices in the defined period for customers with an unempty Electronic Format field will be sent. Everything about the sending of electronic invoices happens in one single journal page, use Tell Me and enter XML Invoice Journal, or on the main menu, under Interface | Export | Electronic Invoice.
You can start the process manually using the Action menu under XML Invoice Journal and Generate XML. The correct sequence is the following:
To determine wether an invoice will be printed or not, several parameters are relevant. On the Institution the VCR code and its flag Electronic Payment enabled. On the customer of the invoice: when the customer if flagged Electronic payment enabled, the system will ask for a print confirmation. When printing using MassPrinting, you can define before printing, whether to get all electronic documents on paper or none.
Learn more about it
to learn more about it, and especially about the file structure, see here.
Process synoptic
Answer Status can be:
- ok
- rejected
- 0 (empty)
Status can be:
- to send
- sent
- processing
- ok
- error
You can run thoses tasks for one entry or for all entries.
Some scheduler or Job Queue should be setuped in order to have this automatically working in background.