diff --git a/account.go b/account.go index 59a114d..494c3f9 100644 --- a/account.go +++ b/account.go @@ -111,6 +111,9 @@ type Account struct { // The custom fields will only be altered when they are included in a request. Sending an empty array will not remove any existing values. To remove a field send the name with a null or empty value. CustomFields []CustomField `json:"custom_fields,omitempty"` + + // 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. + EntityUseCode string `json:"entity_use_code,omitempty"` } // GetResponse returns the ResponseMetadata that generated this resource diff --git a/account_create.go b/account_create.go index f099e2f..1da1da4 100644 --- a/account_create.go +++ b/account_create.go @@ -75,4 +75,7 @@ type AccountCreate struct { // The custom fields will only be altered when they are included in a request. Sending an empty array will not remove any existing values. To remove a field send the name with a null or empty value. CustomFields []CustomFieldCreate `json:"custom_fields,omitempty"` + + // 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. + EntityUseCode *string `json:"entity_use_code,omitempty"` } diff --git a/account_purchase.go b/account_purchase.go index b1adbdf..3341726 100644 --- a/account_purchase.go +++ b/account_purchase.go @@ -73,4 +73,7 @@ type AccountPurchase struct { // The custom fields will only be altered when they are included in a request. Sending an empty array will not remove any existing values. To remove a field send the name with a null or empty value. CustomFields []CustomFieldCreate `json:"custom_fields,omitempty"` + + // 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. + EntityUseCode *string `json:"entity_use_code,omitempty"` } diff --git a/account_update.go b/account_update.go index a15c0dc..00d959f 100644 --- a/account_update.go +++ b/account_update.go @@ -65,4 +65,7 @@ type AccountUpdate struct { // The custom fields will only be altered when they are included in a request. Sending an empty array will not remove any existing values. To remove a field send the name with a null or empty value. CustomFields []CustomFieldCreate `json:"custom_fields,omitempty"` + + // 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. + EntityUseCode *string `json:"entity_use_code,omitempty"` } diff --git a/openapi/api.yaml b/openapi/api.yaml index 73b3d73..08c63a4 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: