Bilflo MCP by usefulapi

v1.21.1
io.usefulapi/bilflo Checked 2 days ago Published 23 hours ago

Read Bilflo clients, contract jobs, contractors and reports; update jobs, terminate or reopen them.

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

bilflo_list_clients List clients

The staffing company's clients (the customers contractors are placed with): id, business name, client code, phone, active flag. Each row carries the number of addresses and contacts; set include_details for the full address and contact lists. Bilflo returns every client at once, so this tool filters and pages the list itself. GET /v1/Clients.

ParameterTypeDescription
active_onlybooleanOnly active clients.
include_detailsbooleanInclude each client's addresses and contacts (large; use with a small limit).
limitintegerRows to return, 1-200 (default 50).
offsetintegerRows to skip (default 0). Bilflo does not page, so the list is cut here.
searchstringOnly clients whose business name or client code contains this text (case-insensitive).

bilflo_get_client Get client

One client with its addresses and contacts. GET /v1/Clients/{clientId}.

ParameterTypeDescription
client_id *integerBilflo client id (from bilflo_list_clients).

bilflo_list_client_contacts List client contacts

The contacts (people at the client: name, title, phone, email, active flag) of one client. GET /v1/Clients/contact/{clientId}.

ParameterTypeDescription
client_id *integerBilflo client id.

bilflo_list_client_addresses List client addresses

The addresses (work sites and billing addresses) of one client. GET /v1/Clients/addresses/{clientId}.

ParameterTypeDescription
client_id *integerBilflo client id.

bilflo_list_client_agreements List client agreements

The agreements (billing terms) on file for one client. GET /v1/Clients/agreements/{clientId}.

ParameterTypeDescription
client_id *integerBilflo client id.

bilflo_list_client_contract_pos List client contract POs

The contract purchase orders of one client (PO numbers and amounts used for billing). GET /v1/Clients/contractPOs/{clientId}.

ParameterTypeDescription
client_id *integerBilflo client id.

bilflo_list_client_invoice_groups List client invoice groups

The contract invoice groups of one client (which jobs are invoiced together). GET /v1/Clients/contractInvoiceGroups/{clientId}.

ParameterTypeDescription
client_id *integerBilflo client id.

bilflo_get_contract_job Get contract job

One contract job (a contractor placed with a client): client, contractor, title, start/end dates, status, overtime rule, timecard method, per-diem/expense/sick-time flags, workers' comp code and burden. GET /v1/ContractJobs/{jobId}.

ParameterTypeDescription
job_id *integerBilflo contract job id.

bilflo_list_job_pay_bill_items List job pay/bill items

The pay and bill rates (pay/bill items such as Regular, Overtime) of one contract job. GET /v1/ContractJobs/{jobId}/payBillItems.

ParameterTypeDescription
job_id *integerBilflo contract job id.

bilflo_list_job_approvers List job approvers

Who approves the timecards of one contract job. GET /v1/ContractJobs/{jobId}/approvers.

ParameterTypeDescription
job_id *integerBilflo contract job id.

bilflo_list_job_purchase_orders List job purchase orders

The purchase orders attached to one contract job. GET /v1/ContractJobs/{jobId}/purchaseOrders.

ParameterTypeDescription
job_id *integerBilflo contract job id.

bilflo_get_job_custom_fields Get job custom fields

The custom field values of one contract job. GET /v1/ContractJobs/{jobId}/customFields.

ParameterTypeDescription
job_id *integerBilflo contract job id.

bilflo_get_direct_hire Get direct hire

One direct hire (a permanent placement): header, fee/split data, contacts and custom fields as Bilflo returns them. GET /v1/DirectHires/{jobId}.

ParameterTypeDescription
job_id *integerBilflo direct hire job id.

bilflo_get_contractor Get contractor

One contractor: profile (name, email, phone, address, W2/1099), jobs, checks paid, work status, benefit settings and custom fields. Social security number, date of birth and bank details are removed from the reply. GET /v1/Users/contractors/{contractorId}.

ParameterTypeDescription
contractor_id *integerBilflo contractor id.

bilflo_get_team_member Get team member

One back-office team member (staffing company user): profile, roles and compensation settings. Government ids and bank details are removed. GET /v1/Users/teamMember/{id}.

ParameterTypeDescription
team_member_id *integerBilflo team member (user) id.

bilflo_list_overtime_rules List overtime rules

The company's overtime rules (id, name, state). Use the ids with bilflo_update_contract_job. GET /v1/OvertimeRules.

bilflo_get_company_setting Get company setting

One of the company's lookup lists: workers_comp_codes, payment_terms, remittances, burden_settings, benefit_rules, states or pay_bill_items. GET /v1/CompanySettings/{setting}.

ParameterTypeDescription
setting *stringWhich list to read.

bilflo_list_custom_fields List custom fields

The company's custom fields (active and inactive) with type, requiredness per service offering and, for list fields, the selectable items. GET /v1/CustomFields.

bilflo_list_custom_field_items List custom field items

The selectable items of one custom list field (id from bilflo_list_custom_fields). Items of a field named like personal data (SSN, date of birth, bank account, password) are not shown. GET /v1/CustomFields/items.

ParameterTypeDescription
custom_field_id *integerCustom field id (from bilflo_list_custom_fields).

bilflo_run_report Run custom report

Run one of the company's saved custom reports and return its rows. Report parameters are report specific key/value pairs, for example {"Start": "2026-01-01", "End": "2026-01-31"}. Reads data only. POST /v1/Reports/{reportId}/Execute.

ParameterTypeDescription
report_id *integerBilflo custom report id.
parametersobjectReport parameters as key/value pairs.

bilflo_create_client Create client

WRITE: creates a new client (customer) in Bilflo with the given business name and returns its id. It is visible to the whole staffing company and used for billing, so check bilflo_list_clients first to avoid a duplicate. POST /v1/Clients.

ParameterTypeDescription
business_name *stringBusiness name of the new client.

bilflo_update_client Update client

WRITE: changes only the client fields you pass (business name, client code, phone, fax, active flag); the rest stay as they are. Setting is_active=false deactivates the client. PATCH /v1/Clients/{clientId}.

ParameterTypeDescription
client_id *integerBilflo client id.
business_namestring
client_codestring
faxstring
is_activebooleanfalse deactivates the client, true reactivates it.
phonestring

bilflo_update_contract_job Update contract job

WRITE: changes only the contract job fields you pass (title, overtime rule, workers' comp code, burden, per-diem/expenses/sick-time/meal-period flags); the rest stay as they are. Pay and bill rates change payroll and invoices, so confirm values with the user. Client, contractor, dates and status cannot be changed here. PATCH /v1/ContractJobs/{jobId}.

ParameterTypeDescription
job_id *integerBilflo contract job id.
burden_manualnumberManual burden value.
is_allow_skip_lunchboolean
is_expenses_enabledboolean
is_per_diem_enabledboolean
is_sick_time_enabledboolean
is_waive_meal_periodboolean
job_titlestring
overtime_rule_idintegerOvertime rule id (bilflo_list_overtime_rules).
workers_comp_code_idintegerWorkers' comp code id (bilflo_get_company_setting workers_comp_codes).

bilflo_terminate_contract_job Terminate contract job

WRITE: ends a contract job on the given date (the contractor stops being placed with the client; no more timecards are expected after it). Affects payroll and invoicing. A terminated job can be brought back with bilflo_reopen_contract_job. POST /v1/ContractJobs/terminate.

ParameterTypeDescription
end_date *stringLast day of the job, yyyy-mm-dd.
job_id *integerBilflo contract job id.

bilflo_reopen_contract_job Reopen contract job

WRITE: reopens a terminated contract job (like the Open Job button): the job becomes active again, the end date is cleared, the contractor is made active and the missing timecards from the reopen date's week are created. Fails if the job is not terminated or the company plan has no room for another active job. POST /v1/ContractJobs/{jobId}/reopen.

ParameterTypeDescription
job_id *integerBilflo contract job id.
reopen_date *stringDate to reopen from, yyyy-mm-dd (not before the job start).

bilflo_update_contractor Update contractor contact details

WRITE: changes only the contractor contact fields you pass (name, title, email, phone, address, company); the rest stay as they are. Tax, bank, social security number and activation are not changeable here. PATCH /v1/Users/contractors/{contractorId}.

ParameterTypeDescription
contractor_id *integerBilflo contractor id.
address1string
address2string
citystring
contractor_companystringThe contractor's own company name (1099).
email_addressstring
first_namestring
last_namestring
middle_namestring
phonestring
phone_extstring
state_codestringTwo-letter state code.
titlestring
zip_codestring