> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://rockwell.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://rockwell.ferndocs.com/_mcp/server.

# List AR Invoices

GET https://connect.plex.com/accounting/v1/ar-invoices

Retrieve a paginated list of AR invoices.

Reference: https://rockwell.ferndocs.com/api-reference/accounts-receivable-invoices-api/list-ar-invoices

## Request

### Query parameters

- `limit` (integer, optional)
- `offset` (integer, optional)

## Response

### 200

200 OK - List AR Invoices (Paginated)

- `data` (list of AccountingV1ArInvoicesGetResponsesContentApplicationJsonSchemaDataItems, optional)
- `pagination` (AccountingV1ArInvoicesGetResponsesContentApplicationJsonSchemaPagination, optional)
- `meta` (AccountingV1ArInvoicesGetResponsesContentApplicationJsonSchemaMeta, optional)

## Errors

### 400 Bad Request Error

400 Bad Request - Invalid Query Parameters

- `error` (AccountingV1ArInvoicesGetResponsesContentApplicationJsonSchemaError, optional)

### 401 Unauthorized Error

401 Unauthorized - Missing or Invalid Bearer Token

- `error` (AccountingV1ArInvoicesGetResponsesContentApplicationJsonSchemaError, optional)

### 404 Not Found Error

404 Not Found - No Invoices Match Filters

- `error` (AccountingV1ArInvoicesGetResponsesContentApplicationJsonSchemaError, optional)

### 500 Internal Server Error

500 Internal Server Error - Server-Side Failure

- `error` (AccountingV1ArInvoicesGetResponsesContentApplicationJsonSchemaError, optional)

## Types

### AccountingV1ArInvoicesGetResponsesContentApplicationJsonSchemaDataItems

- `id` (string, optional)
- `invoiceNumber` (string, optional)
- `customerId` (string, optional)
- `customerName` (string, optional)
- `invoiceDate` (date, optional)
- `dueDate` (date, optional)
- `currency` (string, optional)
- `status` (string, optional)
- `totalAmount` (double, optional)
- `taxAmount` (double, optional)
- `amountDue` (double, optional)
- `amountPaid` (integer, optional)
- `lineItemCount` (integer, optional)
- `createdAt` (datetime, optional)
- `updatedAt` (datetime, optional)

### AccountingV1ArInvoicesGetResponsesContentApplicationJsonSchemaPagination

- `page` (integer, optional)
- `pageSize` (integer, optional)
- `totalCount` (integer, optional)
- `totalPages` (integer, optional)
- `hasNextPage` (boolean, optional)
- `hasPreviousPage` (boolean, optional)

### AccountingV1ArInvoicesGetResponsesContentApplicationJsonSchemaMeta

- `requestId` (string, optional)
- `timestamp` (datetime, optional)

### AccountingV1ArInvoicesGetResponsesContentApplicationJsonSchemaError

- `code` (string, optional)
- `message` (string, optional)
- `details` (AccountingV1ArInvoicesGetResponsesContentApplicationJsonSchemaErrorDetails, optional)
- `requestId` (string, optional)
- `traceId` (string, optional)
- `timestamp` (datetime, optional)
- `support` (AccountingV1ArInvoicesGetResponsesContentApplicationJsonSchemaErrorSupport, optional)

### AccountingV1ArInvoicesGetResponsesContentApplicationJsonSchemaErrorDetails

- `component` (string, optional)
- `description` (string, optional)
- `retryable` (boolean, optional)
- `retryAfterSeconds` (integer, optional)

### AccountingV1ArInvoicesGetResponsesContentApplicationJsonSchemaErrorSupport

- `message` (string, optional)
- `url` (string, optional)
- `email` (string, optional)

## Examples

**Response**

```json
{
  "data": [
    {
      "id": "inv_7f3a92bc1d04e",
      "invoiceNumber": "INV-2024-003821",
      "customerId": "cust_4a1b2c3d5e6f",
      "customerName": "Acme Manufacturing Corp.",
      "invoiceDate": "2024-03-15",
      "dueDate": "2024-04-14",
      "currency": "USD",
      "status": "OPEN",
      "totalAmount": 15430.75,
      "taxAmount": 1230.75,
      "amountDue": 15430.75,
      "amountPaid": 0,
      "lineItemCount": 4,
      "createdAt": "2024-03-15T08:22:11Z",
      "updatedAt": "2024-03-15T08:22:11Z"
    },
    {
      "id": "inv_3c8e21fa9b07d",
      "invoiceNumber": "INV-2024-003820",
      "customerId": "cust_9z8y7x6w5v4u",
      "customerName": "Pinnacle Aerospace Solutions LLC",
      "invoiceDate": "2024-03-14",
      "dueDate": "2024-04-13",
      "currency": "USD",
      "status": "PARTIALLY_PAID",
      "totalAmount": 87250,
      "taxAmount": 6950,
      "amountDue": 43625,
      "amountPaid": 43625,
      "lineItemCount": 7,
      "createdAt": "2024-03-14T14:05:33Z",
      "updatedAt": "2024-03-16T09:41:17Z"
    },
    {
      "id": "inv_1a4d56ef8c23b",
      "invoiceNumber": "INV-2024-003819",
      "customerId": "cust_2b3c4d5e6f7g",
      "customerName": "Meridian Automotive Group",
      "invoiceDate": "2024-03-13",
      "dueDate": "2024-04-12",
      "currency": "USD",
      "status": "OVERDUE",
      "totalAmount": 32100.5,
      "taxAmount": 2560.5,
      "amountDue": 32100.5,
      "amountPaid": 0,
      "lineItemCount": 3,
      "createdAt": "2024-03-13T11:18:44Z",
      "updatedAt": "2024-03-20T00:00:01Z"
    }
  ],
  "pagination": {
    "page": 1,
    "pageSize": 25,
    "totalCount": 142,
    "totalPages": 6,
    "hasNextPage": true,
    "hasPreviousPage": false
  },
  "meta": {
    "requestId": "req_a1b2c3d4e5f6",
    "timestamp": "2024-03-20T10:35:22Z"
  }
}
```

**SDK Code**

```python listArInvoices_example
import requests

url = "https://connect.plex.com/accounting/v1/ar-invoices"

querystring = {"limit":"100","offset":"0"}

response = requests.get(url, params=querystring)

print(response.json())
```

```javascript listArInvoices_example
const url = 'https://connect.plex.com/accounting/v1/ar-invoices?limit=100&offset=0';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go listArInvoices_example
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://connect.plex.com/accounting/v1/ar-invoices?limit=100&offset=0"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby listArInvoices_example
require 'uri'
require 'net/http'

url = URI("https://connect.plex.com/accounting/v1/ar-invoices?limit=100&offset=0")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
```

```java listArInvoices_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://connect.plex.com/accounting/v1/ar-invoices?limit=100&offset=0")
  .asString();
```

```php listArInvoices_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://connect.plex.com/accounting/v1/ar-invoices?limit=100&offset=0');

echo $response->getBody();
```

```csharp listArInvoices_example
using RestSharp;

var client = new RestClient("https://connect.plex.com/accounting/v1/ar-invoices?limit=100&offset=0");
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
```

```swift listArInvoices_example
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://connect.plex.com/accounting/v1/ar-invoices?limit=100&offset=0")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```