Billogram MCP by usefulapi
v1.6.1Read invoices, customers, items and balances; create invoices, customers and items in Billogram.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
billogram_list_invoices List invoices
List invoices (Billogram calls them billograms): invoice number, customer, dates, state, totals and remaining sum. Optional filter and sort. Use an id from the reply with billogram_get_invoice. GET /billogram.
| Parameter | Type | Description |
|---|---|---|
filter_field | string | Field to filter on, for example state, or nested as customer:name. |
filter_type | string | How to match filter_value: exact (field), starts with (field-prefix) or contains (field-search). Needs filter_field and filter_value. |
filter_value | string | Value to match. |
order_direction | string | Sort direction. Needs order_field. |
order_field | string | Field to sort by, for example created_at. Needs order_direction. |
page | integer | Result page, from 1 (default 1). |
page_size | integer | Results per page, 1-100 (default 25). |
billogram_get_invoice Get invoice
Fetch one invoice with its customer, items, totals, state, dates and registered payments. GET /billogram/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | Invoice id (the id field of an invoice, for example 2kAEEjE). |
billogram_list_invoice_events List invoice events
List invoice events (the history of changes, such as sent, paid or reminded) as Billogram returns them. Optional filter and sort. GET /billogram_event.
| Parameter | Type | Description |
|---|---|---|
filter_field | string | Field to filter on, for example state, or nested as customer:name. |
filter_type | string | How to match filter_value: exact (field), starts with (field-prefix) or contains (field-search). Needs filter_field and filter_value. |
filter_value | string | Value to match. |
order_direction | string | Sort direction. Needs order_field. |
order_field | string | Field to sort by, for example created_at. Needs order_direction. |
page | integer | Result page, from 1 (default 1). |
page_size | integer | Results per page, 1-100 (default 25). |
billogram_list_customers List customers
List customers with number, name, organisation and VAT number, contact, addresses and payment settings. Optional filter and sort. GET /customer.
| Parameter | Type | Description |
|---|---|---|
filter_field | string | Field to filter on, for example state, or nested as customer:name. |
filter_type | string | How to match filter_value: exact (field), starts with (field-prefix) or contains (field-search). Needs filter_field and filter_value. |
filter_value | string | Value to match. |
order_direction | string | Sort direction. Needs order_field. |
order_field | string | Field to sort by, for example created_at. Needs order_direction. |
page | integer | Result page, from 1 (default 1). |
page_size | integer | Results per page, 1-100 (default 25). |
billogram_get_customer Get customer
Fetch one customer by customer number: contact, addresses, e-invoice details and payment settings. GET /customer/{customer_no}.
| Parameter | Type | Description |
|---|---|---|
customer_no * | integer | Customer number (customer_no). |
billogram_get_customer_balance Get customer balance
Fetch the balance of one customer by customer number (the amount they owe). GET /customer/{customer_no}/balance.
| Parameter | Type | Description |
|---|---|---|
customer_no * | integer | Customer number (customer_no). |
billogram_list_items List items
List saved items (products and services) with item number, title, price, VAT, unit and bookkeeping accounts. Optional filter and sort. GET /item.
| Parameter | Type | Description |
|---|---|---|
filter_field | string | Field to filter on, for example state, or nested as customer:name. |
filter_type | string | How to match filter_value: exact (field), starts with (field-prefix) or contains (field-search). Needs filter_field and filter_value. |
filter_value | string | Value to match. |
order_direction | string | Sort direction. Needs order_field. |
order_field | string | Field to sort by, for example created_at. Needs order_direction. |
page | integer | Result page, from 1 (default 1). |
page_size | integer | Results per page, 1-100 (default 25). |
billogram_get_item Get item
Fetch one saved item by item number. GET /item/{item_no}.
| Parameter | Type | Description |
|---|---|---|
item_no * | string | Item number (item_no) of a saved item. |
billogram_get_settings Get settings
Fetch the account settings: company details, default due days, currency and invoice defaults. GET /settings.
billogram_create_customer Create customer
Create a customer. Only the fields you pass are set. Creates a new customer record each time (it is not idempotent). POST /customer.
| Parameter | Type | Description |
|---|---|---|
name * | string | Customer name. |
city | string | City. |
contact_name | string | Contact person. |
country | string | Country code, for example SE. |
email | string | Contact e-mail. |
org_no | string | Organisation number. |
phone | string | Contact phone. |
street_address | string | Street address. |
vat_no | string | VAT number. |
zipcode | string | Postal code. |
billogram_create_item Create item
Create a saved item (product or service) for later invoices. Creates a new item each time (it is not idempotent). POST /item.
| Parameter | Type | Description |
|---|---|---|
price * | number | Unit price. |
title * | string | Item title. |
unit * | string | Unit, for example pcs or hour. |
vat * | number | VAT rate number, for example 25. |
description | string | Longer description. |
item_no | string | Item number to give the item. |
billogram_create_invoice Create invoice
Create an invoice (a Billogram billogram) for an existing customer. The invoice is created only: this server does not send it, and sending is a separate Billogram command that is not exposed. Creates a new invoice each time (it is not idempotent). POST /billogram.
| Parameter | Type | Description |
|---|---|---|
customer_no * | integer | Customer number (customer_no). |
items * | array | Invoice lines (1-100). |
currency | string | ISO currency code, for example SEK. |
due_date | string | Due date, YYYY-MM-DD. Omit to use due_days or the account default. |
due_days | integer | Days from the invoice date to the due date. |
invoice_date | string | Invoice date, YYYY-MM-DD. Omit to use Billogram's default. |