fattura electronica
https://fattura-elettronica-api.it/guida2.0/#ricezione_webhook
As visible here: https://fattura-elettronica-api.it/guida2.0/#approfondimenti_datifattura
mandatory elements are the underlined elements.
However, mandatory elements are mandatory only if the parent element is inserted into the structure.
In this example, “CodiceTipo” and “CodiceValore” are mandatory only if you add “CodiceArticolo” element to the structure. “CodiceArticolo” is not underlined, so it is not mandatory to add “CodiceArticolo”.