Bill.pt MCP by usefulapi
v1.6.1List 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.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page 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.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page 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.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page 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.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page 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.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page 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.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page 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.
| Parameter | Type | Description |
|---|---|---|
code | string | Part of the contact code to match (case-insensitive). |
email | string | Exact email address of the contact. |
name | string | Part of the contact name to match (case-insensitive). |
page | integer | Page number (default 1). Use last_page in the response to read further pages. |
tax_number | string | Part 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.
| Parameter | Type | Description |
|---|---|---|
name * | string | Contact name, max 30 characters. Use 'Consumidor Final' when unknown. |
address | string | Street address, max 100 characters. |
city | string | City, max 50 characters. |
code | string | Your own contact code, unique in the account, max 30 characters. |
country | string | ISO 3166-1 alpha-2 country code, for example PT (default PT). |
email | string | Email address, max 150 characters. |
phone | string | Contact phone number, max 30 characters. |
postal_code | string | Postal code, max 15 characters. |
tax_number | string | Tax 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.
| Parameter | Type | Description |
|---|---|---|
barcode | string | Part of the barcode to match (case-insensitive). |
code | string | Part of the item code to match (case-insensitive). |
description | string | Part of the item description to match (case-insensitive). |
page | integer | Page number (default 1). Use last_page in the response to read further pages. |
service | boolean | true = 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.
| Parameter | Type | Description |
|---|---|---|
date | string | Stock date and time, 'yyyy-mm-dd hh:mm:ss'. Default: now (Portugal time). |
item_ids | array | Item ids to filter by. |
page | integer | Page number (default 1). Use last_page in the response to read further pages. |
store_ids | array | Store 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.
| Parameter | Type | Description |
|---|---|---|
contact_id | integer | Contact id from billpt_list_contacts. |
document_type_id | integer | Document type id from billpt_list_document_types. |
invoice_number | string | Part of the document number, for example 'FT B2016/1' to match (case-insensitive). |
order_by | string | Field to sort by (default: the API order). |
order_direction | string | Sort direction. Used with order_by (default asc). |
page | integer | Page number (default 1). Use last_page in the response to read further pages. |