Xero · Schema

InvoiceAddress

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Properties

Name Type Description
InvoiceAddressType string Indicates whether the address is defined as origin (FROM) or destination (TO)
AddressLine1 string First line of a physical address
AddressLine2 string Second line of a physical address
AddressLine3 string Third line of a physical address
AddressLine4 string Fourth line of a physical address
City string City of a physical address
Region string Region or state of a physical address
PostalCode string Postal code of a physical address
Country string Country of a physical address
View JSON Schema on GitHub

JSON Schema

xero-invoiceaddress-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/InvoiceAddress",
  "title": "InvoiceAddress",
  "properties": {
    "InvoiceAddressType": {
      "description": "Indicates whether the address is defined as origin (FROM) or destination (TO)",
      "type": "string",
      "enum": [
        "FROM",
        "TO"
      ]
    },
    "AddressLine1": {
      "description": "First line of a physical address",
      "type": "string"
    },
    "AddressLine2": {
      "description": "Second line of a physical address",
      "type": "string"
    },
    "AddressLine3": {
      "description": "Third line of a physical address",
      "type": "string"
    },
    "AddressLine4": {
      "description": "Fourth line of a physical address",
      "type": "string"
    },
    "City": {
      "description": "City of a physical address",
      "type": "string"
    },
    "Region": {
      "description": "Region or state of a physical address",
      "type": "string"
    },
    "PostalCode": {
      "description": "Postal code of a physical address",
      "type": "string"
    },
    "Country": {
      "description": "Country of a physical address",
      "type": "string"
    }
  },
  "type": "object"
}