[GNC-dev] xml for Romanian e-invoice

John Ralls jralls at ceridwen.us
Wed Jan 10 16:28:50 EST 2024



> On Jan 10, 2024, at 12:50 PM, Mihai DEMIAN <mihai.demian at easyea.ro> wrote:
> 
> Hello,
> 
> My name is Mihai Demian, I am Romanian and I am one of many who has to implement the e-invoice system within six months.
> I tried to look at the sources for GC but I did not make any sense of most of it. Although I am reading some books and trying to learn C programming, I did not make it past the textbook exercises....
> Starting January 1st, the Romanian government decided to change the law so that any invoice issued by any Romanian company has to send an xml invoice to the IRS-equivalent entity (ANAF). I found some examples that i attached. Unfortunately, those also don't make much sense.
> There is a way of generating the xmls that I have to try here: https://www.anaf.ro/CompletareFacturaInitial/faces/factura/informatiigenerale.xhtml and technical information here: https://mfinante.gov.ro/ro/web/efactura/informatii-tehnice.
> Do you know if there is the possibility of generating this kind of xml files from GC already?
> If not, how hard would it be implement such a system?
> How can I help?

It would be hard for a beginner programmer but not too hard for somebody who already knows Scheme (not C for this) and is familiar with https://www.gnu.org/software/guile/manual/html_node/Reading-and-Writing-XML.html. The implementor will also have to be fluent in Romanian in order to understand the specifications. I think that rules out anyone on the GnuCash team. You'll need to recruit someone to write and maintain it for you.

This sort of national specialization is generally out of scope for GnuCash so don't plan on contributing it.

Regards,
John Ralls



More information about the gnucash-devel mailing list