> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dualentry.com/llms.txt
> Use this file to discover all available pages before exploring further.

# DualEntry Public API

> Build accounting integrations with the DualEntry Public API — a RESTful API to automate workflows, sync data, and access your financial data.

Build powerful accounting integrations with programmatic access to your organization's financial data. The DualEntry Public API is a RESTful API that enables you to automate accounting workflows, sync data with external systems, and create custom financial applications.

***

## Quick Start

Get up and running in minutes:

1. **Get your API key** - Ask your DualEntry administrator to generate an API key for you
2. **Make your first request** - Include your API key in the `X-API-KEY` header
3. **Start building** - Explore our endpoints and integrate with your systems

<Tabs>
  <Tab title="cURL">
    ```bash theme={null}
    curl https://api.dualentry.com/public/v1/invoices \
      -H "X-API-KEY: your_api_key_here" \
      -H "Content-Type: application/json"
    ```
  </Tab>

  <Tab title="Python">
    ```python theme={null}
    import requests

    headers = {
        "X-API-KEY": "your_api_key_here",
        "Content-Type": "application/json"
    }

    response = requests.get("https://api.dualentry.com/public/v1/invoices", headers=headers)
    print(response.json())
    ```
  </Tab>

  <Tab title="JavaScript">
    ```javascript theme={null}
    fetch('https://api.dualentry.com/public/v1/invoices', {
      headers: {
        'X-API-KEY': 'your_api_key_here',
        'Content-Type': 'application/json'
      }
    })
    .then(response => response.json())
    .then(data => console.log(data));
    ```
  </Tab>
</Tabs>

***

## Core Concepts

<CardGroup cols={2}>
  <Card title="🔐 Authentication" href="/developers/guides/authentication">
    Secure your API requests using API keys. Learn how to authenticate and manage your credentials.
  </Card>

  <Card title="⚡ Rate Limiting" href="/developers/guides/rate-limiting">
    Understand rate limits and throttling to ensure reliable API access and optimal performance.
  </Card>

  <Card title="📄 Pagination" href="/developers/guides/pagination">
    Efficiently navigate through large datasets using cursor-based or offset pagination.
  </Card>

  <Card title="⚠️ Errors" href="/developers/guides/errors">
    Handle errors gracefully with standard HTTP status codes and detailed error messages.
  </Card>
</CardGroup>

***

## What You Can Do

<Info>
  **Financial Transactions**\
  Create and manage invoices, bills, payments, journal entries, and purchase orders.
</Info>

<Info>
  **Customer & Vendor Management**\
  Maintain customer and vendor records with complete contact and payment term information.
</Info>

<Info>
  **Chart of Accounts**\
  Configure and manage your accounting structure with accounts, items, and classifications.
</Info>

<Info>
  **Automation**\
  Set up recurring transactions for subscriptions, rent, and other regular financial activities.
</Info>

***

## API Reference

**[View API Reference](/developers/api/resources-v2/invoices/list-invoice-records)** - Browse all available endpoints, request/response schemas, and detailed parameter descriptions.

<Info>
  Looking for the previous API version? See the [V1 API Reference](/developers/api/resources-v1/invoices/list-invoice-records).
</Info>

***

## Need Help?

* **[Introduction](./introduction)** - Overview of the API and its capabilities
* **[API Reference](/developers/api/resources-v2/invoices/list-invoice-records)** - Complete endpoint documentation
* **Support** - Contact your DualEntry administrator for assistance

***

## Base URLs

| Environment     | URL                             |
| --------------- | ------------------------------- |
| **Production**  | `https://api.dualentry.com`     |
| **Development** | `https://api-dev.dualentry.com` |

<Info>
  All API requests use HTTPS. The API accepts and returns JSON-formatted data.
</Info>
