add json decode in twig + change invoice parser