You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: stripe/_account.py
+19-1
Original file line number
Diff line number
Diff line change
@@ -184,6 +184,12 @@ class Capabilities(StripeObject):
184
184
"""
185
185
The status of the BECS Direct Debit (AU) payments capability of the account, or whether the account can directly process BECS Direct Debit (AU) charges.
186
186
"""
187
+
automatic_indirect_tax: Optional[
188
+
Literal["active", "inactive", "pending"]
189
+
]
190
+
"""
191
+
The status of the automatic_indirect_tax capability of the account.
@@ -2072,6 +2084,12 @@ class CreateParamsCapabilitiesAuBecsDebitPayments(TypedDict):
2072
2084
Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
@@ -673,6 +679,12 @@ class CreateParamsCapabilitiesAuBecsDebitPayments(TypedDict):
673
679
Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
@@ -2685,6 +2703,12 @@ class UpdateParamsCapabilitiesAuBecsDebitPayments(TypedDict):
2685
2703
Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
Copy file name to clipboardexpand all lines: stripe/_invoice.py
+14-5
Original file line number
Diff line number
Diff line change
@@ -148,6 +148,15 @@ class Liability(StripeObject):
148
148
Type of the account referenced.
149
149
"""
150
150
151
+
disabled_reason: Optional[
152
+
Literal[
153
+
"finalization_requires_location_inputs",
154
+
"finalization_system_error",
155
+
]
156
+
]
157
+
"""
158
+
If Stripe disabled automatic tax, this enum describes why.
159
+
"""
151
160
enabled: bool
152
161
"""
153
162
Whether Stripe automatically computes tax on this invoice. Note that incompatible invoice items (invoice items with manually specified [tax rates](https://stripe.com/docs/api/tax_rates), negative amounts, or `tax_behavior=unspecified`) cannot be added to automatic tax invoices.
@@ -3891,7 +3900,7 @@ class CreatePreviewParamsSubscriptionDetailsItem(TypedDict):
3891
3900
"""
3892
3901
clear_usage: NotRequired[bool]
3893
3902
"""
3894
-
Delete all usage for a given subscription item. Allowed only when `deleted` is set to `true` and the current plan's `usage_type` is `metered`.
3903
+
Delete all usage for a given subscription item. You must pass this when deleting a usage records subscription item. `clear_usage` has no effect if the plan has a billing meter attached.
3895
3904
"""
3896
3905
deleted: NotRequired[bool]
3897
3906
"""
@@ -6739,7 +6748,7 @@ class UpcomingLinesParamsSubscriptionDetailsItem(TypedDict):
6739
6748
"""
6740
6749
clear_usage: NotRequired[bool]
6741
6750
"""
6742
-
Delete all usage for a given subscription item. Allowed only when `deleted` is set to `true` and the current plan's `usage_type` is `metered`.
6751
+
Delete all usage for a given subscription item. You must pass this when deleting a usage records subscription item. `clear_usage` has no effect if the plan has a billing meter attached.
6743
6752
"""
6744
6753
deleted: NotRequired[bool]
6745
6754
"""
@@ -6895,7 +6904,7 @@ class UpcomingLinesParamsSubscriptionItem(TypedDict):
6895
6904
"""
6896
6905
clear_usage: NotRequired[bool]
6897
6906
"""
6898
-
Delete all usage for a given subscription item. Allowed only when `deleted` is set to `true` and the current plan's `usage_type` is `metered`.
6907
+
Delete all usage for a given subscription item. You must pass this when deleting a usage records subscription item. `clear_usage` has no effect if the plan has a billing meter attached.
6899
6908
"""
6900
6909
deleted: NotRequired[bool]
6901
6910
"""
@@ -8770,7 +8779,7 @@ class UpcomingParamsSubscriptionDetailsItem(TypedDict):
8770
8779
"""
8771
8780
clear_usage: NotRequired[bool]
8772
8781
"""
8773
-
Delete all usage for a given subscription item. Allowed only when `deleted` is set to `true` and the current plan's `usage_type` is `metered`.
8782
+
Delete all usage for a given subscription item. You must pass this when deleting a usage records subscription item. `clear_usage` has no effect if the plan has a billing meter attached.
8774
8783
"""
8775
8784
deleted: NotRequired[bool]
8776
8785
"""
@@ -8922,7 +8931,7 @@ class UpcomingParamsSubscriptionItem(TypedDict):
8922
8931
"""
8923
8932
clear_usage: NotRequired[bool]
8924
8933
"""
8925
-
Delete all usage for a given subscription item. Allowed only when `deleted` is set to `true` and the current plan's `usage_type` is `metered`.
8934
+
Delete all usage for a given subscription item. You must pass this when deleting a usage records subscription item. `clear_usage` has no effect if the plan has a billing meter attached.
Copy file name to clipboardexpand all lines: stripe/_invoice_service.py
+3-3
Original file line number
Diff line number
Diff line change
@@ -2776,7 +2776,7 @@ class CreatePreviewParamsSubscriptionDetailsItem(TypedDict):
2776
2776
"""
2777
2777
clear_usage: NotRequired[bool]
2778
2778
"""
2779
-
Delete all usage for a given subscription item. Allowed only when `deleted` is set to `true` and the current plan's `usage_type` is `metered`.
2779
+
Delete all usage for a given subscription item. You must pass this when deleting a usage records subscription item. `clear_usage` has no effect if the plan has a billing meter attached.
2780
2780
"""
2781
2781
deleted: NotRequired[bool]
2782
2782
"""
@@ -4853,7 +4853,7 @@ class UpcomingParamsSubscriptionDetailsItem(TypedDict):
4853
4853
"""
4854
4854
clear_usage: NotRequired[bool]
4855
4855
"""
4856
-
Delete all usage for a given subscription item. Allowed only when `deleted` is set to `true` and the current plan's `usage_type` is `metered`.
4856
+
Delete all usage for a given subscription item. You must pass this when deleting a usage records subscription item. `clear_usage` has no effect if the plan has a billing meter attached.
4857
4857
"""
4858
4858
deleted: NotRequired[bool]
4859
4859
"""
@@ -5003,7 +5003,7 @@ class UpcomingParamsSubscriptionItem(TypedDict):
5003
5003
"""
5004
5004
clear_usage: NotRequired[bool]
5005
5005
"""
5006
-
Delete all usage for a given subscription item. Allowed only when `deleted` is set to `true` and the current plan's `usage_type` is `metered`.
5006
+
Delete all usage for a given subscription item. You must pass this when deleting a usage records subscription item. `clear_usage` has no effect if the plan has a billing meter attached.
Copy file name to clipboardexpand all lines: stripe/_invoice_upcoming_lines_service.py
+2-2
Original file line number
Diff line number
Diff line change
@@ -1761,7 +1761,7 @@ class ListParamsSubscriptionDetailsItem(TypedDict):
1761
1761
"""
1762
1762
clear_usage: NotRequired[bool]
1763
1763
"""
1764
-
Delete all usage for a given subscription item. Allowed only when `deleted` is set to `true` and the current plan's `usage_type` is `metered`.
1764
+
Delete all usage for a given subscription item. You must pass this when deleting a usage records subscription item. `clear_usage` has no effect if the plan has a billing meter attached.
1765
1765
"""
1766
1766
deleted: NotRequired[bool]
1767
1767
"""
@@ -1911,7 +1911,7 @@ class ListParamsSubscriptionItem(TypedDict):
1911
1911
"""
1912
1912
clear_usage: NotRequired[bool]
1913
1913
"""
1914
-
Delete all usage for a given subscription item. Allowed only when `deleted` is set to `true` and the current plan's `usage_type` is `metered`.
1914
+
Delete all usage for a given subscription item. You must pass this when deleting a usage records subscription item. `clear_usage` has no effect if the plan has a billing meter attached.
0 commit comments