Fix facture generation.