Skip to content
MILKEE logo

Connectors / Finance · HTTP Connector

MILKEE integration and API

Create a customer, create an invoice and create a time entry in MILKEE, and start a workflow when MILKEE sends “Customer created”.

What can you do with MILKEE on Tray.ai?

MILKEE is Swiss accounting software for sole traders and small companies, covering bookkeeping, invoices, offers, time tracking, projects and customers. Tray.ai connects to MILKEE through the HTTP Connector, so your workflows can call the MILKEE API alongside the rest of your stack.

  • When MILKEE sends “Customer created”, add the customer to your CRM.
  • Create an invoice in MILKEE when a project is marked done in your project management tool.
  • Create a time entry for each hour logged in your time tracking tool.
  • Get an invoice PDF and email it to the client's billing contact.
Connects through
HTTP Connector
Authentication
A bearer token
Base URL
https://app.milkee.ch/api/v2

Set it up

Connect MILKEE to Tray.ai

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

Save MILKEE's API token

Save the token MILKEE 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.

Point the HTTP Client at the API

Add an HTTP Client step and use https://app.milkee.ch/api/v2 as the base URL. Or paste a cURL example from MILKEE's API docs, and Tray.ai fills in the method, URL, and headers.

Start with “List customers”

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

Start workflows from MILKEE events

Give MILKEE the URL of a Tray.ai webhook trigger. “Customer created” can then start a workflow, and so can 8 other events.

Workflows to build with MILKEE

Connect MILKEE with HubSpot, Google Sheets and Jira

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

Create MILKEE customers from closed HubSpot deals

When

A deal closes in HubSpot

Then

  1. Create a customer in MILKEE from the deal's company
  2. Create an invoice for the customer
  3. Add an invoice position for each deal line item

With HubSpot

Sync new MILKEE customers to a Google Sheets list

When

Customer created

Then

  1. Get a customer to pull the full record
  2. Add a row with the customer details to Google Sheets

With Google Sheets

Log MILKEE time from completed Jira issues

When

An issue is resolved in Jira

Then

  1. Create a time entry in MILKEE with the logged hours
  2. Note the time entry on the issue in Jira

With Jira

Apps you can build on MILKEE data

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

Unbilled time report

Lists time entries by customer next to existing invoices and lets the owner add billable hours as invoice positions.

Invoice review board

Shows draft invoices with their positions so a reviewer can fix line items and download the PDF to send.

MILKEE MCP server for AI agents

Build an MCP server on MILKEE 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 customers
  • List invoices
  • List time entries
  • List invoice positions
  • Get a customer
  • Create a customer
  • Update a customer
  • Delete a customer

What the MILKEE API covers

4 resources and 19 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.

Customers

  • List customers
  • Get a customer
  • Create a customer
  • Update a customer
  • Delete a customer

Invoices

  • List invoices
  • Create an invoice
  • Update an invoice
  • Delete an invoice
  • Get an invoice PDF

Time entries

  • List time entries
  • Create a time entry
  • Update a time entry
  • Delete a time entry
  • Start a timer

Invoice positions

  • List invoice positions
  • Add an invoice position
  • Update an invoice position
  • Delete an invoice position

Events MILKEE can send to a Tray.ai webhook trigger

  • Customer created
  • Customer updated
  • Customer deleted
  • Entry created
  • Entry updated
  • Project created
  • Project updated
  • Time entry created
  • Time entry updated

Checked against MILKEE's own documentation on 2026-10-23

apidocs.milkee.ch

Frequently asked questions

What can a Tray.ai workflow do in MILKEE?

The MILKEE API documents 19 actions across 4 resources (Customers, Invoices, Time entries, Invoice positions). For example: List customers; List invoices; List time entries. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with MILKEE?

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

Which MILKEE events can start a Tray.ai workflow?

MILKEE sends 9 events to a webhook URL, for example: Customer created; Customer updated; Customer deleted; Entry created; Entry updated; Project created; Project updated; Time entry created. A Tray.ai webhook trigger receives them and starts a workflow.

See MILKEE 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.