Solution : https://service.sap.com/sap/support/notes/1365961 (SAP Service marketplace login required)
Key words : 
type optional-------------------------------------------------------iv_vkorg type vkorg xplease note, multiple billing document types maintained, function moduleidmx_di_check_invoicparameter type spec, single fi document type, additional import parameter ei_blgar, badi method badi_sd_odn_dclass~change_docclass, fi document type, billing document type, prerequisites prerequisite note, official document numbering
Related Notes : 
       
| 1395923 | BADI Change to incorporate Net Amount(VBRK-NETWR) for Mexico | 
| 1372605 | Digital Invoice Mexico: Validation of the XML file fails | 
| 1301160 | ODN enabled in SD and FI for Mexico for digital invoicing |