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
# @param auto_collection [Boolean, nil] Determines whether this invoice will automatically attempt to charge a saved pay
108
+
#
99
109
# @param customer_id [String, nil] The id of the `Customer` to create this invoice for. One of `customer_id` and `e
100
110
#
101
111
# @param discount [Orb::Models::PercentageDiscount, Orb::Models::TrialDiscount, Orb::Models::UsageDiscount, Orb::Models::AmountDiscount, nil] An optional discount to attach to the invoice.
# @param auto_collection [Boolean, nil] Determines whether this invoice will automatically attempt to charge a saved pay
25
+
#
24
26
# @param customer_id [String, nil] The id of the `Customer` to create this invoice for. One of `customer_id` and `e
25
27
#
26
28
# @param discount [Orb::Models::PercentageDiscount, Orb::Models::TrialDiscount, Orb::Models::UsageDiscount, Orb::Models::AmountDiscount, nil] An optional discount to attach to the invoice.
@@ -50,18 +52,21 @@ def create(params)
50
52
# Some parameter documentations has been truncated, see
51
53
# {Orb::Models::InvoiceUpdateParams} for more details.
52
54
#
53
-
# This endpoint allows you to update the `metadata`, `net_terms`, `due_date`, and
54
-
# `invoice_date`properties on an invoice. If you pass null for the metadata
55
-
# value, it will clear any existing metadata for that invoice.
55
+
# This endpoint allows you to update the `metadata`, `net_terms`, `due_date`,
56
+
# `invoice_date`, and `auto_collection` properties on an invoice. If you pass null
57
+
# for the metadata value, it will clear any existing metadata for that invoice.
56
58
#
57
59
# `metadata` can be modified regardless of invoice state. `net_terms`, `due_date`,
58
-
# and `invoice_date` can only be modified if the invoice is in a `draft` state.
59
-
# `invoice_date` can only be modified for non-subscription invoices.
60
+
# `invoice_date`, and `auto_collection` can only be modified if the invoice is in
61
+
# a `draft` state. `invoice_date` can only be modified for non-subscription
0 commit comments