Skip to main content
Glama
boondmanager-mcp-server

boondmanager-mcp-server

by silamir

Créer une facture fournisseur

boond_provider_invoices_create

Create a supplier invoice for a subcontractor's received bill, linking the resource, provider company and contact, billing period, and optional payments.

Instructions

Crée une facture fournisseur (facture reçue d'un prestataire).

Quand : pour enregistrer la facture émise par un sous-traitant. Plutôt que : boond_invoices_create pour une facture de vente adressée à un client — les deux sens ne partagent pas d'endpoint.

  • resourceId (relation resource), companyId et contactId (relations providerCompany / providerContact) sont des ID numériques ; companyId et contactId vont ensemble (exigé par la doc de l'API).

  • mainManagerId, agencyId, poleId, billingDetailId, stateReason et payments (par prestation) suivent la doc de l'API, non vérifiés.

  • Écriture non idempotente.

Returns : confirmation et fiche de la facture fournisseur créée, avec son ID dans structuredContent.id.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "reference": "<reference>",
      "resourceId": "<resourceId>",
      "startDate": "<startDate>",
      "endDate": "<endDate>"
    },
    "name": "boond_provider_invoices_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
stateNoÉtat de la facture fournisseur : ID de `boond://dictionary/states/provider-invoices`
poleIdNoID du pôle (`boond_poles_search`), ou `null` pour le retirer
endDateYesDate de fin de période (YYYY-MM-DD)
agencyIdNoID de l'agence (`boond_agencies_search`)
currencyNoDevise Boond
paymentsNoPaiements créés avec la facture, rattachés à des prestations (doc de l'API)
companyIdNoID de la société fournisseur, mappé vers providerCompany (avec `contactId` : la doc de l'API exige les deux)
contactIdNoID du contact fournisseur, mappé vers providerContact (avec `companyId` : la doc de l'API exige les deux)
referenceYesRéférence de la facture fournisseur
startDateYesDate de début de période (YYYY-MM-DD)
resourceIdYesID de la ressource portée par la facture fournisseur
invoiceDateNoDate de facture (YYYY-MM-DD)
stateReasonNoMotif de l'état (ex. refus)
exchangeRateNoTaux de change
mainManagerIdNoID du responsable de la facture (ressource, relation `mainManager`)
currencyAgencyNoDevise agence
billingDetailIdNoID des coordonnées de facturation du fournisseur, ou `null` pour les retirer
amountExcludingTaxNoMontant HT
amountIncludingTaxNoMontant TTC
exchangeRateAgencyNoTaux de change agence

Output Schema

NameRequiredDescriptionDefault
idNoIdentifiant de l'entité créée/modifiée
typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changedv2.22.0
    • addedInput schema / properties / agencyId
      Added value: +{
      +  "description": "ID de l'agence (`boond_agencies_search`)",
      +  "pattern": "^\\d+$",
      +  "type": "string"
      +}
    • addedInput schema / properties / billingDetailId
      Added value: +{
      +  "anyOf": [
      +    {
      +      "pattern": "^\\d+$",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "ID des coordonnées de facturation du fournisseur, ou `null` pour les retirer"
      +}
    • changedInput schema / properties / companyId / description
      Previous value: -"ID de la société fournisseur, mappé vers providerCompany"New value: +"ID de la société fournisseur, mappé vers providerCompany (avec `contactId` : la doc de l'API exige les deux)"
    • changedInput schema / properties / contactId / description
      Previous value: -"ID du contact fournisseur, mappé vers providerContact"New value: +"ID du contact fournisseur, mappé vers providerContact (avec `companyId` : la doc de l'API exige les deux)"
    • addedInput schema / properties / mainManagerId
      Added value: +{
      +  "description": "ID du responsable de la facture (ressource, relation `mainManager`)",
      +  "pattern": "^\\d+$",
      +  "type": "string"
      +}
    • addedInput schema / properties / payments
      Added value: +{
      +  "description": "Paiements créés avec la facture, rattachés à des prestations (doc de l'API)",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "amountExcludingTax": {
      +        "description": "Montant HT du paiement",
      +        "type": "number"
      +      },
      +      "deliveryId": {
      +        "description": "ID de la prestation payée (`boond_deliveries_search`)",
      +        "pattern": "^\\d+$",
      +        "type": "string"
      +      },
      +      "state": {
      +        "description": "État du paiement : ID de `setting.state.purchase`",
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "deliveryId",
      +      "state",
      +      "amountExcludingTax"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / poleId
      Added value: +{
      +  "anyOf": [
      +    {
      +      "pattern": "^\\d+$",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "ID du pôle (`boond_poles_search`), ou `null` pour le retirer"
      +}
    • addedInput schema / properties / stateReason
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Motif de l'état (ex. refus)",
      +  "properties": {
      +    "detail": {
      +      "description": "Précision libre",
      +      "type": "string"
      +    },
      +    "typeOf": {
      +      "description": "Type de motif : ID du dictionnaire des motifs d'état",
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "typeOf"
      +  ],
      +  "type": "object"
      +}
  2. Changed12 schema fields changedv2.17.0
    • changedInput schema / properties / companyId / description
      Previous value: -"ID de la societe fournisseur, mappe vers providerCompany"New value: +"ID de la société fournisseur, mappé vers providerCompany"
    • addedInput schema / properties / companyId / pattern
      Added value: +"^\\d+$"
    • changedInput schema / properties / contactId / description
      Previous value: -"ID du contact fournisseur, mappe vers providerContact"New value: +"ID du contact fournisseur, mappé vers providerContact"
    • addedInput schema / properties / contactId / pattern
      Added value: +"^\\d+$"
    • changedInput schema / properties / endDate / description
      Previous value: -"Date de fin de periode (YYYY-MM-DD)"New value: +"Date de fin de période (YYYY-MM-DD)"
    • changedInput schema / properties / reference / description
      Previous value: -"Reference de la facture fournisseur"New value: +"Référence de la facture fournisseur"
    • changedInput schema / properties / resourceId / description
      Previous value: -"ID de la ressource portee par la facture fournisseur"New value: +"ID de la ressource portée par la facture fournisseur"
    • removedInput schema / properties / resourceId / minLength
      Removed value: -1
    • addedInput schema / properties / resourceId / pattern
      Added value: +"^\\d+$"
    • changedInput schema / properties / startDate / description
      Previous value: -"Date de debut de periode (YYYY-MM-DD)"New value: +"Date de début de période (YYYY-MM-DD)"
    • changedInput schema / properties / state / description
      Previous value: -"Etat de la facture fournisseur"New value: +"État de la facture fournisseur : ID de `boond://dictionary/states/provider-invoices`"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "id": {
      +      "description": "Identifiant de l'entité créée/modifiée",
      +      "type": "string"
      +    },
      +    "type": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  3. Changed1 schema field changedv2.12.2
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
  4. Addedv2.8.0

TDQS

A4.1/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare non-read-only, non-idempotent, non-destructive, closed-world behavior, and the description largely restates the idempotency point ('Écriture non idempotente'). It does add genuine context by flagging which fields (mainManagerId, agencyId, poleId, billingDetailId, stateReason, payments) follow API docs but are unverified, though it says nothing about permissions, failure modes, or what state a new invoice lands in.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded purpose, then a labelled 'Quand' / 'Plutôt que' block, then bulleted parameter notes and a return line — easy to scan. Slightly long for what it conveys, with some bullets repeating schema content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 20 parameters, nested payment objects, full annotations, and an output schema carrying the return shape, the description covers the essentials: creation semantics, direction vs. sales invoices, key relation pairings, non-idempotency, and where the new ID appears. Defaults for optional fields like state or currency remain unexplained, a minor gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all 20 parameters including formats and dictionary references; the description's notes on resourceId/companyId/contactId relations and the companyId+contactId pairing duplicate what the schema already says. Its only added value is grouping the unverified parameters, which is marginal over the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a precise verb and resource ('Crée une facture fournisseur') and immediately disambiguates the object as a supplier-side invoice 'reçue d'un prestataire', which an agent can distinguish from the sales-invoice sibling without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives both when-to-use ('pour enregistrer la facture émise par un sous-traitant') and an explicit alternative ('Plutôt que : boond_invoices_create pour une facture de vente adressée à un client'), with the reason the two differ (separate endpoints).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools