diff --git a/embedded/openapi/spec3.beta.sdk.json b/embedded/openapi/spec3.beta.sdk.json index 5c98e66f..5f983ffe 100644 --- a/embedded/openapi/spec3.beta.sdk.json +++ b/embedded/openapi/spec3.beta.sdk.json @@ -16748,6 +16748,15 @@ "nullable": true, "type": "string" }, + "rendering": { + "anyOf": [ + { + "$ref": "#/components/schemas/invoices_invoice_rendering" + } + ], + "description": "The rendering-related settings that control how the invoice is displayed on customer-facing surfaces such as PDF and Hosted Invoice Page.", + "nullable": true + }, "rendering_options": { "anyOf": [ { @@ -16967,6 +16976,7 @@ "pre_payment_credit_notes_amount", "quote", "receipt_number", + "rendering", "rendering_options", "shipping_cost", "shipping_details", @@ -17013,6 +17023,7 @@ "payment_intent", "payment_settings", "quote", + "rendering", "rendering_options", "shipping_cost", "shipping_details", @@ -17502,6 +17513,31 @@ "in_package": "" } }, + "invoice_rendering_pdf": { + "description": "", + "properties": { + "page_size": { + "description": "Page size of invoice pdf. Options include a4, letter, and auto. If set to auto, page size will be switched to a4 or letter based on customer locale.", + "enum": [ + "a4", + "auto", + "letter" + ], + "nullable": true, + "type": "string" + } + }, + "required": [ + "page_size" + ], + "title": "InvoiceRenderingPdf", + "type": "object", + "x-expandableFields": [], + "x-stripeResource": { + "class_name": "InvoiceRenderingPdfResource", + "in_package": "" + } + }, "invoice_setting_custom_field": { "description": "", "properties": { @@ -18211,6 +18247,39 @@ "in_package": "" } }, + "invoices_invoice_rendering": { + "description": "", + "properties": { + "amount_tax_display": { + "description": "How line-item prices and amounts will be displayed with respect to tax on invoice PDFs.", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, + "pdf": { + "anyOf": [ + { + "$ref": "#/components/schemas/invoice_rendering_pdf" + } + ], + "description": "Invoice pdf rendering options", + "nullable": true + } + }, + "required": [ + "amount_tax_display", + "pdf" + ], + "title": "InvoicesInvoiceRendering", + "type": "object", + "x-expandableFields": [ + "pdf" + ], + "x-stripeResource": { + "class_name": "InvoiceRendering", + "in_package": "" + } + }, "invoices_payment_method_options": { "description": "", "properties": { @@ -42488,6 +42557,15 @@ "nullable": true, "type": "string" }, + "rendering": { + "anyOf": [ + { + "$ref": "#/components/schemas/invoices_invoice_rendering" + } + ], + "description": "The rendering-related settings that control how the invoice is displayed on customer-facing surfaces such as PDF and Hosted Invoice Page.", + "nullable": true + }, "rendering_options": { "anyOf": [ { @@ -42707,6 +42785,7 @@ "pre_payment_credit_notes_amount", "quote", "receipt_number", + "rendering", "rendering_options", "shipping_cost", "shipping_details", @@ -42752,6 +42831,7 @@ "payment_intent", "payment_settings", "quote", + "rendering", "rendering_options", "shipping_cost", "shipping_details", @@ -88596,6 +88676,10 @@ "explode": true, "style": "deepObject" }, + "rendering": { + "explode": true, + "style": "deepObject" + }, "rendering_options": { "explode": true, "style": "deepObject" @@ -89275,6 +89359,38 @@ ], "type": "string" }, + "rendering": { + "description": "The rendering-related settings that control how the invoice is displayed on customer-facing surfaces such as PDF and Hosted Invoice Page.", + "properties": { + "amount_tax_display": { + "description": "How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of `exclude_tax` or `include_inclusive_tax`. `include_inclusive_tax` will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. `exclude_tax` will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts.", + "enum": [ + "", + "exclude_tax", + "include_inclusive_tax" + ], + "type": "string" + }, + "pdf": { + "description": "Invoice pdf rendering options", + "properties": { + "page_size": { + "description": "Page size for invoice PDF. Can be set to a4, letter, or auto.\n If set to auto, page size will be switched to a4 or letter based on customer locale.", + "enum": [ + "a4", + "auto", + "letter" + ], + "type": "string" + } + }, + "title": "rendering_pdf_param", + "type": "object" + } + }, + "title": "rendering_param", + "type": "object" + }, "rendering_options": { "anyOf": [ { @@ -92434,6 +92550,10 @@ "explode": true, "style": "deepObject" }, + "rendering": { + "explode": true, + "style": "deepObject" + }, "rendering_options": { "explode": true, "style": "deepObject" @@ -93111,6 +93231,38 @@ "title": "payment_settings", "type": "object" }, + "rendering": { + "description": "The rendering-related settings that control how the invoice is displayed on customer-facing surfaces such as PDF and Hosted Invoice Page.", + "properties": { + "amount_tax_display": { + "description": "How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of `exclude_tax` or `include_inclusive_tax`. `include_inclusive_tax` will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. `exclude_tax` will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts.", + "enum": [ + "", + "exclude_tax", + "include_inclusive_tax" + ], + "type": "string" + }, + "pdf": { + "description": "Invoice pdf rendering options", + "properties": { + "page_size": { + "description": "Page size for invoice PDF. Can be set to a4, letter, or auto.\n If set to auto, page size will be switched to a4 or letter based on customer locale.", + "enum": [ + "a4", + "auto", + "letter" + ], + "type": "string" + } + }, + "title": "rendering_pdf_param", + "type": "object" + } + }, + "title": "rendering_param", + "type": "object" + }, "rendering_options": { "anyOf": [ { diff --git a/embedded/openapi/spec3.json b/embedded/openapi/spec3.json index d64fd713..7c907aae 100644 --- a/embedded/openapi/spec3.json +++ b/embedded/openapi/spec3.json @@ -11784,6 +11784,15 @@ "nullable": true, "type": "string" }, + "rendering": { + "anyOf": [ + { + "$ref": "#/components/schemas/invoices_invoice_rendering" + } + ], + "description": "The rendering-related settings that control how the invoice is displayed on customer-facing surfaces such as PDF and Hosted Invoice Page.", + "nullable": true + }, "rendering_options": { "anyOf": [ { @@ -12000,6 +12009,7 @@ "payment_intent", "payment_settings", "quote", + "rendering", "rendering_options", "shipping_cost", "shipping_details", @@ -12309,6 +12319,24 @@ "type": "object", "x-expandableFields": [] }, + "invoice_rendering_pdf": { + "description": "", + "properties": { + "page_size": { + "description": "Page size of invoice pdf. Options include a4, letter, and auto. If set to auto, page size will be switched to a4 or letter based on customer locale.", + "enum": [ + "a4", + "auto", + "letter" + ], + "nullable": true, + "type": "string" + } + }, + "title": "InvoiceRenderingPdf", + "type": "object", + "x-expandableFields": [] + }, "invoice_setting_custom_field": { "description": "", "properties": { @@ -12840,6 +12868,31 @@ "invoice" ] }, + "invoices_invoice_rendering": { + "description": "", + "properties": { + "amount_tax_display": { + "description": "How line-item prices and amounts will be displayed with respect to tax on invoice PDFs.", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, + "pdf": { + "anyOf": [ + { + "$ref": "#/components/schemas/invoice_rendering_pdf" + } + ], + "description": "Invoice pdf rendering options", + "nullable": true + } + }, + "title": "InvoicesInvoiceRendering", + "type": "object", + "x-expandableFields": [ + "pdf" + ] + }, "invoices_payment_method_options": { "description": "", "properties": { @@ -73008,6 +73061,10 @@ "explode": true, "style": "deepObject" }, + "rendering": { + "explode": true, + "style": "deepObject" + }, "rendering_options": { "explode": true, "style": "deepObject" @@ -73557,6 +73614,35 @@ ], "type": "string" }, + "rendering": { + "description": "The rendering-related settings that control how the invoice is displayed on customer-facing surfaces such as PDF and Hosted Invoice Page.", + "properties": { + "amount_tax_display": { + "enum": [ + "", + "exclude_tax", + "include_inclusive_tax" + ], + "type": "string" + }, + "pdf": { + "properties": { + "page_size": { + "enum": [ + "a4", + "auto", + "letter" + ], + "type": "string" + } + }, + "title": "rendering_pdf_param", + "type": "object" + } + }, + "title": "rendering_param", + "type": "object" + }, "rendering_options": { "anyOf": [ { @@ -76003,6 +76089,10 @@ "explode": true, "style": "deepObject" }, + "rendering": { + "explode": true, + "style": "deepObject" + }, "rendering_options": { "explode": true, "style": "deepObject" @@ -76552,6 +76642,35 @@ "title": "payment_settings", "type": "object" }, + "rendering": { + "description": "The rendering-related settings that control how the invoice is displayed on customer-facing surfaces such as PDF and Hosted Invoice Page.", + "properties": { + "amount_tax_display": { + "enum": [ + "", + "exclude_tax", + "include_inclusive_tax" + ], + "type": "string" + }, + "pdf": { + "properties": { + "page_size": { + "enum": [ + "a4", + "auto", + "letter" + ], + "type": "string" + } + }, + "title": "rendering_pdf_param", + "type": "object" + } + }, + "title": "rendering_param", + "type": "object" + }, "rendering_options": { "anyOf": [ {