diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index bf758c50a..ccddf6542 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v276 \ No newline at end of file +v277 \ No newline at end of file diff --git a/tests/test_generated_examples.py b/tests/test_generated_examples.py index e825c7cfe..b8eb73a34 100644 --- a/tests/test_generated_examples.py +++ b/tests/test_generated_examples.py @@ -2521,3 +2521,19 @@ def test_webhookendpoint_update(self, request_mock): "post", "/v1/webhook_endpoints/we_xxxxxxxxxxxxx", ) + + def test_tax_transaction_create_from_calculation(self, request_mock): + stripe.tax.Transaction.create_from_calculation( + calculation="xxx", + reference="yyy", + ) + request_mock.assert_requested( + "post", + "/v1/tax/transactions/create_from_calculation", + ) + + def test_tax_calculation_list_line_items(self, request_mock): + stripe.tax.Calculation.list_line_items("xxx") + request_mock.assert_requested( + "get", "/v1/tax/calculations/xxx/line_items" + )