From 653e4ce0e4511832f34020729e4880602071ecbc Mon Sep 17 00:00:00 2001 From: Sergey Telegin Date: Sat, 11 Feb 2023 02:53:47 +0400 Subject: [PATCH] subscription_proration_date not always presented in Invoice (#1236) --- lib/Invoice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Invoice.php b/lib/Invoice.php index eb5aa469b..3d1d90d6d 100644 --- a/lib/Invoice.php +++ b/lib/Invoice.php @@ -108,7 +108,7 @@ * @property null|string $status The status of the invoice, one of draft, open, paid, uncollectible, or void. Learn more * @property \Stripe\StripeObject $status_transitions * @property null|string|\Stripe\Subscription $subscription The subscription that this invoice was prepared for, if any. - * @property int $subscription_proration_date Only set for upcoming invoices that preview prorations. The time used to calculate prorations. + * @property null|int $subscription_proration_date Only set for upcoming invoices that preview prorations. The time used to calculate prorations. * @property int $subtotal Total of all subscriptions, invoice items, and prorations on the invoice before any invoice level discount or exclusive tax is applied. Item discounts are already incorporated * @property null|int $subtotal_excluding_tax The integer amount in %s representing the subtotal of the invoice before any invoice level discount or tax is applied. Item discounts are already incorporated * @property null|int $tax The amount of tax on this invoice. This is the sum of all the tax amounts on this invoice.