What liquid object to use for the line_items that has been refunded?

Hi, by any chance does anyone know what liquid object to use for the line_items that has been refunded?

I can’t find in the documentation https://shopify.dev/docs/api/liquid/objects/line_item

But according to google, chatgpt and even shopify chat bot, I could use this but it is not working.

{% assign all_line_items = order.line_items | concat: refunded_line_items | uniq %}
{% for line_item in all_line_items %}
  <!-- display line item details here -->
{% endfor %}

This also seems to be not working :face_holding_back_tears:

{% for refund in order.refunds %}
  {% for refund_line_item in refund.refund_line_items %}
    {% assign refunded_item = refund_line_item.line_item %}
    <p>{{ refunded_item.title }} - Refunded Qty: {{ refund_line_item.quantity }}</p>
  {% endfor %}
{% endfor %}

So maybe anyone have tried and accessed it before? Thank you so much

PS: I am working on Receipt customization but it is using the same liquid objects

Hey @Dayana-shopify :waving_hand:

Liquid doesn’t have a direct refunded_line_items object, but in our merchant-facing community forum we do have an old thread here that may help.

Let me know if I can clarify anything more on our end here - hope this helps!