FastBill MCP by usefulapi
v1.17.1Read FastBill customers, invoices, estimates, expenses; create customers, invoices, projects.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
fastbill_list_customers List customers
List customers (name, address, e-mail, VAT id, payment terms and bank details as stored in FastBill). Filter by search term (organization, name, address, zip, e-mail or tags), customer number, country or city. customer.get.
| Parameter | Type | Description |
|---|---|---|
city | string | |
country_code | string | ISO 3166 alpha-2 country code, e.g. DE. |
customer_number | string | Exact customer number. |
limit | integer | Results per call, 1-100 (default 25). Every call counts against FastBill's hourly API quota. |
offset | integer | Index of the first result, from 0 (default 0). Pass the previous reply's next_offset. |
term | string | Search term matched against organization, first/last name, address, zip code, e-mail and tags. |
fastbill_get_customer Get customer
One customer by FastBill customer id. customer.get with CUSTOMER_ID.
| Parameter | Type | Description |
|---|---|---|
customer_id * | integer | FastBill customer id. |
fastbill_list_contacts List contacts
List contact persons of customers (name, position, e-mail, phone). Filter by customer, search term or contact id. contact.get.
| Parameter | Type | Description |
|---|---|---|
contact_id | integer | One contact id. |
customer_id | integer | Only contacts of this customer id. |
customer_number | string | |
limit | integer | Results per call, 1-100 (default 25). Every call counts against FastBill's hourly API quota. |
offset | integer | Index of the first result, from 0 (default 0). Pass the previous reply's next_offset. |
term | string | Search term matched against organization, name, address, zip code, e-mail and tags. |
fastbill_list_invoices List invoices
List outgoing invoices, drafts and credit notes with totals, state (draft, unpaid, overdue, paid, canceled), dates and line items. Filter by customer, number, type, date ranges (invoice date, due date, paid date, last update). invoice.get.
| Parameter | Type | Description |
|---|---|---|
customer_id | integer | |
end_date | string | Invoices dated up to this day. |
end_due_date | string | A date, yyyy-mm-dd. |
end_lastupdate | string | A date, yyyy-mm-dd. |
end_paid_date | string | A date, yyyy-mm-dd. |
invoice_number | string | |
limit | integer | Results per call, 1-100 (default 25). Every call counts against FastBill's hourly API quota. |
offset | integer | Index of the first result, from 0 (default 0). Pass the previous reply's next_offset. |
start_date | string | Invoices dated on or after this day. |
start_due_date | string | A date, yyyy-mm-dd. |
start_lastupdate | string | Changed on or after this day. |
start_paid_date | string | A date, yyyy-mm-dd. |
type | string | outgoing = finalized invoice, draft, credit = credit note. |
fastbill_get_invoice Get invoice
One invoice by FastBill invoice id, with all line items, VAT, payments and the document URL. invoice.get with INVOICE_ID.
| Parameter | Type | Description |
|---|---|---|
invoice_id * | integer | FastBill invoice id. |
fastbill_list_recurring_invoices List recurring invoices
List recurring invoice templates (customer, interval data, totals, items). recurring.get.
| Parameter | Type | Description |
|---|---|---|
invoice_id | integer | One recurring invoice id. |
limit | integer | Results per call, 1-100 (default 25). Every call counts against FastBill's hourly API quota. |
offset | integer | Index of the first result, from 0 (default 0). Pass the previous reply's next_offset. |
fastbill_list_estimates List estimates
List estimates (quotes) with state (a created, b sent, c negotiation, d accepted, e rejected, f invoiced), totals and items. estimate.get.
| Parameter | Type | Description |
|---|---|---|
customer_id | integer | |
end_date | string | A date, yyyy-mm-dd. |
estimate_id | integer | |
estimate_number | string | |
limit | integer | Results per call, 1-100 (default 25). Every call counts against FastBill's hourly API quota. |
offset | integer | Index of the first result, from 0 (default 0). Pass the previous reply's next_offset. |
start_date | string | A date, yyyy-mm-dd. |
fastbill_list_expenses List expenses
List expense entries (supplier, category, net/VAT/gross, dates, document URL). Filter by invoice number or date ranges. expense.get.
| Parameter | Type | Description |
|---|---|---|
end_date | string | A date, yyyy-mm-dd. |
end_paid_date | string | A date, yyyy-mm-dd. |
invoice_id | integer | |
invoice_number | string | |
limit | integer | Results per call, 1-100 (default 25). Every call counts against FastBill's hourly API quota. |
offset | integer | Index of the first result, from 0 (default 0). Pass the previous reply's next_offset. |
start_date | string | A date, yyyy-mm-dd. |
start_paid_date | string | A date, yyyy-mm-dd. |
fastbill_list_revenues List revenues
List revenue entries (income booked in FastBill: customer, totals, dates, payments). Takes the same filters as invoices. revenue.get.
| Parameter | Type | Description |
|---|---|---|
customer_id | integer | |
end_date | string | A date, yyyy-mm-dd. |
end_paid_date | string | A date, yyyy-mm-dd. |
invoice_number | string | |
limit | integer | Results per call, 1-100 (default 25). Every call counts against FastBill's hourly API quota. |
offset | integer | Index of the first result, from 0 (default 0). Pass the previous reply's next_offset. |
start_date | string | A date, yyyy-mm-dd. |
start_paid_date | string | A date, yyyy-mm-dd. |
fastbill_list_articles List products
List products and services (article number, type, title, unit price, VAT, unit). article.get.
| Parameter | Type | Description |
|---|---|---|
article_id | integer | |
article_number | string | |
limit | integer | Results per call, 1-100 (default 25). Every call counts against FastBill's hourly API quota. |
offset | integer | Index of the first result, from 0 (default 0). Pass the previous reply's next_offset. |
fastbill_list_projects List projects
List projects (name, customer, hourly rate, VAT, start/end date). project.get.
| Parameter | Type | Description |
|---|---|---|
customer_id | integer | |
limit | integer | Results per call, 1-100 (default 25). Every call counts against FastBill's hourly API quota. |
offset | integer | Index of the first result, from 0 (default 0). Pass the previous reply's next_offset. |
project_id | integer |
fastbill_list_time_entries List time entries
List work time entries (customer, project, date, minutes, billable minutes, comment, invoice). Without filters FastBill returns the latest entries of the current month. time.get.
| Parameter | Type | Description |
|---|---|---|
customer_id | integer | |
date | string | One day. |
end_date | string | A date, yyyy-mm-dd. |
limit | integer | Results per call, 1-100 (default 25). Every call counts against FastBill's hourly API quota. |
offset | integer | Index of the first result, from 0 (default 0). Pass the previous reply's next_offset. |
project_id | integer | |
start_date | string | A date, yyyy-mm-dd. |
time_id | integer |
fastbill_list_templates List document templates
List the invoice/estimate templates (template id, name, hash). Use a template id with the create tools. Ids change whenever a template is edited. template.get.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Results per call, 1-100 (default 25). Every call counts against FastBill's hourly API quota. |
offset | integer | Index of the first result, from 0 (default 0). Pass the previous reply's next_offset. |
fastbill_create_customer Create customer
WRITE: create a customer. customer_type is required; a business needs organization, a consumer needs last_name. Bank details are not accepted by this tool. FastBill does not check for duplicates, so search with fastbill_list_customers first. customer.create.
| Parameter | Type | Description |
|---|---|---|
customer_type * | string | business or consumer. |
academic_degree | string | |
address | string | |
address_2 | string | |
city | string | |
country_code | string | ISO 3166 alpha-2, e.g. DE. |
currency_code | string | |
customer_number | string | Own customer number (FastBill assigns one if omitted). |
days_for_payment | integer | Days until payment is due (stored with payment_type 1 only). |
email | string | |
first_name | string | |
last_name | string | Required for a consumer. |
mobile | string | |
organization | string | Company name (required for a business customer). |
payment_type | integer | 1 transfer, 3 cash, 4 PayPal, 5 advance payment, 6 credit card (direct debit needs bank details: set it in FastBill). |
phone | string | |
position | string | |
salutation | string | |
tags | string | Comma-separated tags. |
vat_id | string | VAT identification number. |
website | string | |
zipcode | string |
fastbill_update_customer Update customer
WRITE: update fields of an existing customer; only the fields you pass change. Bank details are not accepted by this tool. customer.update.
| Parameter | Type | Description |
|---|---|---|
customer_id * | integer | FastBill customer id. |
academic_degree | string | |
address | string | |
address_2 | string | |
city | string | |
country_code | string | ISO 3166 alpha-2, e.g. DE. |
currency_code | string | |
customer_number | string | Own customer number (FastBill assigns one if omitted). |
customer_type | string | |
days_for_payment | integer | Days until payment is due (stored with payment_type 1 only). |
email | string | |
first_name | string | |
last_name | string | Required for a consumer. |
mobile | string | |
organization | string | Company name (required for a business customer). |
payment_type | integer | 1 transfer, 3 cash, 4 PayPal, 5 advance payment, 6 credit card (direct debit needs bank details: set it in FastBill). |
phone | string | |
position | string | |
salutation | string | |
tags | string | Comma-separated tags. |
vat_id | string | VAT identification number. |
website | string | |
zipcode | string |
fastbill_create_invoice Create invoice
WRITE: create an invoice for a customer from line items. FastBill stores it as a draft; it gets its number and becomes final only with fastbill_complete_invoice, and it is never sent by this tool. Check the result with fastbill_get_invoice. invoice.create.
| Parameter | Type | Description |
|---|---|---|
customer_id * | integer | FastBill customer id (see fastbill_list_customers). |
items * | array | Line items (1-100). |
cash_discount_days | integer | |
cash_discount_percent | number | |
contract_reference | string | |
currency_code | string | |
customer_order_reference | string | |
delivery_date | string | A date, yyyy-mm-dd. |
discount_percent | number | Document discount in percent. |
introtext | string | Introduction text above the items. |
invoice_date | string | A date, yyyy-mm-dd. |
invoice_title | string | |
is_gross | boolean | True when unit_price values are gross. |
service_period_end | string | A date, yyyy-mm-dd. |
service_period_start | string | A date, yyyy-mm-dd. |
template_id | integer | Template id from fastbill_list_templates. |
vat_case | string | VAT case (default standard). |
fastbill_complete_invoice Finalize invoice
WRITE, NOT REVERSIBLE: turn a draft invoice into a final invoice. FastBill assigns the invoice number and PDF; a final invoice can no longer be edited (it can only be canceled in FastBill). Nothing is sent to the customer. Only call this after the user confirmed the draft. invoice.complete.
| Parameter | Type | Description |
|---|---|---|
invoice_id * | integer | FastBill id of the DRAFT invoice. |
fastbill_set_invoice_paid Mark invoice paid
WRITE: mark a final invoice as paid, with the payment date and method. invoice.setpaid.
| Parameter | Type | Description |
|---|---|---|
invoice_id * | integer | FastBill invoice id. |
paid_date | string | Date the payment arrived (default: FastBill's choice, today). |
payment_method | string | e.g. paypal, cash, bank name. |
fastbill_create_estimate Create estimate
WRITE: create an estimate (quote) for a customer from line items. It is not sent. estimate.create.
| Parameter | Type | Description |
|---|---|---|
customer_id * | integer | FastBill customer id (see fastbill_list_customers). |
items * | array | Line items (1-100). |
currency_code | string | |
discount_percent | number | Document discount in percent. |
estimate_date | string | A date, yyyy-mm-dd. |
introtext | string | Introduction text above the items. |
is_gross | boolean | True when unit_price values are gross. |
template_id | integer | Template id from fastbill_list_templates. |
fastbill_create_article Create product
WRITE: create a product or service (article number, title and unit price are required). article.create.
| Parameter | Type | Description |
|---|---|---|
article_number * | string | Unique article number. |
title * | string | |
unit_price * | number | |
currency_code | string | |
description | string | |
is_gross | boolean | True when unit_price is gross. |
tags | string | |
type | string | |
unit | string | |
vat_percent | number |
fastbill_create_project Create project
WRITE: create a project for a customer (name and customer are required). project.create.
| Parameter | Type | Description |
|---|---|---|
customer_id * | integer | FastBill customer id. |
project_name * | string | |
currency_code | string | |
end_date | string | A date, yyyy-mm-dd. |
hour_price | number | Hourly rate. |
start_date | string | A date, yyyy-mm-dd. |
vat_percent | number |
fastbill_create_time_entry Create time entry
WRITE: book a work time entry on a project (customer, project and start time are required). time.create.
| Parameter | Type | Description |
|---|---|---|
customer_id * | integer | |
project_id * | integer | |
start_time * | string | Date and time, YYYY-MM-DD hh:mm:ss. |
article_id | integer | The service (article id) of the entry. |
billable_minutes | integer | |
comment | string | |
date | string | A date, yyyy-mm-dd. |
end_time | string | Date and time, YYYY-MM-DD hh:mm:ss. |
minutes | integer | Duration in minutes (not calculated from the times). |