Hey,
thank you for your answer. I’m using the minimal template, but unfortunately your code is not working or i put it at the wrong place.
I put it in the body.php within this loop:
foreach ( $invoice->get_invoice_info() as $id => $info ) {
printf( '<span class="%1$s">%2$s %3$s</span>', esc_attr( $id ), esc_html( $info['title'] ), esc_html( $info['value'] ) );
echo esc_attr( $info_id );
echo '<br>';
}