Bsale MCP by usefulapi
io.usefulapi/bsale
Serveur MCP OK 25 outils
Read Bsale products, documents and stock; manage customers, prices, receipts and payments.
Fiche technique
- Auteur
- usefulapi.io (espace de noms du registre)
- Dépôt
- github.com/m190/usefulapi-mcp
- Site
- usefulapi.io/bsale
- Version
- 1.11.4
- Transport
- Streamable HTTP
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://bsale.usefulapi.io/mcp Streamable HTTP
- Outils
- 25
- Catégories
- Finance et paiement, Commerce et marketing
- Dernière mise à jour
- 18 nov. 2026
- Publication
- 18 nov. 2026
Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/io.usefulapi/bsale)<a href="https://latlas.dev/mcp/io.usefulapi/bsale"><img src="https://latlas.dev/badge/fiche/io.usefulapi/bsale.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://bsale.usefulapi.io/mcp
- Dernier résultat
- OK 28 nov. 2026, 18:05
- Temps de réponse
- 202 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- bsale-mcp 1.11.4
- Outils
- 25
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 18:05 | OK | 202 ms | 25 |
Outils exposés (25, réponse à tools/list, 28 nov. 2026)
bsale_list_documents
List documents (sales)
List issued documents (boletas, facturas, notas de credito, guias...) newest-first as Bsale returns them, with number, dates, net/tax/total amounts, state, SII status and public PDF link. Filter by emission date range, document type, client, office, folio number or SII code. Use expand (details, payments, client, office, document_type) to embed related data. GET /v1/documents.json.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| emitted_from | string | non | A date, yyyy-mm-dd. |
| emitted_to | string | non | A date, yyyy-mm-dd. |
| document_type_id | integer | non | Document type id (see bsale_list_document_types). |
| code_sii | integer | string | non | Tax code of the document type, e.g. 33 factura, 39 boleta, 61 nota de credito (Chile) or "01" (Peru). Not available for Mexico: use document_type_id. |
| client_id | integer | non | |
| client_code | string | non | Client tax id (RUT/RUC/RFC) as stored in Bsale. |
| office_id | integer | non | Branch (sucursal) id. |
| number | integer | non | Document folio number. |
| informed_sii | integer | non | Tax authority declaration status (SII, SUNAT or SAT): 0 accepted, 1 sent, 2 rejected. |
| state | number | number | non | 0 = active records (Bsale default), 1 = inactive. |
| expand | array<string> | non | |
| limit | integer | non | Results per page, 1-50 (default 25). |
| offset | integer | non | Items to skip (default 0). Pass the previous reply's next_offset. |
bsale_get_document
Get document
One document by id with its amounts, dates, state and links. Use expand=[details,payments,client,office,document_type,references,sellers] to include line items, payments and related records. GET /v1/documents/{id}.json.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| document_id | integer | oui | Bsale document id. |
| expand | array<string> | non |
bsale_sales_summary
Sales summary
Totals of sales documents (net, tax, total, count) by month, document type and office for a date range; set per_document to list each document instead. Good for 'how much did we sell in September?'. GET /v1/documents/summary.json.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| emitted_from | string | non | A date, yyyy-mm-dd. |
| emitted_to | string | non | A date, yyyy-mm-dd. |
| code_sii | array<integer | string> | non | Only these document type tax codes, e.g. [33, 39] (Chile) or ["01", "03"] (Peru). |
| per_document | boolean | non | true = one row per document instead of grouped totals. |
| limit | integer | non | Results per page, 1-50 (default 25). |
| offset | integer | non | Items to skip (default 0). Pass the previous reply's next_offset. |
bsale_list_returns
List returns
List returns (devoluciones) with date, motive, amounts and the credit note issued. Use expand=[reference_document,credit_note,details] for more. GET /v1/returns.json.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| expand | array<string> | non | |
| limit | integer | non | Results per page, 1-50 (default 25). |
| offset | integer | non | Items to skip (default 0). Pass the previous reply's next_offset. |
bsale_list_document_types
List document types
List document types (boleta, factura, nota de credito, guia de despacho...) with their id and tax (SII) code. Use the id when filtering documents. GET /v1/document_types.json.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| code_sii | integer | string | non | |
| state | number | number | non | 0 = active records (Bsale default), 1 = inactive. |
| limit | integer | non | Results per page, 1-50 (default 25). |
| offset | integer | non | Items to skip (default 0). Pass the previous reply's next_offset. |
bsale_list_clients
List clients
List customers with name, tax id (code), email, phone, address, credit limit and loyalty points. Filter by tax id, name, last name or email. GET /v1/clients.json.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| code | string | non | Client tax id (RUT/RUC/RFC) exactly as stored. |
| first_name | string | non | |
| last_name | string | non | |
| string | non | ||
| state | number | number | non | 0 = active records (Bsale default), 1 = inactive. |
| expand | array<string> | non | |
| limit | integer | non | Results per page, 1-50 (default 25). |
| offset | integer | non | Items to skip (default 0). Pass the previous reply's next_offset. |
bsale_get_client
Get client
One customer by id. Use expand=[contacts,attributes,addresses] to include contacts and extra attributes. GET /v1/clients/{id}.json.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| client_id | integer | oui | |
| expand | array<string> | non |
bsale_client_unpaid_documents
Client unpaid documents
A client's receivables: overdue and upcoming debt, total owed, and the unpaid documents with amounts. Give client_id or client_code. GET /v1/clients/unpaid_documents.json.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| client_id | integer | non | |
| client_code | string | non | Client tax id (RUT/RUC/RFC). |
| as_of | string | non | Date that splits overdue from upcoming (default: today). |
bsale_list_products
List products
List products and services (name, description, class, stock control, state). SKUs live on variants: see bsale_list_variants. GET /v1/products.json.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| product_type_id | integer | non | |
| classification | integer | non | 0 product, 1 service, 3 pack/promotion. |
| state | number | number | non | 0 = active records (Bsale default), 1 = inactive. |
| expand | array<string> | non | |
| limit | integer | non | Results per page, 1-50 (default 25). |
| offset | integer | non | Items to skip (default 0). Pass the previous reply's next_offset. |
bsale_get_product
Get product
One product by id; expand=[product_type] adds the type. GET /v1/products/{id}.json.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| product_id | integer | oui | |
| expand | array<string> | non |
bsale_list_variants
List variants (SKUs)
List product variants, the sellable SKUs: description, SKU code, barcode, stock settings and product link. Search by SKU code, barcode, description or product id. GET /v1/variants.json.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| code | string | non | SKU code. |
| barcode | string | non | |
| description | string | non | Variant name. |
| product_id | integer | non | |
| state | number | number | non | 0 = active records (Bsale default), 1 = inactive. |
| expand | array<string> | non | |
| limit | integer | non | Results per page, 1-50 (default 25). |
| offset | integer | non | Items to skip (default 0). Pass the previous reply's next_offset. |
bsale_get_variant
Get variant
One variant (SKU) by id; expand=[product] embeds the product. GET /v1/variants/{id}.json.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| variant_id | integer | oui | |
| expand | array<string> | non |
bsale_list_stocks
List stock levels
Stock per variant and office: quantity, reserved and available. Filter by office, variant id, SKU code or barcode (for a pack give a variant filter plus office_id). expand=[variant,office] adds names. GET /v1/stocks.json.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| office_id | integer | non | |
| variant_id | integer | non | |
| code | string | non | SKU code. |
| barcode | string | non | |
| expand | array<string> | non | |
| limit | integer | non | Results per page, 1-50 (default 25). |
| offset | integer | non | Items to skip (default 0). Pass the previous reply's next_offset. |
bsale_list_price_lists
List price lists
List price lists with name, currency and state. Use the id with bsale_list_price_list_details. GET /v1/price_lists.json.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| coin_id | integer | non | |
| expand | array<string> | non | |
| limit | integer | non | Results per page, 1-50 (default 25). |
| offset | integer | non | Items to skip (default 0). Pass the previous reply's next_offset. |
bsale_list_price_list_details
List price list prices
Prices in one price list: the net price (variantValue) and price with taxes per variant, plus the detail id needed to change a price. Filter by variant id, SKU code or barcode. GET /v1/price_lists/{id}/details.json.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| price_list_id | integer | oui | |
| variant_id | integer | non | |
| code | string | non | SKU code. |
| barcode | string | non | |
| expand | array<string> | non | |
| limit | integer | non | Results per page, 1-50 (default 25). |
| offset | integer | non | Items to skip (default 0). Pass the previous reply's next_offset. |
bsale_list_payments
List payments
List payments received (amount, date, payment type, document, office, user). Filter by payment date, document id, or document tax code plus folio number. GET /v1/payments.json.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| paid_on | string | non | Only payments recorded on this date. |
| document_id | integer | non | |
| code_sii | integer | string | non | Document tax code; combine with number. |
| number | integer | non | Document folio number; combine with code_sii. |
| expand | array<string> | non | |
| limit | integer | non | Results per page, 1-50 (default 25). |
| offset | integer | non | Items to skip (default 0). Pass the previous reply's next_offset. |
bsale_list_payment_types
List payment types
List payment methods (cash, card, transfer, credit...) with their id. The id is needed to record a payment. GET /v1/payment_types.json.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| state | number | number | non | 0 = active records (Bsale default), 1 = inactive. |
| limit | integer | non | Results per page, 1-50 (default 25). |
| offset | integer | non | Items to skip (default 0). Pass the previous reply's next_offset. |
bsale_list_offices
List offices (branches)
List branches (sucursales) with name, address and cost center. Use the id for stock and document filters. GET /v1/offices.json.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| state | number | number | non | 0 = active records (Bsale default), 1 = inactive. |
| limit | integer | non | Results per page, 1-50 (default 25). |
| offset | integer | non | Items to skip (default 0). Pass the previous reply's next_offset. |
bsale_list_users
List users (sellers)
List Bsale users (sellers/cashiers) with name and office. GET /v1/users.json.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| office_id | integer | non | |
| state | number | number | non | 0 = active records (Bsale default), 1 = inactive. |
| expand | array<string> | non | |
| limit | integer | non | Results per page, 1-50 (default 25). |
| offset | integer | non | Items to skip (default 0). Pass the previous reply's next_offset. |
bsale_user_sales_summary
Sales by seller
Sales and tax subtotal per seller for a date range (default: today, UTC), or for one user. GET /v1/users/sales_summary.json.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| from | string | non | A date, yyyy-mm-dd. |
| to | string | non | A date, yyyy-mm-dd. |
| user_id | integer | non |
bsale_create_client
Create client
WRITE: create a new customer in Bsale (it is visible to every user of the instance). Give at least a first name or a company. Bsale rejects a second client with the same tax id. POST /v1/clients.json.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| first_name | string | non | |
| last_name | string | non | |
| company | string | non | |
| code | string | non | Tax id (RUT in Chile, RUC in Peru, RFC in Mexico). Validate it first. |
| string | non | ||
| phone | string | non | |
| address | string | non | |
| city | string | non | |
| municipality | string | non | Comuna (Chile) or municipality (Peru). Mexican accounts: use district. |
| district | string | non | Colonia / district (Mexico). Chile and Peru: use municipality. |
| activity | string | non | Giro / business activity. |
| note | string | non | |
| is_foreigner | boolean | non | true for a foreign client (Bsale assigns tax id 55555555-5 unless you also pass code). |
bsale_update_client
Update client
WRITE: change fields of an existing customer; only the fields you pass are sent. This overwrites the stored values. PUT /v1/clients/{id}.json.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| client_id | integer | oui | |
| first_name | string | non | |
| last_name | string | non | |
| company | string | non | |
| code | string | non | Tax id (RUT in Chile, RUC in Peru, RFC in Mexico). Validate it first. |
| string | non | ||
| phone | string | non | |
| address | string | non | |
| city | string | non | |
| municipality | string | non | Comuna (Chile) or municipality (Peru). Mexican accounts: use district. |
| district | string | non | Colonia / district (Mexico). Chile and Peru: use municipality. |
| activity | string | non | Giro / business activity. |
| note | string | non |
bsale_update_price
Update price list price
WRITE: set the net price (variantValue, without taxes) of one variant in a price list. This changes what Bsale charges on new sales using that list. Get detail_id from bsale_list_price_list_details. PUT /v1/price_lists/{id}/details/{detail_id}.json.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| price_list_id | integer | oui | |
| detail_id | integer | oui | Price list detail id (the id of the row in bsale_list_price_list_details). |
| net_price | number | oui | New net price (before taxes) in the price list's currency. |
bsale_create_stock_reception
Receive stock
WRITE: record a stock reception (ingreso de stock) that ADDS quantities to an office's inventory. Each line names the variant by id, SKU code or barcode, with quantity and unit cost. It changes stock levels and cost; Bsale has no undo through this API, so confirm the numbers first. POST /v1/stocks/receptions.json.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| office_id | integer | oui | Office (sucursal) receiving the stock. |
| document | string | non | Kind of incoming document, e.g. "Guia", "Factura", "Otro" (default "Otro"). |
| document_number | integer | non | Number of the incoming document. |
| note | string | non | |
| details | array<object> | oui |
bsale_create_payment
Record payment
WRITE: record a payment against an issued document (normally a credit sale that is still unpaid). It changes the document's receivable balance in the books and cannot be removed through this API. Check the amount with bsale_client_unpaid_documents first and get payment_type_id from bsale_list_payment_types. POST /v1/payments.json.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| document_id | integer | oui | |
| payment_type_id | integer | oui | |
| amount | number | oui | |
| paid_on | string | non | Payment date (default: today, UTC). |
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://bsale.usefulapi.io/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http bsale https://bsale.usefulapi.io/mcpCustomize > Connectors > + Add > Add custom connector ; Name : bsale ; URL : https://bsale.usefulapi.io/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : bsale ; Server URL : https://bsale.usefulapi.io/mcp ; Create as a plugin{
"mcpServers": {
"bsale": {
"url": "https://bsale.usefulapi.io/mcp"
}
}
}{
"mcpServers": {
"bsale": {
"type": "http",
"url": "https://bsale.usefulapi.io/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"bsale": {
"url": "https://bsale.usefulapi.io/mcp"
}
}
}{
"mcpServers": {
"bsale": {
"httpUrl": "https://bsale.usefulapi.io/mcp"
}
}
}[mcp_servers.bsale]
url = "https://bsale.usefulapi.io/mcp"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
Bsale MCP by usefulapi · L’Atlas · Test du
[Bsale MCP by usefulapi — L’Atlas](https://latlas.dev/mcp/io.usefulapi/bsale)Source : Registre officiel MCP · relevé le 29 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.