Connect a system
Open Settings → Integrations and use the base URL shown on the page. API endpoints are under /api/v1; /api/docs is the interactive reference. Send the key in an Authorization: Bearer header on each request.
Create a key
Name the key after the system that will use it. Choose only the scopes it needs, the role it acts as, and whether it must be read-only. Set an expiry date when appropriate. Create the key and copy the token immediately: Easy shows the full token only once and stores only a hash.
A key works for this company only, within its scopes.
Connect Claude
Your own Claude (claude.ai, Claude Desktop, Cowork or Claude Code) can read the books and answer questions such as "what did we spend on fuel this quarter?" or "which customers owe us more than 60 days?". It cannot change anything, and it never sees payroll.
- In Claude, open its Settings, then Connectors, add a custom connector named Easy, and paste the server address shown under Connect Claude on this page (it ends in
/mcp). - Choose Connect. Claude opens Easy's sign-in page: sign in as you always do, two-factor code included.
- Easy shows what Claude will be able to read. Choose the company and Allow.
Claude then reads that company's books as you, with your role in it, and only reads. ChatGPT connects the same way. You can see and end your connections under Account, Connected apps. An owner or administrator sees everyone's under Connect Claude here, and can disconnect any of them.
Claude can read the profit and loss (for the whole company, or one department, project or grant), balance sheet, trial balance, the chart of accounts with balances, journals, invoices, quotes, credit notes, bills, suppliers, customers, receipts, payments made, bank and cash balances, items, dimensions and the grants summary. Payroll stays out: there are no payroll tools, and payroll journals (wages, leave and PAYE/CINSF payments name employees) are left out of the journal lists, so wages show only as account totals in the reports. Each connection can ask 60 questions a minute.
Who is reading
Each person who connects signs in for themselves, so Claude reads with that person's own role, and Easy's records name them ("Pat Rima, through claude.ai"). Owners, administrators, accountants, developers, data entry and read-only members can connect. Approvers, payroll managers and employees can't: their work in Easy is a decision or the payroll, and the connector is only about the books.
A connection ends by itself when the person is removed from the company, moves to a role that can't connect, resets their password, or signs out everywhere. One not used for 30 days ends too; connect again to carry on.
To stop everyone connecting, untick Sign-in from Claude or ChatGPT under Connect Claude. That ends every connection straight away.
Connect with a key
Claude Code, Claude Desktop's config file and scripts can use a read-only key instead of signing in. Under Connect Claude, choose Create a read-only key: it fills in New key with the read scopes Claude uses, Read-only ticked and the Accountant role. Name it for the person who will use it, check the role, create it and copy the key. Easy refuses any key that is not read-only. Then, in Claude Code:
claude mcp add --transport http easy https://<your Easy address>/mcp --header "Authorization: Bearer em_live_…"
or in Claude Desktop, add this to its claude_desktop_config.json (in Claude Desktop's settings, under Developer, Edit config) and restart it:
{"mcpServers": {"easy": {"command": "npx", "args": ["mcp-remote", "https://<your Easy address>/mcp", "--header", "Authorization: Bearer em_live_…"]}}}
Everyone who uses a key shares its role, and Easy's audit trail names the key, not the person. Each tool needs the key's matching read scope. Revoke the key here to cut it off at once.
Review or stop access
The key list shows its name, scopes, last use and whether it is live, expired or revoked. Revoke a key you no longer use or suspect has been exposed. A revoked key cannot be used again; create a replacement and update the connecting system if access is still needed.
Scopes
A key can only do what its scopes allow, and never more than the role it acts as. sales:read and sales:write cover reading, creating and emailing invoices; sales:read also reads credit notes (GET /api/v1/credit-notes, and one with its lines). Applying a credit note to an invoice, or crediting an invoice (POST /api/v1/invoices/{id}/credit-notes), needs its own scope, credits:write, and paying a credit note back to a customer (money leaves the bank) needs sales:refund, so a key that only raises invoices cannot do either. banking:read reads the money side of the books: bank and cash accounts with their balances, the payments the company has made and the transfers between its accounts (it cannot move money). payments:read lists the payments customers have made, and payments:write records one against an invoice (money arrives in a bank account), so a key that only raises invoices cannot mark them paid. contacts:read and contacts:write cover customers (reading one, adding and changing them; bank details are never changed through the API) and adding suppliers (a new supplier's bank details are entered in Easy, where the bank-change check applies, and the new-supplier check still holds it until it is confirmed), items:read lists and fetches items with stock on hand, and the stock locations an invoice or bill can name (stockLocationId), and needs the Items add-on (a line of a serial-numbered or lot-tracked item carries its serialNumbers or lotNumber, and a bill's new batch its lotExpiry), and quotes use the sales scopes: sales:read lists and reads them, sales:write creates a draft quote and turns one into a draft invoice (posting the invoice, and sending a quote, happen in Easy so the company's approvals apply). purchases:read covers suppliers and bills, and purchases:write enters supplier bills (a bill the company's approval policy wants approved is saved and submitted for approval, answered with status 202, and posts once a person approves it in Easy), ledger:read the chart of accounts, the reports and journals (a filtered list, and one journal with its lines; the profit and loss takes dimensionValue, a value's id from GET /api/v1/dimensions, for the lines tagged with it alone), ledger:write posts manual journals (a direct write to the books, so it is a scope of its own: the lock date, mandatory dimensions and the control-account rules apply exactly as they do in Easy, and a journal your manual journal approval wants approved is saved and submitted, status 202, and posts once a person approves it), payroll:read employees and pay runs, tax:read and tax:write the tax positions and payments to the tax office (month is always a return month: on quarterly VAT returns a quarter's VAT is on its last month, so GET /api/v1/tax-positions?authority=rmd&month=2026-12 gives October to December's VAT with December's PAYE, vatPeriodStart and vatPeriodEnd name the quarter, dueDate is the date RMD gave it, null until RMD gives one, and payeDueDate the PAYE's; October and November carry PAYE only, and a quarter's VAT is paid with month its last month), and grants:read the grants summary (each grant's position, checked against Unexpended Grants) and a grant's acquittal for a period (basis=accrual, the default, or basis=cash, as on the acquittal page), for a company that keeps grants. jobs:read lists jobs and reads one with the figures its page shows (income and costs without VAT, the result, the margin, the hours on timesheets, job to date and this financial year, and its whole-life budget's totals), and jobs:write creates a draft job; both need the Jobs add-on, and opening, completing and closing a job stay in Easy. An invoice line, and a bill line entered with purchases:write, carries a property, a grant or any other reporting dimension as dimension1ValueId to dimension3ValueId, the same fields a journal line takes (GET /api/v1/dimensions, with sales:read, lists each dimension's slot and values); a mandatory dimension refuses an untagged line as the bill screen does. A request without the scope it needs is refused with status 403 and the code insufficient_scope.
Lists
An invoice or quote line can take a discount: discountPercent (12.5 for 12.5%) or discountAmount (a fixed amount in the document's currency), never both. The line's lineAmount is what is left after the discount, VAT is worked out on that, and grossAmount is quantity times unit price before it. A discount the rules refuse (both kinds, more than 100%, more than the line) is answered with status 422 naming the line, for example lines[1].discountAmount.
GET /api/v1/invoices is filtered and paged in the database: status (draft, posted or void), customerId, from and to (invoice dates as YYYY-MM-DD, both included) search (invoice number or customer name) and reference (the whole reference the invoice was raised with, in any case, such as a booking number). Use page (from 1) and pageSize (1 to 100, default 50). The answer carries total, the number of invoices that match.
Stock on a line
POST /api/v1/invoices, POST /api/v1/quotes and POST /api/v1/bills take amountsIncludeVat. With true, each line's unitPrice is the price with VAT included, and the document totals exactly what was sent. With false, prices are before VAT. Left out, the company's Amounts include VAT setting decides (Settings → Sales settings). Reading the invoice or the quote answers amountsIncludeVat. Each line keeps unitPrice as the price before VAT and adds unitPriceInclVat with what was sent. A quote turned into an invoice keeps the prices as they were sent.
A line of a serial-numbered item takes its serialNumbers (one per unit, separated by commas or new lines, each at most 100 characters and 4,000 in all), and a line of a lot-tracked item its lotNumber (at most 100 characters). They apply only to an item that tracks them: sent on any other line, or a line with no item, they are ignored and not stored. One that is too long is answered with status 422 naming the line, for example lines[0].serialNumbers. A quote moves no stock, so its lines take neither. stockLocationId is where an invoice's or bill's stock comes from or goes to, and reading the invoice or bill answers it; it is ignored when the company does not use stock locations. GET /api/v1/stock-locations, like GET /api/v1/items, needs the Items add-on and answers 403 without it. An invoice that cannot be posted (a unit that is not in stock, for example) is not kept as a draft, so send it again once the problem is fixed. A bill line takes an account the bill screen offers: an expense, a fixed-asset cost account or Landed Costs Clearing. Any other account, such as a bank account or Trade Debtors, is answered with status 422. A bill whose supplier invoice number is already on another bill from that supplier is saved, and the answer lists that in warnings, so check it isn't the same invoice twice.
Limits
A company can have 25 live keys at most; revoke one you no longer use to make room. A new key expires after one year unless you clear the date, and a key with no expiry is your choice. Each key can make 60 requests a minute; past that the answer is 429 with rate_limited and a Retry-After header. Ask Project Five if an integration needs more.
Retrying safely
Send an Idempotency-Key header (1 to 128 characters, no spaces, for example a UUID) on any request that creates or changes something. If a request times out, send it again with the same key and the same content: Easy returns the original answer and does the work once, so a retry cannot create a second invoice or send a second email. Using a key again for a different request, such as another endpoint or another body, is refused with status 422 and the code idempotency_key_reused. A retry while the first request is still running gets status 409 and the code idempotency_in_progress: wait a moment and send it again. A request still unanswered two minutes after it started is treated as one that failed part-way, below, and is never run a second time. A request that failed part-way is answered with status 500 and the code idempotent_request_failed every time it is sent with that key, because it may have been applied: check the record, then use a new key. Keys are kept for 24 hours and belong to the API key that sent them.
Errors
Every refusal has the same shape: a status, a title, a detail and a stable code to test for. The common ones are unauthorized (401, the key is missing, wrong, revoked or expired), insufficient_scope (403), not_found (404), validation_failed (422), period_locked (409, the date is in a closed period), company_read_only (403), not_in_plan (403, a company on Easy Payroll answers only the payroll, ledger-reading and PAYE/CINSF endpoints); such a company's key form offers only those scopes, and no webhooks, since every webhook event is a sale's, a customer's, a bill's or a supplier's and rate_limited (429, wait for the number of seconds in the Retry-After header).
Webhooks
A webhook is an address of yours that Easy calls when something happens, so your system hears about it instead of asking again and again. Add one under Settings → Webhooks: a name, an https:// address on the public internet, and the events you want. Easy shows a signing secret once when you add it. Copy it into your system; you can make a new one at any time and the old one stops working.
The events are invoice.posted, invoice.cancelled, invoice.paid, invoice.unpaid, invoice.credited, invoice.uncredited, payment.received, payment.cancelled, customer.created, customer.deleted, bill.approved, bill.cancelled, customer.merged and supplier.merged. Each event that can stop being true has one that says so: invoice.cancelled when a finalised invoice is undone, invoice.unpaid when a paid invoice owes something again (a payment undone or changed, or a credit taken off it), invoice.uncredited when a credit note is taken off an invoice (unapplied, or the credit note or the invoice undone), payment.cancelled when a payment is undone, customer.deleted when a customer is deleted (and customer.created again if that is undone), and bill.cancelled when a bill is undone. Changing a payment records it again under a new number: you hear payment.cancelled for the old one and payment.received for the new one, and nothing about the invoice unless what it owes changed. Whatever made the change (a screen in Easy, the API, a bank statement line, a payment run or a pay run, or its undo), each is sent once, after it is saved, in the order it happened: an invoice paid, then a payment undone, then paid again sends invoice.paid, invoice.unpaid and invoice.paid. A merge removes the duplicate for good, so it has no counterpart. An address receives only the events ticked for it: one added before an event existed does not receive it until you tick it. To change them, press Edit on the address's events card under Settings → Webhooks: the address and its signing secret stay as they are, so your system carries on, and the change applies to what happens from then on (anything already waiting to be sent is still sent). invoice.paid is sent when an invoice is left owing nothing, whether a payment, a credit note or an overpayment credit cleared it. payment.received is sent for every payment recorded against invoices, part payments included, with the payment's id and the invoices it paid. invoice.credited is sent when a credit note is applied to an invoice, with both ids; an overpayment credit applied to it is money already paid, so it is not one. customer.merged and supplier.merged are sent when a duplicate contact is merged into another and removed, with the removed one's id (mergedId) and the one kept (keptId): point anything you hold for the removed contact at the kept one. Each delivery is a small JSON message with its own id, the event type, the time, your company id and the ids of the record concerned. It carries no names, amounts or bank details: read the record through the API with your key. That keeps personal data out of a request sent to an address Easy does not control.
Checking a delivery. Every request has an X-EasyMoni-Signature header of the form t=<unix seconds>,v1=<hex>, where the hex is an HMAC-SHA256 of <t>.<body> using your signing secret. Recompute it over the raw body, compare, and refuse a delivery whose time is more than a few minutes old. X-EasyMoni-Event names the event and X-EasyMoni-Delivery is the same on every retry of one event, so you can drop a repeat.
If your system is down. Easy expects a 2xx answer within 10 seconds. Anything else is tried again after 1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours and 24 hours, and then given up. An address that fails 20 times in a row is switched off, with the reason shown, so you can fix it and switch it on again. Deliveries shows what was sent and how each one went, and Send test sends a ping event.
Addresses that are refused. Only https:// on the standard port, with a host name (not an IP address). Easy will not send to an address that resolves inside a private network, and it does not follow redirects.
A worked example: a customer, an invoice, a receipt
Three calls with a key that has contacts:write, sales:write and payments:write. Every one carries an Idempotency-Key, so a retry after a timeout does the work once (see Retrying safely). The full reference, with every field, is at /api/docs.
- Add the customer. The answer's
idis the customer.
curl -X POST https://<your Easy address>/api/v1/customers -H "Authorization: Bearer em_live_…" -H "Idempotency-Key: cust-muri-beach" -H "Content-Type: application/json" -d '{"name":"Muri Beach Resort","email":"[email protected]","paymentTermsDays":14}'
- Raise and finalise the invoice. It is numbered and in the books when the answer comes back (status 201), unless the company's invoice approval wants it approved (status 202,
approvalwaiting).taxCodeis a VAT code from Settings → Tax codes; leave outincomeAccountIdand the line starts on the company's usual income account.
curl -X POST https://<your Easy address>/api/v1/invoices -H "Authorization: Bearer em_live_…" -H "Idempotency-Key: inv-muri-2026-11" -H "Content-Type: application/json" -d '{"customerId":"<the customer's id>","date":"2026-11-06","reference":"November stay","lines":[{"description":"Laundry service, November","quantity":1,"unitPrice":1200.00,"taxCode":"S"}]}'
- Record the receipt.
fundsAccountIdis the bank account it went into (GET /api/v1/bank-accounts). The answer says what the invoice still owes.
curl -X POST https://<your Easy address>/api/v1/invoices/<the invoice's id>/payments -H "Authorization: Bearer em_live_…" -H "Idempotency-Key: rcpt-muri-2026-11" -H "Content-Type: application/json" -d '{"fundsAccountId":"<the bank account's id>","date":"2026-11-20","amount":1380.00}'
Sending the same request again with the same key answers as the first time and records nothing new. A refusal (an unknown VAT code, a date before the lock date) is status 422 naming the field.
Link a booking website or online shop
A website that takes bookings (rentals, tours, rooms) or orders can raise each one as an invoice in Easy and hear back when it is paid. Create one key for the website with contacts:read, contacts:write, sales:read and sales:write; add payments:write if the website takes the card payment itself, and credits:write and sales:refund if it handles cancellations. Add one webhook address with payment.received, payment.cancelled, invoice.paid, invoice.unpaid, invoice.credited, invoice.uncredited and invoice.cancelled, so a booking hears both when it is paid and when that is taken back.
- Find or add the guest.
GET /api/v1/customers?search=with their email address; if nobody matches,POST /api/v1/customers. One customer per guest gives them proper statements and reminders. - Raise the invoice.
POST /api/v1/invoiceswith the booking number asreference, and anIdempotency-Keymade from it (for examplebooking-BK-1042-invoice), so a retry never makes a second invoice. Tag each line with the property or unit it is for (dimension1ValueId, fromGET /api/v1/dimensions); income by property then shows on Profit and loss by dimension. The rent is income when the invoice is raised. Keep a security bond off the invoice: it is not income, so hold it as a card authorisation on the website instead. - Take the money. Either let Easy collect it:
POST /api/v1/invoices/{id}/sendemails the invoice with its Pay now link (when online card payments are set up under Settings → Getting paid). The first send is the original tax invoice; a second send goes marked Copy only, as one from the screen does (the original and copies). Or take the card on the website and record it withPOST /api/v1/invoices/{id}/paymentsinto a clearing account, then match the gateway's payouts in Banking. A deposit and the balance are two payments on the same invoice. - Hear about it. Each payment sends
payment.received, and the last oneinvoice.paid. A payment undone in Easy (a cheque that bounced, say) sendspayment.cancelled, andinvoice.unpaidif the invoice was paid: put the booking back to unpaid. Check the signature, read the invoice back withGET /api/v1/invoices/{id}, and confirm the booking.creditedon the invoice says how much ofpaidwas a credit note rather than money. - Cancel or change a booking.
POST /api/v1/invoices/{id}/credit-notescredits the whole invoice, or only thelinesyou send (the nights a changed booking no longer has); a changed booking is a credit and a new invoice. The credit goes against what the invoice still owes. Money already paid is left on the credit note (unapplied): pay it back withPOST /api/v1/credit-notes/{id}/refund. Finalising a credit note is an accountant's task, so the key must act as Owner, Administrator or Accountant (Data entry is refused with status 403), and the company's credit note approval applies (status 202,approvalwaiting, until someone approves it in Easy).
To find the invoice for a booking later, GET /api/v1/invoices?reference=BK-1042. Build against a test company first: ask Project Five for one.