{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Python client library 3.10.0 changelog","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"python-client-library-3100-changelog","__idx":0},"children":["Python client library 3.10.0 changelog"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"__init__","__idx":1},"children":["__init__"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Removed imports related to commitment segments and cycles, such as CommitmentCycleAttributes, CommitmentOutputSegmentsInner, CommitmentSegmentAttributes, CommitmentSegmentBaseAttributes, CommitmentSegmentInput, ExpandedCommitmentCycle, ExpandedCommitmentSegment, QueryCommitmentCyclesResponse, QueryCommitmentSegmentsResponse, UpsertCommitmentSegmentInput, UpsertCreateCommitmentInputAllOfSegments, UpsertCreateCommitmentSegmentInput, and UpsertUpdateCommitmentSegmentInput."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Removed CyclePeriodTypeEnum and ProrationOptionEnum imports."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added imports related to commitment periods, such as CommitmentOutputPeriodsInner, CommitmentPeriodAttributes, CommitmentPeriodInput, ExpandedCommitmentPeriod, QueryCommitmentPeriodsResponse, UpsertCommitmentPeriodInput, UpsertCreateCommitmentInputAllOfPeriods, UpsertCreateCommitmentPeriodInput, and UpsertUpdateCommitmentPeriodInput."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added PaymentMethodPADBankAccountType import."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"payment_methods_api","__idx":2},"children":["payment_methods_api"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bankAccountType"]}," field to the PAD (Pre-Authorized Debit) payment method request body."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"models__init__","__idx":3},"children":["models/__init__"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Removed imports related to commitment segments: CommitmentCycleAttributes, CommitmentOutputSegmentsInner, CommitmentSegmentAttributes, CommitmentSegmentBaseAttributes, CommitmentSegmentInput, ExpandedCommitmentCycle, ExpandedCommitmentSegment, UpsertCommitmentSegmentInput, UpsertCreateCommitmentInputAllOfSegments, UpsertCreateCommitmentSegmentInput, UpsertUpdateCommitmentSegmentInput."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Removed CyclePeriodTypeEnum and ProrationOptionEnum imports."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added imports related to commitment periods: CommitmentOutputPeriodsInner, CommitmentPeriodAttributes, CommitmentPeriodInput, ExpandedCommitmentPeriod, QueryCommitmentPeriodsResponse, UpsertCommitmentPeriodInput, UpsertCreateCommitmentInputAllOfPeriods, UpsertCreateCommitmentPeriodInput, UpsertUpdateCommitmentPeriodInput."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added PaymentMethodPADBankAccountType import."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"billing_period","__idx":4},"children":["billing_period"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added a new billing period option ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SPECIFIC_DAYS"]}," to the BillingPeriod enum."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"commitment_base_attributes","__idx":5},"children":["commitment_base_attributes"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Removed ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["proration_option"]}," field from CommitmentBaseAttributes."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Changed ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["priority"]}," field from a required StrictInt to an optional StrictInt."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Replaced ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["default_association_rule"]}," with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["association_rules"]},", changing from a single AssociationRule to a list of AssociationRules."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"commitment_input","__idx":6},"children":["commitment_input"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Removed ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["proration_option"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cycle_period_type"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["specific_cycle_period_length"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["exclude_item_booking_from_revenue_accounting"]}," fields."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Replaced ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["segments"]}," with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["periods"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Renamed ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tax_code_name"]}," to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tax_code"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Changed ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["default_association_rule"]}," to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["association_rules"]}," which is now a list."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["account_receivable_accounting_code"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["revenue_recognition_timing"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["revenue_amortization_method"]}," fields."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"commitment_output","__idx":7},"children":["commitment_output"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["segments"]}," attribute has been removed and replaced with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["periods"]},". This change requires developers to update their code to use ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["periods"]}," instead of ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["segments"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["start_date"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["end_date"]}," attributes to define the start and end dates of the commitment."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Introduced ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["amount"]}," attribute to specify the total amount of the commitment."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"common_revenue_attributes","__idx":8},"children":["common_revenue_attributes"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new fields: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["account_receivable_accounting_code"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["revenue_recognition_timing"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["revenue_amortization_method"]},"."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"common_taxation_attributes","__idx":9},"children":["common_taxation_attributes"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Renamed the field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["taxCodeName"]}," to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["taxCode"]},". This change requires developers to update their code to use the new field name."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"create_order_create_subscription","__idx":10},"children":["create_order_create_subscription"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Increased the maximum length of the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["notes"]}," field from 500 to 1000 characters, allowing for more detailed notes about the subscription."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"create_pad_payment_method","__idx":11},"children":["create_pad_payment_method"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added optional field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bankAccountType"]}," to the CreatePADPaymentMethod model, allowing specification of the bank account type."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"create_subscription_request","__idx":12},"children":["create_subscription_request"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Increased the maximum length of the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["notes"]}," field from 500 to 1000 characters."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"expanded_commitment","__idx":13},"children":["expanded_commitment"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Removed fields ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["commitmentTemplateId"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["commitmentTemplateNumber"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Renamed field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["taxCodeName"]}," to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["taxCode"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added fields ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["revenueRecognitionTiming"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["revenueAmortizationMethod"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["accountReceivableAccountingCode"]},"."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"expanded_rate_plan_charge","__idx":14},"children":["expanded_rate_plan_charge"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["negotiatedPriceTable"]}," field has been removed and replaced with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["isDimensionalPrice"]},". This change requires updates to any code referencing ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["negotiatedPriceTable"]},"."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"order_action_create_subscription","__idx":15},"children":["order_action_create_subscription"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Increased the maximum length of the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["notes"]}," field from 500 to 1000 characters, allowing for more detailed notes about the subscription."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"payment_method_response","__idx":16},"children":["payment_method_response"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bankAccountType"]}," as a new optional field in the PaymentMethodResponse model."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"payment_method_response_bank_transfer","__idx":17},"children":["payment_method_response_bank_transfer"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bank_account_type"]}," field to the PaymentMethodResponseBankTransfer model, allowing specification of the bank account type."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"preview_options","__idx":18},"children":["preview_options"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["skip_tax"]}," field to PreviewOptions model, allowing developers to bypass tax calculation during order preview, which can improve performance."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"preview_order_create_subscription","__idx":19},"children":["preview_order_create_subscription"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Increased the maximum length of the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["notes"]}," field from 500 to 1000 characters."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"preview_subscription_request","__idx":20},"children":["preview_subscription_request"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Increased the maximum length of the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["notes"]}," field from 500 to 1000 characters."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"subscription_data","__idx":21},"children":["subscription_data"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Increased the maximum length of the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["notes"]}," field from 500 to 1000 characters, allowing for more detailed subscription notes."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"update_subscription_request","__idx":22},"children":["update_subscription_request"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Increased the maximum length of the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["notes"]}," field from 500 to 1000 characters."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"upsert_create_commitment_input","__idx":23},"children":["upsert_create_commitment_input"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Removed ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["proration_option"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cycle_period_type"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["specific_cycle_period_length"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["default_association_rule"]}," fields."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Replaced ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["segments"]}," with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["periods"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Renamed ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tax_code_name"]}," to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tax_code"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["association_rules"]}," field."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["account_receivable_accounting_code"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["revenue_recognition_timing"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["revenue_amortization_method"]}," fields."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Enhanced accounting code fields with strict validation and max length constraints using Annotated."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"upsert_update_commitment_input","__idx":24},"children":["upsert_update_commitment_input"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Removed ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["default_association_rule"]}," field from UpsertUpdateCommitmentInput model."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Replaced ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["segments"]}," field with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["periods"]}," field in UpsertUpdateCommitmentInput model."]}]}]},"headings":[{"value":"Python client library 3.10.0 changelog","id":"python-client-library-3100-changelog","depth":1},{"value":"__init__","id":"__init__","depth":2},{"value":"payment_methods_api","id":"payment_methods_api","depth":2},{"value":"models/__init__","id":"models__init__","depth":2},{"value":"billing_period","id":"billing_period","depth":2},{"value":"commitment_base_attributes","id":"commitment_base_attributes","depth":2},{"value":"commitment_input","id":"commitment_input","depth":2},{"value":"commitment_output","id":"commitment_output","depth":2},{"value":"common_revenue_attributes","id":"common_revenue_attributes","depth":2},{"value":"common_taxation_attributes","id":"common_taxation_attributes","depth":2},{"value":"create_order_create_subscription","id":"create_order_create_subscription","depth":2},{"value":"create_pad_payment_method","id":"create_pad_payment_method","depth":2},{"value":"create_subscription_request","id":"create_subscription_request","depth":2},{"value":"expanded_commitment","id":"expanded_commitment","depth":2},{"value":"expanded_rate_plan_charge","id":"expanded_rate_plan_charge","depth":2},{"value":"order_action_create_subscription","id":"order_action_create_subscription","depth":2},{"value":"payment_method_response","id":"payment_method_response","depth":2},{"value":"payment_method_response_bank_transfer","id":"payment_method_response_bank_transfer","depth":2},{"value":"preview_options","id":"preview_options","depth":2},{"value":"preview_order_create_subscription","id":"preview_order_create_subscription","depth":2},{"value":"preview_subscription_request","id":"preview_subscription_request","depth":2},{"value":"subscription_data","id":"subscription_data","depth":2},{"value":"update_subscription_request","id":"update_subscription_request","depth":2},{"value":"upsert_create_commitment_input","id":"upsert_create_commitment_input","depth":2},{"value":"upsert_update_commitment_input","id":"upsert_update_commitment_input","depth":2}],"frontmatter":{"markdown":{"toc":{"hide":false}},"seo":{"title":"Python client library 3.10.0 changelog"}},"lastModified":"2026-01-28T16:35:30.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/sdk-changelogs/python/changelog-3100","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}