Using Stripe Billing? If you process payments with Stripe, the grace period matches the billing period instead of a fixed length, and Stripe decides when each retry happens. For more details, see Stripe reporting.
We have a revenue schedule for a paid subscription (for example, Mar 10–Apr 10) that is immutable; revenue is recognized only across that period. Less is recognized only when a refund is issued.
If a subscription enters a grace period (Apr 10–May 5) after a renewal payment failure, no payment occurs, so no revenue is recognized, and no amount is taken back.
More information about the Revenue recognition reports is available here.