diff --git a/Recurly/Resources/Account.cs b/Recurly/Resources/Account.cs index 6f0f2592..0b65e829 100644 --- a/Recurly/Resources/Account.cs +++ b/Recurly/Resources/Account.cs @@ -60,6 +60,10 @@ public class Account : Resource [JsonProperty("email")] public string Email { get; set; } + /// 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. + [JsonProperty("entity_use_code")] + public string EntityUseCode { get; set; } + /// 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. [JsonProperty("exemption_certificate")] public string ExemptionCertificate { get; set; } diff --git a/Recurly/Resources/AccountCreate.cs b/Recurly/Resources/AccountCreate.cs index c76ef16c..c41c788b 100644 --- a/Recurly/Resources/AccountCreate.cs +++ b/Recurly/Resources/AccountCreate.cs @@ -56,6 +56,10 @@ public class AccountCreate : Request [JsonProperty("email")] public string Email { get; set; } + /// 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. + [JsonProperty("entity_use_code")] + public string EntityUseCode { get; set; } + /// 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. [JsonProperty("exemption_certificate")] public string ExemptionCertificate { get; set; } diff --git a/Recurly/Resources/AccountPurchase.cs b/Recurly/Resources/AccountPurchase.cs index fc47db14..4b44d5ae 100644 --- a/Recurly/Resources/AccountPurchase.cs +++ b/Recurly/Resources/AccountPurchase.cs @@ -56,6 +56,10 @@ public class AccountPurchase : Request [JsonProperty("email")] public string Email { get; set; } + /// 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. + [JsonProperty("entity_use_code")] + public string EntityUseCode { get; set; } + /// 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. [JsonProperty("exemption_certificate")] public string ExemptionCertificate { get; set; } diff --git a/Recurly/Resources/AccountUpdate.cs b/Recurly/Resources/AccountUpdate.cs index a6cd28d4..a3340f9f 100644 --- a/Recurly/Resources/AccountUpdate.cs +++ b/Recurly/Resources/AccountUpdate.cs @@ -48,6 +48,10 @@ public class AccountUpdate : Request [JsonProperty("email")] public string Email { get; set; } + /// 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. + [JsonProperty("entity_use_code")] + public string EntityUseCode { get; set; } + /// 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. [JsonProperty("exemption_certificate")] public string ExemptionCertificate { get; set; } diff --git a/openapi/api.yaml b/openapi/api.yaml index 73b3d734..08c63a4d 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: