diff --git a/lib/recurly/requests/account_create.rb b/lib/recurly/requests/account_create.rb index bb2365f6d..ec331bd07 100644 --- a/lib/recurly/requests/account_create.rb +++ b/lib/recurly/requests/account_create.rb @@ -46,6 +46,10 @@ class AccountCreate < Request # @return [String] The email address used for communicating with this customer. The customer will also use this email address to log into your hosted account management pages. This value does not need to be unique. define_attribute :email, String + # @!attribute entity_use_code + # @return [String] The Avalara AvaTax value that can be passed to identify the customer type for tax purposes. The range of values can be A - R (more info at Avalara). Value is case-sensitive. + define_attribute :entity_use_code, String + # @!attribute exemption_certificate # @return [String] The tax exemption certificate number for the account. If the merchant has an integration for the Vertex tax provider, this optional value will be sent in any tax calculation requests for the account. define_attribute :exemption_certificate, String diff --git a/lib/recurly/requests/account_purchase.rb b/lib/recurly/requests/account_purchase.rb index 1e056c131..84494611e 100644 --- a/lib/recurly/requests/account_purchase.rb +++ b/lib/recurly/requests/account_purchase.rb @@ -46,6 +46,10 @@ class AccountPurchase < Request # @return [String] The email address used for communicating with this customer. The customer will also use this email address to log into your hosted account management pages. This value does not need to be unique. define_attribute :email, String + # @!attribute entity_use_code + # @return [String] The Avalara AvaTax value that can be passed to identify the customer type for tax purposes. The range of values can be A - R (more info at Avalara). Value is case-sensitive. + define_attribute :entity_use_code, String + # @!attribute exemption_certificate # @return [String] The tax exemption certificate number for the account. If the merchant has an integration for the Vertex tax provider, this optional value will be sent in any tax calculation requests for the account. define_attribute :exemption_certificate, String diff --git a/lib/recurly/requests/account_update.rb b/lib/recurly/requests/account_update.rb index 5aef97e59..a88220dca 100644 --- a/lib/recurly/requests/account_update.rb +++ b/lib/recurly/requests/account_update.rb @@ -38,6 +38,10 @@ class AccountUpdate < Request # @return [String] The email address used for communicating with this customer. The customer will also use this email address to log into your hosted account management pages. This value does not need to be unique. define_attribute :email, String + # @!attribute entity_use_code + # @return [String] The Avalara AvaTax value that can be passed to identify the customer type for tax purposes. The range of values can be A - R (more info at Avalara). Value is case-sensitive. + define_attribute :entity_use_code, String + # @!attribute exemption_certificate # @return [String] The tax exemption certificate number for the account. If the merchant has an integration for the Vertex tax provider, this optional value will be sent in any tax calculation requests for the account. define_attribute :exemption_certificate, String diff --git a/lib/recurly/resources/account.rb b/lib/recurly/resources/account.rb index cd671b44f..df300c7dc 100644 --- a/lib/recurly/resources/account.rb +++ b/lib/recurly/resources/account.rb @@ -50,6 +50,10 @@ class Account < Resource # @return [String] The email address used for communicating with this customer. The customer will also use this email address to log into your hosted account management pages. This value does not need to be unique. define_attribute :email, String + # @!attribute entity_use_code + # @return [String] The Avalara AvaTax value that can be passed to identify the customer type for tax purposes. The range of values can be A - R (more info at Avalara). Value is case-sensitive. + define_attribute :entity_use_code, String + # @!attribute exemption_certificate # @return [String] The tax exemption certificate number for the account. If the merchant has an integration for the Vertex tax provider, this optional value will be sent in any tax calculation requests for the account. define_attribute :exemption_certificate, String diff --git a/openapi/api.yaml b/openapi/api.yaml index 73b3d734d..08c63a4d5 100644 --- a/openapi/api.yaml +++ b/openapi/api.yaml @@ -17474,6 +17474,11 @@ components: "$ref": "#/components/schemas/BillingInfoCreate" custom_fields: "$ref": "#/components/schemas/CustomFields" + entity_use_code: + type: string + description: The Avalara AvaTax value that can be passed to identify the + customer type for tax purposes. The range of values can be A - R (more + info at Avalara). Value is case-sensitive. AccountResponse: type: object properties: @@ -17575,6 +17580,11 @@ components: "$ref": "#/components/schemas/BillingInfo" custom_fields: "$ref": "#/components/schemas/CustomFields" + entity_use_code: + type: string + description: The Avalara AvaTax value that can be passed to identify the + customer type for tax purposes. The range of values can be A - R (more + info at Avalara). Value is case-sensitive. AccountNote: type: object required: