Could you try this version ?
//export coupons as Products
add_filter('woe_fetch_order_products', function ($products,$order,$labels, $format, $static_vals) {
$i = count ($products);
foreach ( $order->get_items('coupon') as $item_id=>$item ) {
$row = array();
$i++;
foreach ( $labels as $field => $label ) {
if ( $field == 'line_id' ) {
$row[ $field ] = $i;
} elseif ( $field == 'sku' ) {
$row[ $field ] = $item->get_code();
} elseif ( $field == 'name' ) {
$row['name'] = $item->get_name();
} elseif ( $field == 'qty' ) {
$row['qty'] = 1;
} elseif ( $field == 'item_price' ) {
$row['item_price'] = $item->get_discount();
} elseif ( $field == 'line_tax' ) {
$row['line_tax'] = $item->get_discount_tax();
} elseif ( $field == 'price' ) {
$row['item_price'] = $item->get_discount();
} elseif ( isset( $static_vals[ $field ] ) ) {
$row[ $field ] = $static_vals[ $field ];
}
}
$products[] = $row;
}
return $products;
}, 10, 5);