Hi, I have a requirement to implement the same customization in D365 for Natura Italy e-Invoicing into AX 2012 due to changes that has been made by Italy government.
(please refer below link for more info)
https://learn.microsoft.com/en-us/dynamics365/finance/localizations/emea-ita-e-invoices
Upon checking, I found out that Natura values displayed in the XML looks like getting from the xml engine (eSalesInvoice_IT_External.XSL) which is based on $TaxType = VAT Type in AX 2012.
Please refer below screenshot.
There is also one class called SIIRegisterFormat_IT in AX 2012 with getNatura() method. At first I thought the customer Invoice and proj Invoice eInvoices are populated from this class. But when I made a code change inside it in order to select the value that has been maintained in new customize Natura Form (similar with d365 dropdown in the link attached), the Natura values are still not updated to new values.
I put a debugger in SIIRegisterFormat_IT, but it doesn't pass thru that class during debugging process. It skipped which is I suspected the Natura value is not populated by that class mentioned or maybe there is other places/classes that I missed out to change.
Does anyone know or experience or familiar with the Italy e-Invoicing? can anyone please share how the data has been populated from the beginning before transform to xml ? Can anyone who experienced share how the AX 2012 pass all the values from AX to XML by using XML engine to transform it ?
Your help and kindness are really appreciated. Thanks in advance!