Avalara · Schema

LocationModel

Taxes

Properties

Name Type Description
id integer
companyId integer
locationCode string
description string
addressTypeId string
addressCategoryId string
line1 string
city string
region string
postalCode string
country string
View JSON Schema on GitHub

JSON Schema

avalara-locationmodel-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/LocationModel",
  "title": "LocationModel",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer"
    },
    "companyId": {
      "type": "integer"
    },
    "locationCode": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "addressTypeId": {
      "type": "string",
      "enum": [
        "Firm",
        "Location",
        "Salesperson"
      ]
    },
    "addressCategoryId": {
      "type": "string",
      "enum": [
        "Storefront",
        "MainOffice",
        "Warehouse",
        "Salesperson",
        "Other"
      ]
    },
    "line1": {
      "type": "string"
    },
    "city": {
      "type": "string"
    },
    "region": {
      "type": "string"
    },
    "postalCode": {
      "type": "string"
    },
    "country": {
      "type": "string"
    }
  }
}