Bill.pt MCP by usefulapi

v1.6.1
io.usefulapi/bill-pt Checked 2 days ago Published 23 hours ago

List invoices, contacts, items and stock, and create contacts in Bill.pt.

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

billpt_list_document_types List document types

List document types (invoice FT, simplified invoice FS, credit note NC and others) with their ids. Bill.pt API: GET /api/1.0/tipos-documento. Use the ids in other tools.

ParameterTypeDescription
pageintegerPage number (default 1). Use last_page in the response to read further pages.

billpt_list_payment_methods List payment methods

List payment methods with their ids. Bill.pt API: GET /api/1.0/metodos-pagamento. Use the ids in other tools.

ParameterTypeDescription
pageintegerPage number (default 1). Use last_page in the response to read further pages.

billpt_list_taxes List taxes

List tax (VAT) rates configured in the account, with their ids. Bill.pt API: GET /api/1.0/impostos. Use the ids in other tools.

ParameterTypeDescription
pageintegerPage number (default 1). Use last_page in the response to read further pages.

billpt_list_units List units of measure

List units of measure with their ids. Bill.pt API: GET /api/1.0/unidades-medida. Use the ids in other tools.

ParameterTypeDescription
pageintegerPage number (default 1). Use last_page in the response to read further pages.

billpt_list_series List numbering series

List document numbering series with their ids. Bill.pt API: GET /api/1.0/series. Use the ids in other tools.

ParameterTypeDescription
pageintegerPage number (default 1). Use last_page in the response to read further pages.

billpt_list_stores List stores

List stores and warehouses with their ids. Bill.pt API: GET /api/1.0/lojas. Use the ids in other tools.

ParameterTypeDescription
pageintegerPage number (default 1). Use last_page in the response to read further pages.

billpt_list_contacts List contacts

List customers and suppliers (contacts) with their tax numbers, addresses and payment terms. Bill.pt API: GET /api/1.0/contatos.

ParameterTypeDescription
codestringPart of the contact code to match (case-insensitive).
emailstringExact email address of the contact.
namestringPart of the contact name to match (case-insensitive).
pageintegerPage number (default 1). Use last_page in the response to read further pages.
tax_numberstringPart of the tax number (NIF) to match (case-insensitive).

billpt_create_contact Create contact

Create a customer or supplier (contact) in the Bill.pt account. Bill.pt API: POST /api/1.0/contatos. The code must be unique in the account. The record is saved at once.

ParameterTypeDescription
name *stringContact name, max 30 characters. Use 'Consumidor Final' when unknown.
addressstringStreet address, max 100 characters.
citystringCity, max 50 characters.
codestringYour own contact code, unique in the account, max 30 characters.
countrystringISO 3166-1 alpha-2 country code, for example PT (default PT).
emailstringEmail address, max 150 characters.
phonestringContact phone number, max 30 characters.
postal_codestringPostal code, max 15 characters.
tax_numberstringTax number (NIF), max 15 characters.

billpt_list_items List items

List products and services (items) with their codes, prices, tax rate and stock flag. Bill.pt API: GET /api/1.0/items.

ParameterTypeDescription
barcodestringPart of the barcode to match (case-insensitive).
codestringPart of the item code to match (case-insensitive).
descriptionstringPart of the item description to match (case-insensitive).
pageintegerPage number (default 1). Use last_page in the response to read further pages.
servicebooleantrue = services only, false = products only.

billpt_list_stock List stock

Read stock levels per item and store at a date (default now). Bill.pt API: GET /api/1.0/stock.

ParameterTypeDescription
datestringStock date and time, 'yyyy-mm-dd hh:mm:ss'. Default: now (Portugal time).
item_idsarrayItem ids to filter by.
pageintegerPage number (default 1). Use last_page in the response to read further pages.
store_idsarrayStore ids to filter by.

billpt_list_documents List documents

List invoices, receipts and other sales documents, filtered by type, contact or number. Bill.pt API: GET /api/1.0/documentos. Read-only: this tool never creates or changes a document.

ParameterTypeDescription
contact_idintegerContact id from billpt_list_contacts.
document_type_idintegerDocument type id from billpt_list_document_types.
invoice_numberstringPart of the document number, for example 'FT B2016/1' to match (case-insensitive).
order_bystringField to sort by (default: the API order).
order_directionstringSort direction. Used with order_by (default asc).
pageintegerPage number (default 1). Use last_page in the response to read further pages.