FreeAgent MCP by usefulapi

v1.39.0
io.usefulapi/freeagent Checked 2 days ago Published 21 hours ago

Read FreeAgent contacts, invoices, bills, banking and reports; add contacts, draft invoices, time.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

freeagent_get_company Get the company

Fetch the FreeAgent company these credentials belong to — name, type (e.g. UkLimitedCompany), currency, start date and VAT registration status. A cheap way to confirm the setup works. FreeAgent: GET /v2/company.

freeagent_get_current_user Get the current user

Fetch the FreeAgent user the token acts as, including their URL (needed for freeagent_create_timeslip) and permission level. FreeAgent: GET /v2/users/me.

freeagent_get_tax_timeline Get the tax timeline

List upcoming tax deadlines and amounts due — VAT returns, corporation tax, self assessment and so on. FreeAgent: GET /v2/company/tax_timeline.

freeagent_list_contacts List contacts

List contacts (clients and suppliers), with their account balance. FreeAgent: GET /v2/contacts.

ParameterTypeDescription
pageintegerPage number, starting at 1.
per_pageintegerItems per page, 1-100 (default 25).
sortstringSort order; a leading - means descending.
updated_sincestringOnly records updated since this ISO 8601 timestamp, e.g. 2026-01-01T00:00:00Z.
viewstringFilter (default active). open_clients = clients with unpaid invoices.

freeagent_get_contact Get one contact

Fetch a single contact by id or URL. FreeAgent: GET /v2/contacts/:id.

ParameterTypeDescription
contact *stringThe contact's numeric id or full FreeAgent URL.

freeagent_list_invoices List invoices

List sales invoices, optionally for one contact or project, filtered by status. A page too large for one reply returns the rows that fit and pagination.continue (page, per_page, skip, check) for the rest; attachment download links are left out (freeagent_get_attachment). FreeAgent: GET /v2/invoices.

ParameterTypeDescription
checkstringpagination.continue.check from the previous reply: lets the server notice when the page changed (it then restarts the page instead of missing rows).
contactstringOnly for this contact — its numeric id or full FreeAgent URL.
nested_invoice_itemsbooleanInclude each invoice's line items.
pageintegerPage number, starting at 1.
per_pageintegerItems per page, 1-100 (default 10, because each invoice or bill carries its line items).
projectstringOnly for this project — its numeric id or full FreeAgent URL.
skipintegerRows of this FreeAgent page already shown: pagination.continue.skip from the previous reply. Keep page, per_page and the filters the same.
sortstringSort order (default created_at); a leading - means descending.
updated_sincestringOnly records updated since this ISO 8601 timestamp, e.g. 2026-01-01T00:00:00Z.
viewstringFilter: all, recent_open_or_overdue, open, overdue, open_or_overdue, draft, paid, scheduled_to_email, thank_you_emails, reminder_emails, or last_N_months (e.g. last_3_months).

freeagent_get_invoice Get one invoice

Fetch a single invoice by id or URL, with its line items, totals, due and paid values. FreeAgent: GET /v2/invoices/:id.

ParameterTypeDescription
invoice *stringThe invoice's numeric id or full FreeAgent URL.

freeagent_list_bills List bills

List supplier bills (purchases), optionally by date range, contact or project, filtered by status. A page too large for one reply returns the rows that fit and pagination.continue (page, per_page, skip, check) for the rest; attachment download links are left out (freeagent_get_attachment). FreeAgent: GET /v2/bills.

ParameterTypeDescription
checkstringpagination.continue.check from the previous reply: lets the server notice when the page changed (it then restarts the page instead of missing rows).
contactstringOnly for this contact — its numeric id or full FreeAgent URL.
from_datestringBills dated on or after (YYYY-MM-DD).
nested_bill_itemsbooleanInclude each bill's line items.
pageintegerPage number, starting at 1.
per_pageintegerItems per page, 1-100 (default 10, because each invoice or bill carries its line items).
projectstringOnly for this project — its numeric id or full FreeAgent URL.
skipintegerRows of this FreeAgent page already shown: pagination.continue.skip from the previous reply. Keep page, per_page and the filters the same.
to_datestringBills dated on or before (YYYY-MM-DD).
updated_sincestringOnly records updated since this ISO 8601 timestamp, e.g. 2026-01-01T00:00:00Z.
viewstringFilter by status.

freeagent_list_expenses List expenses

List expense claims (out-of-pocket spending and mileage), optionally by date range or project. FreeAgent: GET /v2/expenses.

ParameterTypeDescription
from_datestringExpenses dated on or after (YYYY-MM-DD).
pageintegerPage number, starting at 1.
per_pageintegerItems per page, 1-100 (default 25).
projectstringOnly for this project — its numeric id or full FreeAgent URL.
to_datestringExpenses dated on or before (YYYY-MM-DD).
updated_sincestringOnly records updated since this ISO 8601 timestamp, e.g. 2026-01-01T00:00:00Z.
viewstringrecent or recurring expenses.

freeagent_list_bank_accounts List bank accounts

List bank, credit-card and PayPal accounts with their current balances. Use an account's URL with freeagent_list_bank_transactions. FreeAgent: GET /v2/bank_accounts.

ParameterTypeDescription
viewstringOnly one kind of account.

freeagent_list_bank_transactions List bank transactions

List the transactions on one bank account, e.g. view=unexplained for what still needs reconciling. A page too large for one reply returns the rows that fit and pagination.continue (page, per_page, skip, check) for the rest; attachment download links are left out (freeagent_get_attachment). FreeAgent: GET /v2/bank_transactions?bank_account=….

ParameterTypeDescription
bank_account *stringThe bank account's numeric id or full FreeAgent URL.
checkstringpagination.continue.check from the previous reply: lets the server notice when the page changed (it then restarts the page instead of missing rows).
from_datestringTransactions dated on or after (YYYY-MM-DD).
last_uploadedbooleanOnly transactions from the latest statement upload.
pageintegerPage number, starting at 1.
per_pageintegerItems per page, 1-100 (default 25).
skipintegerRows of this FreeAgent page already shown: pagination.continue.skip from the previous reply. Keep page, per_page and the filters the same.
to_datestringTransactions dated on or before (YYYY-MM-DD).
updated_sincestringOnly records updated since this ISO 8601 timestamp, e.g. 2026-01-01T00:00:00Z.
viewstringFilter (default all). unexplained = not yet reconciled.

freeagent_list_bank_transaction_explanations List bank transaction explanations

List the explanations (category, amounts, VAT, linked bill/invoice/transfer) on one bank account, by date. Each one names its bank_transaction. Use it when a transaction in freeagent_list_bank_transactions has more explanations than one reply holds. A page too large for one reply returns the rows that fit and pagination.continue (page, per_page, skip, check) for the rest; attachment download links are left out (freeagent_get_attachment). FreeAgent: GET /v2/bank_transaction_explanations?bank_account=….

ParameterTypeDescription
bank_account *stringThe bank account's numeric id or full FreeAgent URL.
checkstringpagination.continue.check from the previous reply: lets the server notice when the page changed (it then restarts the page instead of missing rows).
from_datestringExplanations dated on or after (YYYY-MM-DD).
pageintegerPage number, starting at 1.
per_pageintegerItems per page, 1-100 (default 25).
skipintegerRows of this FreeAgent page already shown: pagination.continue.skip from the previous reply. Keep page, per_page and the filters the same.
to_datestringExplanations dated on or before (YYYY-MM-DD).
updated_sincestringOnly records updated since this ISO 8601 timestamp, e.g. 2026-01-01T00:00:00Z.

freeagent_get_attachment Get one attachment

Fetch one file attachment (a bill's or a bank transaction explanation's receipt) by id or URL: file name, type, size, description and fresh download links (content_src, thumbnails) with their expiry (expires_at). Lists leave the links out because they expire. FreeAgent: GET /v2/attachments/:id.

ParameterTypeDescription
attachment *stringThe attachment's numeric id or full FreeAgent URL.

freeagent_list_projects List projects

List projects, optionally for one contact. FreeAgent: GET /v2/projects.

ParameterTypeDescription
contactstringOnly for this contact — its numeric id or full FreeAgent URL.
nestedbooleanEmbed the related contact instead of its URL.
pageintegerPage number, starting at 1.
per_pageintegerItems per page, 1-100 (default 25).
sortstringSort order; a leading - means descending.
viewstringFilter by status.

freeagent_list_tasks List tasks

List project tasks with their billing rates, optionally for one project. A task's URL is needed for freeagent_create_timeslip. FreeAgent: GET /v2/tasks.

ParameterTypeDescription
pageintegerPage number, starting at 1.
per_pageintegerItems per page, 1-100 (default 25).
projectstringOnly for this project — its numeric id or full FreeAgent URL.
sortstringSort order (default name).
updated_sincestringOnly records updated since this ISO 8601 timestamp, e.g. 2026-01-01T00:00:00Z.
viewstringFilter by status (default all).

freeagent_list_timeslips List timeslips

List logged time, optionally by date range, user, task or project; view=unbilled for time not yet invoiced. FreeAgent: GET /v2/timeslips.

ParameterTypeDescription
from_datestringTimeslips dated on or after (YYYY-MM-DD).
nestedbooleanEmbed related user, task and project instead of URLs.
pageintegerPage number, starting at 1.
per_pageintegerItems per page, 1-100 (default 25).
projectstringOnly for this project — its numeric id or full FreeAgent URL.
taskstringOnly for this task — its numeric id or full FreeAgent URL.
to_datestringTimeslips dated on or before (YYYY-MM-DD).
updated_sincestringOnly records updated since this ISO 8601 timestamp, e.g. 2026-01-01T00:00:00Z.
userstringOnly for this user — its numeric id or full FreeAgent URL.
viewstringFilter (default all).

freeagent_get_profit_and_loss Get profit and loss

Profit and loss summary — income, expenses, operating and retained profit — for a date range or an accounting period (defaults to the current year to date). FreeAgent: GET /v2/accounting/profit_and_loss/summary.

ParameterTypeDescription
accounting_periodstringAn accounting year instead of dates, e.g. 2025/26.
from_datestringPeriod start (YYYY-MM-DD).
to_datestringPeriod end (YYYY-MM-DD).

freeagent_get_balance_sheet Get the balance sheet

Balance sheet — capital and current assets, liabilities and owners' equity — as at a date (default today). FreeAgent: GET /v2/accounting/balance_sheet.

ParameterTypeDescription
as_at_datestringBalance sheet date (YYYY-MM-DD).

freeagent_get_trial_balance Get the trial balance

Trial balance summary — each ledger category's total — for a date range, or up to a date (default today). FreeAgent: GET /v2/accounting/trial_balance/summary.

ParameterTypeDescription
from_datestringPeriod start (YYYY-MM-DD).
to_datestringBalance date (YYYY-MM-DD).

freeagent_create_contact Create a contact

Create a client or supplier contact. Give either organisation_name, or first_name and last_name. FreeAgent: POST /v2/contacts.

ParameterTypeDescription
address1stringAddress line 1.
address2stringAddress line 2.
address3stringAddress line 3.
billing_emailstringEmail address invoices are sent to.
charge_sales_taxstringWhether to charge VAT/sales tax.
contact_name_on_invoicesbooleanShow the contact's name on invoices.
countrystringCountry name, e.g. United Kingdom.
default_payment_terms_in_daysintegerDefault payment terms for invoices to this contact.
emailstringEmail address.
first_namestringContact first name.
last_namestringContact last name.
localestringInvoice language locale, e.g. en.
mobilestringMobile number.
organisation_namestringOrganisation / company name.
phone_numberstringPhone number.
postcodestringPostcode.
regionstringRegion / county.
sales_tax_registration_numberstringThe contact's VAT registration number.
townstringTown or city.

freeagent_update_contact Update a contact

Update fields on an existing contact; only the fields you pass change. status=Hidden hides it (reversible with Active). FreeAgent: PUT /v2/contacts/:id.

ParameterTypeDescription
contact *stringThe contact's numeric id or full FreeAgent URL.
address1stringAddress line 1.
address2stringAddress line 2.
address3stringAddress line 3.
billing_emailstringEmail address invoices are sent to.
charge_sales_taxstringWhether to charge VAT/sales tax.
contact_name_on_invoicesbooleanShow the contact's name on invoices.
countrystringCountry name, e.g. United Kingdom.
default_payment_terms_in_daysintegerDefault payment terms for invoices to this contact.
emailstringEmail address.
first_namestringContact first name.
last_namestringContact last name.
localestringInvoice language locale, e.g. en.
mobilestringMobile number.
organisation_namestringOrganisation / company name.
phone_numberstringPhone number.
postcodestringPostcode.
regionstringRegion / county.
sales_tax_registration_numberstringThe contact's VAT registration number.
statusstringHide or unhide the contact.
townstringTown or city.

freeagent_create_draft_invoice Create a draft invoice

Create a sales invoice in DRAFT status. Nothing is sent to the customer and nothing is posted as income until it is marked sent in FreeAgent; a draft can be edited or discarded there. FreeAgent: POST /v2/invoices.

ParameterTypeDescription
contact *stringThe contact being invoiced's numeric id or full FreeAgent URL.
dated_on *stringInvoice date (YYYY-MM-DD).
invoice_items *arrayThe invoice lines.
payment_terms_in_days *integerPayment terms in days; 0 = due on receipt.
commentsstringComments printed on the invoice.
currencystringISO currency code, e.g. GBP (defaults to the company currency).
discount_percentnumberWhole-invoice discount percentage.
due_onstringExplicit due date, if not derived from payment terms (YYYY-MM-DD).
exchange_ratenumberExchange rate for a foreign-currency invoice.
po_referencestringThe customer's purchase-order reference.
projectstringThe project's numeric id or full FreeAgent URL.
referencestringInvoice reference/number; omit to use the next in sequence.

freeagent_create_timeslip Log a timeslip

Log time against a project task for a user. Get the user from freeagent_get_current_user and the task from freeagent_list_tasks. Editable or removable in FreeAgent afterwards. FreeAgent: POST /v2/timeslips.

ParameterTypeDescription
dated_on *stringDay the work was done (YYYY-MM-DD).
hours *numberHours worked, e.g. 1.5.
project *stringThe project's numeric id or full FreeAgent URL.
task *stringThe task's numeric id or full FreeAgent URL.
user *stringThe user's numeric id or full FreeAgent URL.
commentstringWhat the time was spent on.

freeagent_start_timer Start a timeslip timer

Start a live FreeAgent timer. Give project + task (freeagent_list_tasks lists tasks, each with its project URL): the server starts the timer on a 0-hour timeslip of that user, project, task and date (default user: the signed-in user). It reuses such a 0-hour timeslip if one exists, else it creates one. Or give timeslip to start the timer of an existing timeslip; its hours so far are kept. If a timer already runs on the same project and task for that user, that timeslip is returned and nothing new is created. Timers on other tasks are listed in timers_running_before and are not stopped by this…

ParameterTypeDescription
commentstringWhat the time is spent on (new timeslip only).
dated_onstringDate of the new timeslip (YYYY-MM-DD). Default: today in UK time.
projectstringThe project's numeric id or full FreeAgent URL (with task).
taskstringThe task's numeric id or full FreeAgent URL (with project).
timeslipstringAn existing timeslip's numeric id or full FreeAgent URL. Leave out project and task when you give it.
userstringThe user's numeric id or full FreeAgent URL. Default: the signed-in user.

freeagent_stop_timer Stop a timeslip timer

Stop a running FreeAgent timer. FreeAgent adds the timed hours to the timeslip and keeps it. Without timeslip, the server stops the one running timer of the signed-in user (it refuses when none or several run, and lists them). FreeAgent: DELETE /v2/timeslips/:id/timer.

ParameterTypeDescription
timeslipstringThe running timeslip's numeric id or full FreeAgent URL. Default: the signed-in user's only running timer.