Billogram MCP by usefulapi

v1.6.1
io.usefulapi/billogram Checked 2 days ago Published 22 hours ago

Read 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.

ParameterTypeDescription
filter_fieldstringField to filter on, for example state, or nested as customer:name.
filter_typestringHow to match filter_value: exact (field), starts with (field-prefix) or contains (field-search). Needs filter_field and filter_value.
filter_valuestringValue to match.
order_directionstringSort direction. Needs order_field.
order_fieldstringField to sort by, for example created_at. Needs order_direction.
pageintegerResult page, from 1 (default 1).
page_sizeintegerResults 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}.

ParameterTypeDescription
id *stringInvoice 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.

ParameterTypeDescription
filter_fieldstringField to filter on, for example state, or nested as customer:name.
filter_typestringHow to match filter_value: exact (field), starts with (field-prefix) or contains (field-search). Needs filter_field and filter_value.
filter_valuestringValue to match.
order_directionstringSort direction. Needs order_field.
order_fieldstringField to sort by, for example created_at. Needs order_direction.
pageintegerResult page, from 1 (default 1).
page_sizeintegerResults 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.

ParameterTypeDescription
filter_fieldstringField to filter on, for example state, or nested as customer:name.
filter_typestringHow to match filter_value: exact (field), starts with (field-prefix) or contains (field-search). Needs filter_field and filter_value.
filter_valuestringValue to match.
order_directionstringSort direction. Needs order_field.
order_fieldstringField to sort by, for example created_at. Needs order_direction.
pageintegerResult page, from 1 (default 1).
page_sizeintegerResults 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}.

ParameterTypeDescription
customer_no *integerCustomer 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.

ParameterTypeDescription
customer_no *integerCustomer 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.

ParameterTypeDescription
filter_fieldstringField to filter on, for example state, or nested as customer:name.
filter_typestringHow to match filter_value: exact (field), starts with (field-prefix) or contains (field-search). Needs filter_field and filter_value.
filter_valuestringValue to match.
order_directionstringSort direction. Needs order_field.
order_fieldstringField to sort by, for example created_at. Needs order_direction.
pageintegerResult page, from 1 (default 1).
page_sizeintegerResults per page, 1-100 (default 25).

billogram_get_item Get item

Fetch one saved item by item number. GET /item/{item_no}.

ParameterTypeDescription
item_no *stringItem 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.

ParameterTypeDescription
name *stringCustomer name.
citystringCity.
contact_namestringContact person.
countrystringCountry code, for example SE.
emailstringContact e-mail.
org_nostringOrganisation number.
phonestringContact phone.
street_addressstringStreet address.
vat_nostringVAT number.
zipcodestringPostal 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.

ParameterTypeDescription
price *numberUnit price.
title *stringItem title.
unit *stringUnit, for example pcs or hour.
vat *numberVAT rate number, for example 25.
descriptionstringLonger description.
item_nostringItem 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.

ParameterTypeDescription
customer_no *integerCustomer number (customer_no).
items *arrayInvoice lines (1-100).
currencystringISO currency code, for example SEK.
due_datestringDue date, YYYY-MM-DD. Omit to use due_days or the account default.
due_daysintegerDays from the invoice date to the due date.
invoice_datestringInvoice date, YYYY-MM-DD. Omit to use Billogram's default.