Skip to content

Commit db9560e

Browse files
OpenAPI Update (#1213)
Update OpenAPI for 239ff3d46d4bd201cc8ee37d9f477b79bff571e9 Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
1 parent a5ea1c1 commit db9560e

File tree

1 file changed

+2
-106
lines changed

1 file changed

+2
-106
lines changed

embedded/openapi/spec3.beta.sdk.json

+2-106
Original file line numberDiff line numberDiff line change
@@ -15110,11 +15110,6 @@
1511015110
"description": "The integer amount in cents (or local equivalent) representing the gross amount being credited for this line item, excluding (exclusive) tax and discounts.",
1511115111
"type": "integer"
1511215112
},
15113-
"amount_excluding_tax": {
15114-
"description": "The integer amount in cents (or local equivalent) representing the amount being credited for this line item, excluding all tax and discounts.",
15115-
"nullable": true,
15116-
"type": "integer"
15117-
},
1511815113
"description": {
1511915114
"description": "Description of the item being credited.",
1512015115
"maxLength": 5000,
@@ -15165,13 +15160,6 @@
1516515160
"nullable": true,
1516615161
"type": "integer"
1516715162
},
15168-
"tax_amounts": {
15169-
"description": "The amount of tax calculated per tax rate for this line item",
15170-
"items": {
15171-
"$ref": "#/components/schemas/credit_note_tax_amount"
15172-
},
15173-
"type": "array"
15174-
},
1517515163
"tax_rates": {
1517615164
"description": "The tax rates which apply to the line item.",
1517715165
"items": {
@@ -15197,17 +15185,10 @@
1519715185
"format": "decimal",
1519815186
"nullable": true,
1519915187
"type": "string"
15200-
},
15201-
"unit_amount_excluding_tax": {
15202-
"description": "The amount in cents (or local equivalent) representing the unit amount being credited for this line item, excluding all tax and discounts.",
15203-
"format": "decimal",
15204-
"nullable": true,
15205-
"type": "string"
1520615188
}
1520715189
},
1520815190
"required": [
1520915191
"amount",
15210-
"amount_excluding_tax",
1521115192
"description",
1521215193
"discount_amount",
1521315194
"discount_amounts",
@@ -15216,25 +15197,21 @@
1521615197
"object",
1521715198
"pretax_credit_amounts",
1521815199
"quantity",
15219-
"tax_amounts",
1522015200
"tax_rates",
1522115201
"type",
1522215202
"unit_amount",
15223-
"unit_amount_decimal",
15224-
"unit_amount_excluding_tax"
15203+
"unit_amount_decimal"
1522515204
],
1522615205
"title": "CreditNoteLineItem",
1522715206
"type": "object",
1522815207
"x-expandableFields": [
1522915208
"discount_amounts",
1523015209
"pretax_credit_amounts",
15231-
"tax_amounts",
1523215210
"tax_rates"
1523315211
],
1523415212
"x-resourceId": "credit_note_line_item",
1523515213
"x-stripeMostCommon": [
1523615214
"amount",
15237-
"amount_excluding_tax",
1523815215
"description",
1523915216
"discount_amount",
1524015217
"discount_amounts",
@@ -15244,12 +15221,10 @@
1524415221
"object",
1524515222
"pretax_credit_amounts",
1524615223
"quantity",
15247-
"tax_amounts",
1524815224
"tax_rates",
1524915225
"type",
1525015226
"unit_amount",
15251-
"unit_amount_decimal",
15252-
"unit_amount_excluding_tax"
15227+
"unit_amount_decimal"
1525315228
],
1525415229
"x-stripeOperations": [
1525515230
{
@@ -15314,85 +15289,6 @@
1531415289
"refund"
1531515290
]
1531615291
},
15317-
"credit_note_tax_amount": {
15318-
"description": "",
15319-
"properties": {
15320-
"amount": {
15321-
"description": "The amount, in cents (or local equivalent), of the tax.",
15322-
"type": "integer"
15323-
},
15324-
"inclusive": {
15325-
"description": "Whether this tax amount is inclusive or exclusive.",
15326-
"type": "boolean"
15327-
},
15328-
"tax_rate": {
15329-
"anyOf": [
15330-
{
15331-
"maxLength": 5000,
15332-
"type": "string"
15333-
},
15334-
{
15335-
"$ref": "#/components/schemas/tax_rate"
15336-
}
15337-
],
15338-
"description": "The tax rate that was applied to get this tax amount.",
15339-
"x-expansionResources": {
15340-
"oneOf": [
15341-
{
15342-
"$ref": "#/components/schemas/tax_rate"
15343-
}
15344-
]
15345-
}
15346-
},
15347-
"taxability_reason": {
15348-
"description": "The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported.",
15349-
"enum": [
15350-
"customer_exempt",
15351-
"not_collecting",
15352-
"not_subject_to_tax",
15353-
"not_supported",
15354-
"portion_product_exempt",
15355-
"portion_reduced_rated",
15356-
"portion_standard_rated",
15357-
"product_exempt",
15358-
"product_exempt_holiday",
15359-
"proportionally_rated",
15360-
"reduced_rated",
15361-
"reverse_charge",
15362-
"standard_rated",
15363-
"taxable_basis_reduced",
15364-
"zero_rated"
15365-
],
15366-
"nullable": true,
15367-
"type": "string",
15368-
"x-stripeBypassValidation": true
15369-
},
15370-
"taxable_amount": {
15371-
"description": "The amount on which tax is calculated, in cents (or local equivalent).",
15372-
"nullable": true,
15373-
"type": "integer"
15374-
}
15375-
},
15376-
"required": [
15377-
"amount",
15378-
"inclusive",
15379-
"tax_rate",
15380-
"taxability_reason",
15381-
"taxable_amount"
15382-
],
15383-
"title": "CreditNoteTaxAmount",
15384-
"type": "object",
15385-
"x-expandableFields": [
15386-
"tax_rate"
15387-
],
15388-
"x-stripeMostCommon": [
15389-
"amount",
15390-
"inclusive",
15391-
"tax_rate",
15392-
"taxability_reason",
15393-
"taxable_amount"
15394-
]
15395-
},
1539615292
"credit_notes_pretax_credit_amount": {
1539715293
"description": "",
1539815294
"properties": {

0 commit comments

Comments
 (0)