Skip to main content
Glama
Billin MCP Server

Billin MCP Server

by AnderRahe

Create Invoice

create_invoice

Create tax-compliant invoices with automatic Spanish IVA calculation and Verifactu support by providing line items and contact details.

Instructions

Create a tax-compliant invoice in Billin with automatic tax calculation. Supports Spanish tax codes (IVA 21%, 10%, 4%, 0%) and Verifactu compliance. Just provide item name, quantity, unit price, and tax code — amounts are computed automatically.

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": {
      "lines": "<lines>",
      "contact": "<contact>"
    },
    "name": "create_invoice"
  }
}

Input Schema

NameRequiredDescriptionDefault
linesYesInvoice line items
contactYesInvoice recipient
dueDateNoPayment due date YYYY-MM-DD
commentsNoNotes to appear on the invoice
currencyNoISO 4217 currency code (default: EUR)EUR
referenceNoInternal reference or PO number
issuedDateNoIssue date YYYY-MM-DD (defaults to today)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does add real value: tax amounts are computed automatically and the tool enforces Spanish IVA rates and Verifactu compliance. What it omits is the consequence of the write — whether the invoice is issued immediately or created as a draft, whether it is legally immutable once created, and whether it can be edited or voided afterward. For a legally regulated financial document, that silence is a meaningful gap.

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?

Two sentences, front-loaded with purpose and followed by the operational detail, with essentially no filler. The closing clause overlaps somewhat with what the schema already says about taxKey, but it reads as a helpful summary rather than padding.

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

Completeness3/5

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

The tool has seven parameters including a nested line-item array and nested address object, no output schema, and no annotations. The description covers the input side adequately but never indicates what a successful call returns (an invoice ID? a full object?) or how errors surface, which matters for a create operation an agent must chain from.

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 seven top-level parameters and the nested line/address fields, which sets the baseline at 3. The description reinforces the auto-calculation behavior of taxKey and the fact that amounts need not be supplied, but adds no syntax or constraint detail beyond the schema.

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

Purpose4/5

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

The description opens with a specific verb and resource ("Create a tax-compliant invoice in Billin") plus a differentiator ("automatic tax calculation"), which cleanly separates it from create_contact, create_expense, and create_payment. It does not explicitly contrast with create_quote or create_receipt, but the resource noun itself is unambiguous.

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

Usage Guidelines3/5

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

There is implicit usage guidance in "Just provide item name, quantity, unit price, and tax code," which tells the agent the minimum viable payload. However, there is no statement of when to choose this over a sibling like create_quote, and no prerequisites such as whether the contact must already exist or whether authentication/account setup is required.

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