toXml
Builds the CrossIndustryInvoice XML for this invoice, declaring the Factur-X MINIMUM profile (urn:factur-x.eu:1p0:minimum).
The result is a self-contained UTF-8 XML string with the four namespaces the MINIMUM profile uses (rsm, ram, qdt, udt) and every value escaped for XML text content. It is suitable for embedding verbatim as factur-x.xml.
Only MINIMUM-profile elements are emitted; there are no line items. See the FacturXInvoice class KDoc for the validation caveat.