XML invoice generator instead of PDF

Hi friends,

as you already know, there is an option in Dolibarr which provides you to generate an invoice in PDF format.
I’m interested in creating a function which let you generate a XML file with the invoice data, maybe changing the PHP file located in modules directory (pdf_crabe.modules.php).

Any suggestion? How could I get the invoice information to save them in variables in php code?

Thank you so much.

Hi ttortosa, do you find solution yet to create xml from invoice?