Skip to content
Pennylane logo

Connectors / Finance Β· HTTP Connector

Pennylane integration and API

Create a customer invoice, import a supplier invoice and create a customer in Pennylane. Connect Pennylane to the rest of your finance stack with Tray.ai.

What can you do with Pennylane on Tray.ai?

Pennylane is accounting and finance software for small businesses and accounting firms, covering invoicing, supplier bills, bookkeeping entries and financial reporting. Tray.ai connects to Pennylane through the HTTP Connector, so your workflows can call the Pennylane API alongside the rest of your stack.

  • When Pennylane sends β€œSupplier e-invoice received”, route it to the budget owner in your team chat for approval.
  • Create a customer invoice when a deal is marked won in your CRM.
  • Mark an invoice as paid when your payment provider confirms the customer's payment.
  • Create a customer in Pennylane for each new account added to your CRM.
Connects through
HTTP Connector
Authentication
A bearer token or OAuth 2.0

Set it up

Connect Pennylane to Tray.ai

Each step uses Pennylane's own API details, from its documentation.

Save Pennylane's API token

Save the token Pennylane issues as a Tray.ai authentication. The HTTP Client sends it as a bearer token on every call. The token stays out of the workflow and out of the logs.

Import a request from Pennylane's docs

Add an HTTP Client step and paste a cURL example from Pennylane's API docs. Tray.ai fills in the method, URL, headers, and query.

Start with β€œList customer invoices”

It's one of 22 documented actions, under Customer invoices. The response comes back as data the next step can map into your other apps.

Start workflows from Pennylane events

Give Pennylane the URL of a Tray.ai webhook trigger. β€œCustomer invoice e-invoicing status updated” can then start a workflow, and so can 2 other events.

Workflows to build with Pennylane

Connect Pennylane with HubSpot, Stripe and Slack

Each one uses actions and events from Pennylane's own API documentation.

Invoice closed HubSpot deals in Pennylane

When

A deal closes in HubSpot

Then

  1. Create a customer in Pennylane if they are new
  2. Create a customer invoice
  3. Send a customer invoice

With HubSpot

Mark Pennylane invoices paid from Stripe

When

A payment succeeds in Stripe

Then

  1. List customer invoices in Pennylane to find the match
  2. Mark an invoice as paid

With Stripe

Alert finance when a supplier e-invoice arrives

When

Supplier e-invoice received

Then

  1. Retrieve a supplier invoice in Pennylane
  2. Post the supplier and amount to the finance channel in Slack

With Slack

Apps you can build on Pennylane data

Internal tools your team can build with an AI assistant, each one using Pennylane calls from its API documentation.

Unpaid invoice tracker

Lists customer invoices by customer and lets finance resend an invoice or mark one paid.

Supplier bill review

Lists supplier invoices as they arrive so a bookkeeper can check and update each one.

Ledger entry review

Lists ledger entries by account so an accountant can review and correct entries.

Pennylane MCP server for AI agents

Build an MCP server on Pennylane in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • List customer invoices
  • List supplier invoices
  • List customers
  • List ledger entries
  • List ledger accounts
  • Create a webhook subscription
  • Create a customer invoice
  • Update a customer invoice

What the Pennylane API covers

6 resources and 22 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.

Customer invoices

  • List customer invoices
  • Create a customer invoice
  • Update a customer invoice
  • Send a customer invoice
  • Mark an invoice as paid

Supplier invoices

  • List supplier invoices
  • Retrieve a supplier invoice
  • Import a supplier invoice
  • Update a supplier invoice

Customers

  • List customers
  • Create a customer
  • Update a customer
  • Retrieve a customer

Ledger entries

  • List ledger entries
  • Create a ledger entry
  • Update a ledger entry

Ledger accounts

  • List ledger accounts
  • Create a ledger account
  • Update a ledger account

Webhook subscriptions

  • Create a webhook subscription
  • List webhook subscriptions
  • Delete a webhook subscription

Events Pennylane can send to a Tray.ai webhook trigger

  • Customer invoice e-invoicing status updated
  • DMS file created
  • Supplier e-invoice received

Checked against Pennylane's own documentation on 2026-10-22

pennylane.readme.io/docs/api-overview

Frequently asked questions

What can a Tray.ai workflow do in Pennylane?

The Pennylane API documents 22 actions across 6 resources (Customer invoices, Supplier invoices, Customers, Ledger entries, Ledger accounts, Webhook subscriptions). For example: List customer invoices; List supplier invoices; List customers. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Pennylane?

The Pennylane API uses a bearer token and OAuth 2.0. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Which Pennylane events can start a Tray.ai workflow?

Pennylane sends 3 events to a webhook URL, for example: Customer invoice e-invoicing status updated; DMS file created; Supplier e-invoice received. A Tray.ai webhook trigger receives them and starts a workflow.

See Pennylane working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great, a couple more details

This helps us connect you with the right person. Optional, and you can skip it.