How do you attribute Refunds?

We attribute Refunds to the date of refund (in the month), not to the date of the order/original purchase.

We are limited on what we get from the Shopify API.