Hospital chain clinic HIS direct connection to Leqi combined use, invoice issued upon payment | Kailing Technology Leqi combined use tax compliance solution
Hospital chain clinic HIS direct connection to Leqi combined use, invoice issued upon payment | Kailing Technology Leqi combined use tax compliance solution
At the cashier desks of chain clinics and private hospitals, the same thing is repeated every day: after the patient pays, they want an invoice, and the cashier enters it again in the invoicing software. The more stores there are, the harder this is to manage: invoicing standards differ across stores, drugs and treatment fees are not clearly split, and red-letter reversals are forgotten after refunds. Directly connecting the HIS charging system to invoicing capabilities so that patients receive an invoice upon payment is the direction chain medical institutions are pursuing. This article first clarifies the invoice boundaries of medical institutions, then explains the two paths and integration methods for chain clinics to directly connect HIS to Leqi and achieve payment-triggered invoicing, as well as the approach of the Kailing Technology Leqi joint use tax compliance solution.

▍1. First distinguish the documents: not all medical institutions issue invoices
What invoice a medical institution issues for charges depends on the nature of the institution. Non-profit medical institutions such as public hospitals generally issue electronic medical charge receipts for medical services, which are fiscal receipts rather than tax invoices; for-profit private hospitals and chain clinics issue tax invoices for medical services.
For VAT, medical services provided by medical institutions at prescribed prices are exempt from VAT, regardless of whether they are for-profit or non-profit; however, sales of drugs and consumables are goods sales and must be accounted for separately and taxed according to regulations. Therefore, a clinic's billing statement often contains both tax-exempt diagnostic and treatment items and taxable drugs and consumables.
This point determines all subsequent configurations. Before integration, chain clinics should confirm the institutional nature and registration type of each store one by one: for-profit stores issue tax invoices and handle tax-exempt and taxable items separately; if there are non-profit institutions, their medical charges follow the regulations on fiscal receipts and are not included in the scope of fully digitalized e-invoice issuance. Configuring them together easily leads to using the wrong invoice type.
▍2. Two paths: Leqi self-use and Leqi combined use
There are two common paths for chain clinics to connect to Leqi, depending on the relationship between stores and headquarters and the ownership of the charging system.

Two paths for chain clinics to connect to Leqi
Franchise stores, or clinics using third-party SaaS charging systems, generate transaction data in the platform system and are more suitable for Leqi Joint Use; groups with many directly operated stores and their own HIS can consider Leqi Self-Use. The specific path should be confirmed with the competent tax authority in light of store equity relationships and system ownership.
When choosing a path, also consider changes in stores. Chain clinics expand quickly, and new stores, franchised stores converting to direct-operated, and store closures are all common. In Leqi self-use mode, newly added controlled stores can be directly included by the group; in Leqi joint use mode, stores need to become user units after being invited by the direct connection unit. The processes for adding and removing stores differ between the two modes, and this process should be written into the management system at launch.
Whichever path is chosen, the connection method between HIS and invoicing capabilities is basically the same, and the work Kailing Technology is responsible for is also the same; the difference mainly lies in who provides the invoicing capability and in what capacity the store accesses it.
▍3. How HIS connects: data from charging to invoice
The forward link of HIS direct invoicing is: HIS or the charging system confirms successful payment and generates an invoicing order; the invoicing platform validates according to rules, marking diagnosis and treatment items as tax-exempt and drugs and consumables at applicable tax rates; it calls Leqi capabilities to issue the invoice; the result is written back to HIS, and patients view and download it via the official account, mini program, or self-service machine.
The reverse link is: HIS confirms the refund, the invoicing platform verifies the original invoice and the scope for red-letter reversal, initiates red-letter processing, and writes back the status of the original invoice and the red-letter invoice.

Chain clinic HIS direct connection invoicing process
The integration method is chosen according to the HIS architecture and can be API interfaces, intermediate tables or views, file exchange, and so on; only fields necessary for invoicing are transmitted, and sensitive patient information is handled according to the minimization principle.
At the field level, what HIS usually needs to provide includes: billing number, patient name or invoice title, billing item details and amounts, payment method and payment time, and store identifier; for refunds, provide the original billing number and refund details. Diagnostic information, medical record content, and the like are not required fields for invoicing and should not be passed to the invoicing platform.
For interface methods, groups with their own HIS can use API real-time push; stores using SaaS billing systems can have the system service provider push according to unified specifications; those that do not yet have interface conditions can first use intermediate tables for scheduled synchronization, and later transform them into real-time interfaces.
▍IV. Chain Management: One Set of Rules for Multiple Stores
The difficulty for chain clinics lies in unification. The Kailing Technology Leqi joint use tax compliance solution centrally configures the following content for shared use by all stores: mapping of charging items to product codes, with treatment, examination, drugs, and consumables corresponding separately; the invoicing entity of each store, with direct-operated and franchised stores separated; pre-invoicing validation rules, for example, tax-exempt items and taxable items cannot be mixed in one line.
Headquarters can view the invoicing ledger by store and by project, automatically reconcile it with the HIS charging ledger, and promptly handle missed or duplicate invoices. In the initial launch period, a manual confirmation step can be set up first, and automatic issuance can be enabled after it runs stably.
Day-to-day management after go-live mainly involves three types of work: adding code mappings when new charge items are introduced, configuring invoicing entities and store identifiers when new stores open, and monthly reconciliation of the invoicing ledger against the HIS charge ledger. All of these have corresponding entry points on the Kailing Technology platform and are maintained centrally by headquarters finance; store cashiers only need to collect charges as usual.
The patient-side experience is equally important. After payment, patients can view invoices on the official account, mini program or self-service kiosk, or print them at the payment window. Patients who need an enterprise title can simply fill in the unit name and tax ID when collecting the invoice, and the system issues it according to the information entered.
▍V. Compliance Essentials: Three Bottom Lines
- Correct invoice type: Medical charges of non-profit institutions follow fiscal receipt regulations and are not mixed with tax invoices.
- Clear item splitting: Medical services are tax-exempt, drugs and consumables are accounted for separately, and the treatment of combined charges such as orthodontics and implants should be confirmed with the competent tax authority.
- Authentic data: Invoicing data comes from actual charged transactions; refunds must be offset with red-letter invoices, and status is traceable.
Among these three bottom lines, the most error-prone is item splitting. A single dental treatment may include treatment, materials, and drugs at the same time; if it is charged as a package in the HIS, it must also be split into corresponding details when invoicing; where the splitting criteria are unclear, it is advisable to confirm with the competent tax authority in advance before configuring, to avoid issuing taxable items as tax-exempt items.
“ Once HIS is connected to invoicing, the charge slip is the basis for invoicing. |
▍FAQ
Q: Can public hospitals use Leqi to issue invoices?
A: Public hospitals providing medical services generally issue electronic medical charge receipts (fiscal receipts), which are a different system from tax fully digitalized e-invoices.
Q: Should a chain clinic choose Leqi self-use or combined use?
A: Those relying on a third-party charging platform and having no control relationship with the platform are suitable for combined use; those with their own headquarters HIS and controlled stores may consider self-use, subject to confirmation with the competent authority.
Q: How are diagnosis and treatment fees and drug fees invoiced?
A: Medical services are exempt from VAT; drugs and consumables are accounted for separately as goods, and the system automatically splits them by item mapping.
Q: How are patient refunds handled?
A: After HIS confirms the refund, the invoicing platform initiates red-letter processing based on the original invoice and writes the status back.
If a chain clinic wants to enable invoicing upon HIS payment, you are welcome to learn about the Kailing Technology Leqi joint use tax compliance solution: https://www.kailingteck.com/leqi-lianyong/ .
As a national high-tech enterprise, Kailing Technology focuses on the digital and intelligent transformation of enterprise business-finance-tax and operations management, providing software products, system integration, implementation and delivery, and operational services for various government agencies, institutions, group enterprises, and SMEs.
The company has now formed ten core product lines, including: AI digital employee system, enterprise expense control management system, customer relationship management system, reverse invoicing management system, invoice issuance for individuals management system, electronic archives management system, tax fully digitalized e-invoice Leqi system, tax invoice management system, group tax filing system, and AI OCR recognition system. It is committed to connecting enterprise business, finance, tax, funds, and archive data to help customers improve operational efficiency, business-finance-tax compliance capabilities, and digital management levels.
If you have any business-finance-tax digital transformation needs, welcome to contact us. Beijing Kailing Technology will serve you wholeheartedly.

Keywords: Clinic HIS invoicing, chain clinic payment-triggered invoicing, HIS direct connection to Leqi, hospital Leqi joint use, clinic fully digitalized e-invoice, Kailing Technology Leqi joint use tax compliance solution
As a comprehensive business-finance-tax digitalization solution service provider, Kailing Technology provides business-finance-tax management digital transformation products and operational services for various government agencies, institutions, and large, medium, and small enterprises. The product line includes: solutions for sales contract management system, procurement contract management system, fully digitalized Leqi interface project, automatic output invoicing system, reverse invoicing system, invoice issuance for individuals system, employee expense control and reimbursement system, input VAT invoice management system, supply chain collaborative reconciliation system, image AI OCR recognition system, automatic financial bookkeeping system, electronic accounting archives system, etc., comprehensively driving the digitalization process across various fields.
Consultation Hotline: 18513895936 / 010-60974119 Location: Beijing
