Electronic invoicing between the Tunisian Order of Physicians and the Ministry of Finance: from the ethical narrative to technical mediation by artificial intelligence.

Dr Lamine Elhajji, interested in medical artificial intelligence and health economics, doctor at a regional health institution.

Important note: this present report on health and artificial intelligence is independent of political alignment, and I measure the files from a professional and technical angle and from the interest of the public service only.

The communiqué issued by the Tunisian Order of Physicians on 2 October 2026 is an institutional document of great significance, because it does not confine itself to rejecting the new tax orientations toward the digitization of invoicing, but builds a considered defensive position that combines law, ethics and professional interest. It is a position that reflects a deeper tension between the State’s will to widen tax transparency through digital tools and a strong professional sector that defends its historical particularity and its basic statute, and that uses in doing so the card of professional secrecy as an ethical and legal shield at once.

In the surface reading, the communiqué focuses strongly on the claim that electronic invoicing in its present form threatens professional secrecy and the protection of patients’ personal and medical data. Scrutiny, however, reveals that the Order is well aware that a mere rejection of invoicing may be interpreted by public opinion and the authorities as an attempt at tax evasion. It therefore worked to move the battle from the field of taxation and money to the field of ethics and of the patient’s rights, so that the doctors’ position was transformed from a sectoral defence of financial interests into a noble defence of the privacy of the medical relationship and of the sanctity of health data. This shift in the narrative is the first strategy in the communiqué.

The second strategy is the smart legal confrontation. Instead of attacking the Finance Law itself, that is, the will of the legislator and of the State, the Council directed its criticism at General Memorandum No. 02 of 2026, considering that it had gone beyond its interpretive role, widened the interpretation of the text, and imposed the measure on the non-commercial professions even though Article 53 of the Finance Law does not state that explicitly. This is a smart tactic: attacking the administration and the bureaucracy instead of attacking the law, which keeps the Order in the position of one who respects the law and defends its proper application.

The third strategy becomes clear in the implicit refusal and the provision of an institutional cover for a boycott. The phrase “maintains its reservations regarding the application of electronic invoicing until the legislative amendment is completed and the guarantees are provided” is a diplomatic formulation of a clear meaning: no immediate implementation. It is a message of reassurance to doctors that not joining the new system enjoys institutional legitimacy, and a message to the authority that the ball is now in Parliament’s court to amend the text before any coming step.

The fourth point comes as a defence of professional identity. The communiqué stresses that the medical profession is subject to a special regime of the non-commercial professions, based essentially on the fee note, and that the practice of medicine must not be of a commercial character. Here a deep fear of the commodification of medicine appears, for subjecting doctors to the same invoicing mechanisms to which traders and companies are subject is seen as an injury to the social standing of the profession and to its human nature. The Order therefore clings to the historical particularity of the fee note and refuses to equate the medical clinic with a purely commercial enterprise.

The fifth point is the policy of negotiation and the imposition of a fait accompli. The communiqué indicates that the Council took the initiative of contacting the executive and legislative authorities, and that efforts led to the tabling of a proposal to amend the legal text, whose completion the Council is still awaiting. This is a double signal: the first to the medical rank and file, that the Order is playing its role and is achieving a breakthrough in Parliament; the second to the authority, that the Order is a strong partner whose structure cannot be bypassed when drafting laws that affect the sector. Thus the communiqué imposes a freeze on the new tax measures against doctors until Parliament rules on the amendment.

A contrary critical reading, however, reveals logical and legal shortcomings in this position and opens the door to strong counter-narratives. There is a fallacy in automatically linking electronic invoicing to a violation of professional secrecy. Tax invoicing systems do not ask for the inclusion of the medical diagnosis or the type of illness; they are confined to purely financial data such as the doctor’s identity, tax identifier, the date of the consultation and the amount received. It can therefore be said that the Order uses professional secrecy as a scarecrow to stir patients and public opinion, and deliberately confuses the financial datum, which the State has the right to trace, with the medical datum, which is legally protected.

There is also a contradiction between the affirmation of respect for the law and for tax duties and the clinging to reservations until the legislation is amended. A body cannot legally announce respect for the law and then refuse to apply a measure in force, which may be read as an implicit call to tax disobedience from an official structure. A troubling absence of the administrative courts is also observed: if the interpretive memorandum went beyond the text as is claimed, the natural response is to file a case for excess of power and to request a stay of execution before the administrative court. Yet the communiqué mentioned no judicial recourse and confined itself to contacting the executive and legislative authorities, that is, to political pressure and negotiation, which may expose the weakness of the legal position, or at least a preference for bargaining over submitting the matter to the judge.

Alongside this, the argument “we are not traders”, as Dr Ghasham wrote it, does not exempt the profession from the rules of economic transparency. Electronic invoicing is merely a digital tool of documentation, and using it does not turn the doctor into a trader, but turns him into a tax-transparent citizen. Refusing to digitize the fee note may reflect a desire to keep an outdated financial system that cannot be traced, based on direct cash dealings without a digital trace, and the demand for “gradualness” is read, in Tunisian administrative and union custom, as a synonym for postponement to an indefinite date, as if it were a tactic to buy time and abort the path of tax digitization from its foundation.

Yet electronic invoicing, if applied within a flexible technical and legal framework, is not merely a burden on doctors, but an equal interest for the State, the doctor and the patient. For the State, electronic invoicing contributes to achieving tax justice, widening the tax base, and reducing financial concealment and fraudulent declarations, and it allows the automatic crossing of data among the tax administration, the social funds and the banks, which reduces the cost of field oversight and of legal disputes. It also strengthens the public treasury’s own resources and rationalizes the health-coverage system by tracing reimbursed medical acts with precision and limiting fictitious invoices.

For the doctors themselves, digital invoicing provides protection from flat-rate assessment and from excesses of oversight, because registered invoices constitute conclusive legal proof of the volume of actual income and expenses. It also modernizes the management of the clinic, reduces administrative burdens, speeds up expense-reimbursement procedures for patients and for the doctor, paves the way for the unified medical record and for telemedicine, and protects professional reputation and consolidates societal trust by refuting the common accusations of tax evasion.

Here artificial intelligence stands out as a compromise solution and a technical and legal bridge between the Ministry of Finance’s requirements for tax transparency and the Order of Physicians’ conditions for the protection of professional secrecy. A smart system can process the clinic’s data locally and separate financial data from medical data before sending the invoice, so that it sends only the tax identifier, the date of the consultation, the financial code of the medical act and the amount, while concealing any diagnostic code or disease detail. It can also convert the invoice into a digital fee note that preserves the ethical, non-commercial character of the profession, while protecting professional secrecy through zero-knowledge technology, which keeps medical data encrypted and processed inside the clinic, so that only abstract financial data go out to the ministry.

In this way a triple benefit is achieved: the State obtains immediate transparency and smart automatic crossing without complex field reviews; the doctor obtains automatic entry without administrative burdens, protection from flat-rate assessment, and smart financial management of the clinic; and the patient is reassured that their health data do not leak into any tax database, with a speeding-up of the recovery of their money from insurance or from CNAM. Thus artificial intelligence becomes a neutral, encrypted intermediary that enables the Order to agree to electronic invoicing while being reassured as to the integrity of professional secrecy, grants the State its right to tax transparency, and relieves the doctor and the patient of bureaucratic complications. The question remains: does the main obstacle to this solution lie in the technical side and in digital readiness, or in the parties’ trust in the legal and sovereign frameworks of the data?

The more likely view is that the technical obstacle is solvable by development and training, whereas the decisive obstacle is political and legal in the first place, because the success of any smart system depends on strict sovereign guarantees against the leakage of data, and on a genuine will on the part of both the State and the Order to move from the logic of tension to the logic of partnership in building a modern, fair tax system that preserves the patient’s secret, the doctor’s dignity and the State’s resources.

I hope that my report will not anger the Order of Physicians, and I have tried to be as neutral as possible, even though I am a doctor and worked for years in the private sector.