# LedgerBox integrations: documents and exports

> Export a document and send a document request in LedgerBox, and start a workflow when LedgerBox sends “Document processed”.

**Canonical page:** https://tray.ai/connectors/ledgerbox-integrations/
**Categories:** Finance
**Connects through:** HTTP Connector

## Overview

LedgerBox converts PDF bank statements, invoices, receipts, and pay stubs into checked spreadsheet or accounting data. Tray.ai connects to LedgerBox through the HTTP Connector, so your workflows can call the LedgerBox API alongside the rest of your stack.

## Use cases

### Documents

Read, delete, and manage documents in LedgerBox from any Tray.ai workflow. The LedgerBox API covers calls such as list documents and get a document.

- List documents
- Get a document
- Delete a document

### Exports

Read exports in LedgerBox from any Tray.ai workflow. The LedgerBox API covers calls such as export a document and list document exports.

- Export a document
- List document exports

### Clients

Read and create clients in LedgerBox from any Tray.ai workflow. The LedgerBox API covers calls such as list clients and get a client.

- List clients
- Get a client
- Send a document request

### Webhooks

Read, create, and update webhooks in LedgerBox from any Tray.ai workflow. The LedgerBox API covers calls such as create a webhook endpoint and list webhook endpoints.

- Create a webhook endpoint
- List webhook endpoints
- Update a webhook endpoint

### LedgerBox events

Start a Tray.ai workflow the moment something happens in LedgerBox. LedgerBox sends events such as document processed and flags created to a Tray.ai webhook trigger.

- Document processed
- Flags created
- Document approved

## Challenges Tray.ai solves

### Keeping LedgerBox credentials out of logs

A raw API call usually means pasting a key or token into the request, where it ends up in step inputs, logs, and screenshots.

**How Tray.ai helps:** Store LedgerBox credentials once as a Tray.ai authentication and reference them from the HTTP Connector. Tray.ai masks authentication values in logs, so the secret never shows up in a step's input or output.

### Going from the LedgerBox API docs to a working call

Translating an example request from API docs into a workflow step means copying the method, URL, headers, and body by hand.

**How Tray.ai helps:** Paste a cURL example from the LedgerBox API docs into the HTTP Connector and Tray.ai fills in the method, URL, headers, and body for you.

### Handling files and non-JSON responses

Not every API answers in JSON. Some return XML, files, or binary data, or expect a multipart upload.

**How Tray.ai helps:** The HTTP Connector parses JSON and XML responses, returns files you can pass to the next step, and sends multipart form data for uploads.

## Frequently asked questions

### Does Tray.ai connect to LedgerBox?

Yes. Tray.ai connects to LedgerBox through the HTTP Connector, which calls the LedgerBox API directly. Any call the LedgerBox API documents can run as a step in a Tray.ai workflow.

### How does Tray.ai authenticate with LedgerBox?

The LedgerBox API uses an API key in a request header. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

### Can I get a dedicated LedgerBox connector?

LedgerBox runs through the HTTP Connector rather than a dedicated connector. If your team wants one, the Tray.ai connector SDK can build a dedicated LedgerBox connector from the LedgerBox API.

## Learn more

- Tray iPaaS: https://tray.ai/platform/ipaas/
- Tray Helix agents: https://tray.ai/helix/agents/
- Agent Gateway for MCP: https://tray.ai/platform/agent-gateway/
- Book a demo: https://tray.ai/contact/
