Is there a way to get the period an AppSubscriptionSale covers? It has a “createdAt” field, but that doesn’t necessarily correspond to the period the charge is for. For example, if a card was declined the createdAt date might fall outside of the period.
This is necessary for us to recognize revenue in the correct month in an external system we are syncing this data to.