Solution : https://service.sap.com/sap/support/notes/1372605 (SAP Service marketplace login required)
Key words : 
billing document data include subsequent space characters, terms digital invoice mexicodigital signatureverifycorruptinvalidtextxmlhashidmx reason, statement condense removes subsequent space characters, subsequent space characters, consequence billing data, closing space characters, master data / text, created digital invoices, invalid digital signature, prerequisites program error
Related Notes : 
       
| 1370439 | Customer and company name length in the digital invoice | 
| 1365961 | BADI Change to incorporate Billing type for Mexico | 
| 1365263 | Free of charge items in digital invoices | 
| 1345671 | Tax data with zero base amount in the original input message |