Using native Business Central ZUGFeRD generation with FORNAV reports

If you want to use the native Business Central ZUGFeRD generation together with Fornav reports, instead of the Fornav E-invoicing extension, you must add the attached code to an extension in your environment:

To get it to work, you must set up using ZUGFeRD in Business Central on a country version that supports the Microsoft ZUGFeRD extension. For example, use ZUGFeRD format for E-Documents in Germany | Microsoft Learn. 

Note that the XML is generated by the standard, and cannot be modified via our mapping logic.