> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.xero.accounting.GetOrganization

- Component: `appmixer.xero.accounting.GetOrganization`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.xero 2.3.0](https://connectors.appmixer.com/connector/appmixer.xero/2.3.0.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.xero/2.3.0/component/appmixer.xero.accounting.GetOrganization>

Returns information about a Xero organisation. The organisation will be the one specified by the Tenant ID field.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Tenant ID (`tenantId`) | text | - |

## Output ports

### Port `out`

Variables are loaded dynamically from `/component/appmixer/xero/accounting/GetOrganization?outPort=out&ignoreAuth=true`.

## Full metadata (component.json)

```json
{
  "name": "appmixer.xero.accounting.GetOrganization",
  "author": "Jiri Hofman <jirka@client.io>",
  "description": "Returns information about a Xero organisation. The organisation will be the one specified by the Tenant ID field.",
  "private": false,
  "auth": {
    "service": "appmixer:xero",
    "scope": [
      "accounting.settings.read"
    ]
  },
  "quota": {
    "manager": "appmixer:xero:accounting",
    "resources": "requests",
    "scope": {
      "userId": "{{userId}}"
    }
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string"
          }
        },
        "required": [
          "tenantId"
        ]
      },
      "inspector": {
        "inputs": {
          "tenantId": {
            "type": "text",
            "label": "Tenant ID",
            "index": 1,
            "source": {
              "url": "/component/appmixer/xero/accounting/ListTenants?outPort=tenants",
              "data": {
                "transform": "./transformers#tenantsToSelectArray"
              }
            }
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out",
      "source": {
        "url": "/component/appmixer/xero/accounting/GetOrganization?outPort=out&ignoreAuth=true",
        "data": {
          "properties": {
            "generateOutputPortOptions": true
          },
          "messages": {
            "in/tenantId": "any"
          }
        }
      }
    }
  ],
  "icon": "(data URI omitted)"
}
```
