# Xero Integration via LowCodeAPI

## Overview

Accounting software

## Base Endpoint

```
https://api.lowcodeapi.com/xero/
```

## Authentication

LowCodeAPI handles authentication automatically. You only need to:

1. **Sign up** at [Xero](https://www.xero.com)
3. **Connect your account** in LowCodeAPI dashboard
4. **Use your `api_token`** in all requests

**Auth Type**: OAUTH2.0

## API Categories

- **Accounts** - 1 endpoints
- **Attachments** - 1 endpoints
- **Bank Transactions** - 1 endpoints
- **Items** - 1 endpoints

## Common Endpoints

### Category: Accounts

#### GET Accounts

**Method**: `GET` | **LowCodeAPI Path**: `/api.xro/2.0/accounts`

**Full URL**:
```
https://api.lowcodeapi.com/xero/api.xro/2.0/accounts?api_token={api_token}
```

**Description**: Allows you to archive an account

---

### Category: Attachments

#### GET Attachments

**Method**: `GET` | **LowCodeAPI Path**: `/api.xro/2.0/endpoint/guid/attachments`

**Full URL**:
```
https://api.lowcodeapi.com/xero/api.xro/2.0/endpoint/guid/attachments?api_token={api_token}
```

**Description**: Allows you to download the content of a specific attachments.

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`Endpoint` | string | No | Endpoint |
|`Guid` | string | No | Guid |

---

### Category: Bank Transactions

#### GET BankTransactions

**Method**: `GET` | **LowCodeAPI Path**: `/api.xro/2.0/banktransactions`

**Full URL**:
```
https://api.lowcodeapi.com/xero/api.xro/2.0/banktransactions?api_token={api_token}
```

**Description**: Allows you to retrieve any spend or receive money transactions

---

### Category: Items

#### GET Items

**Method**: `GET` | **LowCodeAPI Path**: `/api.xro/2.0/items`

**Full URL**:
```
https://api.lowcodeapi.com/xero/api.xro/2.0/items?api_token={api_token}
```

**Description**: Use this method to retrieve either one or many items

---

## Complete Endpoint Reference

For a complete list of all 4 endpoints, refer to:
- **OpenAPI Definition**: `https://backend.lowcodeapi.com/xero/definition`
- **Official Provider Documentation**: https://developer.xero.com/documentation/api/accounting/overview