{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Python client library 3.7.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-370-changelog","__idx":0},"children":["Python client library 3.7.0 changelog"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"credit_memos_api","__idx":1},"children":["credit_memos_api"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added method ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["download_e_invoice_file_for_credit_memo"]}," to provide downloadable content in binary format of the E-Invoice file for a given billing document."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added method ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["get_e_invoicing_mandate_for_credit_memo"]}," to fetch the Avalara Mandate for a given document if submitted to Avalara."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added method ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["update_credit_memo_invoke_sync_status"]}," to invoke sync status API to update the E-Invoice status of the Credit Memo."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"debit_memos_api","__idx":2},"children":["debit_memos_api"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added method ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["download_e_invoice_file_for_debit_memo"]}," to provide downloadable content in binary format of the E-Invoice file for a given debit memo."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added method ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["get_e_invoicing_mandate_for_debit_memo"]}," to fetch the Avalara Mandate for a given debit memo if submitted to Avalara."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added method ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["update_debit_memo_invoke_sync_status"]}," to invoke sync status API and update the E-Invoice status of the debit memo."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"e_invoicing_api","__idx":3},"children":["e_invoicing_api"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new method ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["get_e_invoicing_mandates"]}," to provide a list of Avalara mandates for a given country code and process type."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new method ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["get_e_invoicing_mandates_with_http_info"]}," to provide detailed HTTP information along with the list of Avalara mandates."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"invoices_api","__idx":4},"children":["invoices_api"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added method ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["download_e_invoice_file_for_invoice"]}," to provide downloadable content in binary format of the E-Invoice file for a given billing document."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added method ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["get_e_invoicing_mandate_for_invoice"]}," to fetch the Avalara Mandate for a given document if submitted to Avalara."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added method ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["update_invoice_invoke_sync_status"]}," to invoke sync status API and update the E-Invoice status of the Invoice."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"object_queries_api","__idx":5},"children":["object_queries_api"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added support for querying contact snapshots with new methods ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["query_contact_snapshot_by_key"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["query_contact_snapshots"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Introduced the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fields"]}," parameter to support specifying which fields are returned in the response."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"subscriptions_api","__idx":6},"children":["subscriptions_api"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["as_of_date"]}," parameter to multiple methods for specifying the date for charge-detail when ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["charge-detail"]}," is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["specific-segment"]},"."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"models__init__","__idx":7},"children":["models/__init__"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added BusinessCategory model import."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added EInvoiceProcessType model import."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added EInvoicingFileFormat model import."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added ExpandedContactSnapshot model import."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added GetEInvoiceMandateResponse model import."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added GetEInvoiceMandatesResponse model import."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added QueryContactSnapshotsResponse model import."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"business_region","__idx":8},"children":["business_region"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fileFormat"]}," as an optional field in the BusinessRegion model."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"business_regions_response","__idx":9},"children":["business_regions_response"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added a new optional field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fileFormat"]}," to the BusinessRegionsResponse model."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"create_accounting_code_request","__idx":10},"children":["create_accounting_code_request"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["segmentConstantValues"]}," field to CreateAccountingCodeRequest, available if GL Segmentation 2.0 is enabled."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"create_order_subscription","__idx":11},"children":["create_order_subscription"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added a new optional field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["notes"]}," to the CreateOrderSubscription model, allowing for a string of up to 65,535 characters."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"expanded_account","__idx":12},"children":["expanded_account"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Removal of fields from the __properties list may affect serialization or deserialization processes."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["roll_up_usage"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["reserved_payment_amount"]}," fields to the ExpandedAccount model."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"expanded_credit_memo","__idx":13},"children":["expanded_credit_memo"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new fields: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bill_to_contact_snapshot"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sold_to_contact_snapshot"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ship_to_contact_snapshot"]}," of type ExpandedContactSnapshot to the ExpandedCreditMemo model."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Enhanced the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["to_dict()"]}," method to include the new snapshot fields: billToContactSnapshot, soldToContactSnapshot, and shipToContactSnapshot."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Updated the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["from_dict()"]}," method to handle the new snapshot fields: billToContactSnapshot, soldToContactSnapshot, and shipToContactSnapshot."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"expanded_debit_memo","__idx":14},"children":["expanded_debit_memo"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new fields: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bill_to_contact_snapshot"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sold_to_contact_snapshot"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ship_to_contact_snapshot"]}," of type ExpandedContactSnapshot to the ExpandedDebitMemo model."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Updated the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["to_dict"]}," method to include the new snapshot fields for custom serialization."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"expanded_invoice","__idx":15},"children":["expanded_invoice"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new fields: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bill_to_contact_snapshot"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sold_to_contact_snapshot"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ship_to_contact_snapshot"]}," of type ExpandedContactSnapshot."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"order_subscriptions","__idx":16},"children":["order_subscriptions"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added a new optional field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["notes"]}," to the OrderSubscriptions model, allowing developers to include a string of up to 65,535 characters."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"reverse_credit_memo_response","__idx":17},"children":["reverse_credit_memo_response"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id"]}," field to store the ID of the credit memo."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["job_id"]}," field to store the ID of the operation job."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["job_status"]}," field to store the status of the operation job."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"update_invoice_request","__idx":18},"children":["update_invoice_request"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added a new optional field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["template_id"]}," to specify the ID of the invoice template. This field requires the Flexible Billing Attribute."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"update_invoice_response","__idx":19},"children":["update_invoice_response"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["template_id"]}," field to the UpdateInvoiceResponse model."]}]}]},"headings":[{"value":"Python client library 3.7.0 changelog","id":"python-client-library-370-changelog","depth":1},{"value":"credit_memos_api","id":"credit_memos_api","depth":2},{"value":"debit_memos_api","id":"debit_memos_api","depth":2},{"value":"e_invoicing_api","id":"e_invoicing_api","depth":2},{"value":"invoices_api","id":"invoices_api","depth":2},{"value":"object_queries_api","id":"object_queries_api","depth":2},{"value":"subscriptions_api","id":"subscriptions_api","depth":2},{"value":"models/__init__","id":"models__init__","depth":2},{"value":"business_region","id":"business_region","depth":2},{"value":"business_regions_response","id":"business_regions_response","depth":2},{"value":"create_accounting_code_request","id":"create_accounting_code_request","depth":2},{"value":"create_order_subscription","id":"create_order_subscription","depth":2},{"value":"expanded_account","id":"expanded_account","depth":2},{"value":"expanded_credit_memo","id":"expanded_credit_memo","depth":2},{"value":"expanded_debit_memo","id":"expanded_debit_memo","depth":2},{"value":"expanded_invoice","id":"expanded_invoice","depth":2},{"value":"order_subscriptions","id":"order_subscriptions","depth":2},{"value":"reverse_credit_memo_response","id":"reverse_credit_memo_response","depth":2},{"value":"update_invoice_request","id":"update_invoice_request","depth":2},{"value":"update_invoice_response","id":"update_invoice_response","depth":2}],"frontmatter":{"markdown":{"toc":{"hide":false}},"seo":{"title":"Python client library 3.7.0 changelog"}},"lastModified":"2026-01-28T16:35:30.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/sdk-changelogs/python/changelog-370","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}