Skip to content

Commit

Permalink
Update OpenAPI specification
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Aug 28, 2023
1 parent cd3d9c1 commit 24b3948
Show file tree
Hide file tree
Showing 6 changed files with 84 additions and 48 deletions.
4 changes: 2 additions & 2 deletions openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -15397,7 +15397,7 @@
"$ref": "#/components/schemas/automatic_tax"
},
"billing_reason": {
"description": "Indicates the reason why the invoice was created. `subscription_cycle` indicates an invoice created by a subscription advancing into a new period. `subscription_create` indicates an invoice created due to creating a subscription. `subscription_update` indicates an invoice created due to updating a subscription. `subscription` is set for all old invoices to indicate either a change to a subscription or a period advancement. `manual` is set for all invoices unrelated to a subscription (for example: created via the invoice editor). The `upcoming` value is reserved for simulated invoices per the upcoming invoice endpoint. `subscription_threshold` indicates an invoice created due to a billing threshold being reached.",
"description": "Indicates the reason why the invoice was created.\n\n* `manual`: Unrelated to a subscription, for example, created via the invoice editor.\n* `subscription`: No longer in use. Applies to subscriptions from before May 2018 where no distinction was made between updates, cycles, and thresholds.\n* `subscription_create`: A new subscription was created.\n* `subscription_cycle`: A subscription advanced into a new period.\n* `subscription_threshold`: A subscription reached a billing threshold.\n* `subscription_update`: A subscription was updated.\n* `upcoming`: Reserved for simulated invoices, per the upcoming invoice endpoint.",
"enum": [
"automatic_pending_invoice_item_invoice",
"manual",
Expand Down Expand Up @@ -40646,7 +40646,7 @@
"$ref": "#/components/schemas/automatic_tax"
},
"billing_reason": {
"description": "Indicates the reason why the invoice was created. `subscription_cycle` indicates an invoice created by a subscription advancing into a new period. `subscription_create` indicates an invoice created due to creating a subscription. `subscription_update` indicates an invoice created due to updating a subscription. `subscription` is set for all old invoices to indicate either a change to a subscription or a period advancement. `manual` is set for all invoices unrelated to a subscription (for example: created via the invoice editor). The `upcoming` value is reserved for simulated invoices per the upcoming invoice endpoint. `subscription_threshold` indicates an invoice created due to a billing threshold being reached.",
"description": "Indicates the reason why the invoice was created.\n\n* `manual`: Unrelated to a subscription, for example, created via the invoice editor.\n* `subscription`: No longer in use. Applies to subscriptions from before May 2018 where no distinction was made between updates, cycles, and thresholds.\n* `subscription_create`: A new subscription was created.\n* `subscription_cycle`: A subscription advanced into a new period.\n* `subscription_threshold`: A subscription reached a billing threshold.\n* `subscription_update`: A subscription was updated.\n* `upcoming`: Reserved for simulated invoices, per the upcoming invoice endpoint.",
"enum": [
"automatic_pending_invoice_item_invoice",
"manual",
Expand Down
62 changes: 40 additions & 22 deletions openapi/spec3.beta.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14418,17 +14418,26 @@ components:
billing_reason:
description: >-
Indicates the reason why the invoice was created.
`subscription_cycle` indicates an invoice created by a subscription
advancing into a new period. `subscription_create` indicates an
invoice created due to creating a subscription.
`subscription_update` indicates an invoice created due to updating a
subscription. `subscription` is set for all old invoices to indicate
either a change to a subscription or a period advancement. `manual`
is set for all invoices unrelated to a subscription (for example:
created via the invoice editor). The `upcoming` value is reserved
for simulated invoices per the upcoming invoice endpoint.
`subscription_threshold` indicates an invoice created due to a
billing threshold being reached.


* `manual`: Unrelated to a subscription, for example, created via
the invoice editor.

* `subscription`: No longer in use. Applies to subscriptions from
before May 2018 where no distinction was made between updates,
cycles, and thresholds.

* `subscription_create`: A new subscription was created.

* `subscription_cycle`: A subscription advanced into a new period.

* `subscription_threshold`: A subscription reached a billing
threshold.

* `subscription_update`: A subscription was updated.

* `upcoming`: Reserved for simulated invoices, per the upcoming
invoice endpoint.
enum:
- automatic_pending_invoice_item_invoice
- manual
Expand Down Expand Up @@ -37395,17 +37404,26 @@ components:
billing_reason:
description: >-
Indicates the reason why the invoice was created.
`subscription_cycle` indicates an invoice created by a subscription
advancing into a new period. `subscription_create` indicates an
invoice created due to creating a subscription.
`subscription_update` indicates an invoice created due to updating a
subscription. `subscription` is set for all old invoices to indicate
either a change to a subscription or a period advancement. `manual`
is set for all invoices unrelated to a subscription (for example:
created via the invoice editor). The `upcoming` value is reserved
for simulated invoices per the upcoming invoice endpoint.
`subscription_threshold` indicates an invoice created due to a
billing threshold being reached.


* `manual`: Unrelated to a subscription, for example, created via
the invoice editor.

* `subscription`: No longer in use. Applies to subscriptions from
before May 2018 where no distinction was made between updates,
cycles, and thresholds.

* `subscription_create`: A new subscription was created.

* `subscription_cycle`: A subscription advanced into a new period.

* `subscription_threshold`: A subscription reached a billing
threshold.

* `subscription_update`: A subscription was updated.

* `upcoming`: Reserved for simulated invoices, per the upcoming
invoice endpoint.
enum:
- automatic_pending_invoice_item_invoice
- manual
Expand Down
2 changes: 1 addition & 1 deletion openapi/spec3.json
Original file line number Diff line number Diff line change
Expand Up @@ -11195,7 +11195,7 @@
"$ref": "#/components/schemas/automatic_tax"
},
"billing_reason": {
"description": "Indicates the reason why the invoice was created. `subscription_cycle` indicates an invoice created by a subscription advancing into a new period. `subscription_create` indicates an invoice created due to creating a subscription. `subscription_update` indicates an invoice created due to updating a subscription. `subscription` is set for all old invoices to indicate either a change to a subscription or a period advancement. `manual` is set for all invoices unrelated to a subscription (for example: created via the invoice editor). The `upcoming` value is reserved for simulated invoices per the upcoming invoice endpoint. `subscription_threshold` indicates an invoice created due to a billing threshold being reached.",
"description": "Indicates the reason why the invoice was created.\n\n* `manual`: Unrelated to a subscription, for example, created via the invoice editor.\n* `subscription`: No longer in use. Applies to subscriptions from before May 2018 where no distinction was made between updates, cycles, and thresholds.\n* `subscription_create`: A new subscription was created.\n* `subscription_cycle`: A subscription advanced into a new period.\n* `subscription_threshold`: A subscription reached a billing threshold.\n* `subscription_update`: A subscription was updated.\n* `upcoming`: Reserved for simulated invoices, per the upcoming invoice endpoint.",
"enum": [
"automatic_pending_invoice_item_invoice",
"manual",
Expand Down
2 changes: 1 addition & 1 deletion openapi/spec3.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -13646,7 +13646,7 @@
"$ref": "#/components/schemas/automatic_tax"
},
"billing_reason": {
"description": "Indicates the reason why the invoice was created. `subscription_cycle` indicates an invoice created by a subscription advancing into a new period. `subscription_create` indicates an invoice created due to creating a subscription. `subscription_update` indicates an invoice created due to updating a subscription. `subscription` is set for all old invoices to indicate either a change to a subscription or a period advancement. `manual` is set for all invoices unrelated to a subscription (for example: created via the invoice editor). The `upcoming` value is reserved for simulated invoices per the upcoming invoice endpoint. `subscription_threshold` indicates an invoice created due to a billing threshold being reached.",
"description": "Indicates the reason why the invoice was created.\n\n* `manual`: Unrelated to a subscription, for example, created via the invoice editor.\n* `subscription`: No longer in use. Applies to subscriptions from before May 2018 where no distinction was made between updates, cycles, and thresholds.\n* `subscription_create`: A new subscription was created.\n* `subscription_cycle`: A subscription advanced into a new period.\n* `subscription_threshold`: A subscription reached a billing threshold.\n* `subscription_update`: A subscription was updated.\n* `upcoming`: Reserved for simulated invoices, per the upcoming invoice endpoint.",
"enum": [
"automatic_pending_invoice_item_invoice",
"manual",
Expand Down
31 changes: 20 additions & 11 deletions openapi/spec3.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12799,17 +12799,26 @@ components:
billing_reason:
description: >-
Indicates the reason why the invoice was created.
`subscription_cycle` indicates an invoice created by a subscription
advancing into a new period. `subscription_create` indicates an
invoice created due to creating a subscription.
`subscription_update` indicates an invoice created due to updating a
subscription. `subscription` is set for all old invoices to indicate
either a change to a subscription or a period advancement. `manual`
is set for all invoices unrelated to a subscription (for example:
created via the invoice editor). The `upcoming` value is reserved
for simulated invoices per the upcoming invoice endpoint.
`subscription_threshold` indicates an invoice created due to a
billing threshold being reached.


* `manual`: Unrelated to a subscription, for example, created via
the invoice editor.

* `subscription`: No longer in use. Applies to subscriptions from
before May 2018 where no distinction was made between updates,
cycles, and thresholds.

* `subscription_create`: A new subscription was created.

* `subscription_cycle`: A subscription advanced into a new period.

* `subscription_threshold`: A subscription reached a billing
threshold.

* `subscription_update`: A subscription was updated.

* `upcoming`: Reserved for simulated invoices, per the upcoming
invoice endpoint.
enum:
- automatic_pending_invoice_item_invoice
- manual
Expand Down
31 changes: 20 additions & 11 deletions openapi/spec3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10854,17 +10854,26 @@ components:
billing_reason:
description: >-
Indicates the reason why the invoice was created.
`subscription_cycle` indicates an invoice created by a subscription
advancing into a new period. `subscription_create` indicates an
invoice created due to creating a subscription.
`subscription_update` indicates an invoice created due to updating a
subscription. `subscription` is set for all old invoices to indicate
either a change to a subscription or a period advancement. `manual`
is set for all invoices unrelated to a subscription (for example:
created via the invoice editor). The `upcoming` value is reserved
for simulated invoices per the upcoming invoice endpoint.
`subscription_threshold` indicates an invoice created due to a
billing threshold being reached.


* `manual`: Unrelated to a subscription, for example, created via
the invoice editor.

* `subscription`: No longer in use. Applies to subscriptions from
before May 2018 where no distinction was made between updates,
cycles, and thresholds.

* `subscription_create`: A new subscription was created.

* `subscription_cycle`: A subscription advanced into a new period.

* `subscription_threshold`: A subscription reached a billing
threshold.

* `subscription_update`: A subscription was updated.

* `upcoming`: Reserved for simulated invoices, per the upcoming
invoice endpoint.
enum:
- automatic_pending_invoice_item_invoice
- manual
Expand Down

0 comments on commit 24b3948

Please sign in to comment.