In France, we use the report 10821 "Export DEB DTI" to export the intrastat.
This report is actively using codeunit 10821 "Export DEB DTI" to create the XML file (https://github.com/StefanMaron/MSDyn365BC.Code.History/blob/fr-20/BaseApp/Source/Base%20Application/Intrastat/ExportDEBDTI.Codeunit.al).
Unfortunately, the codeunit cannot be extended (or duplicated) because it is entirely written with DotNet variable.
The events proposed in the codeunit could be sufficient for our needs, but we cannot use them because of the existence of .Net variable.
Could you make the codeunit extensible (without .Net variable but with native AL Xml variables) so we can extend this feature to comply with the current regulation?
Please note that the needs are industry specific requirements by customs. Not sure that it should be included in the Base App.
Business Central Team (administrator)