Billutant MCP by usefulapi

v1.2.1
io.usefulapi/billutant Checked 3 days ago Published 1 day ago

Read invoices, customers, items and templates; create and send invoices in Billutant.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

billutant_list_invoices List invoices

List the invoices of the connected Billutant account, with number, status, customer id and sent state. Billutant API: GET /invoices.

billutant_get_invoice Get an invoice

Get one invoice by id, including its number, status, files and sent state. Billutant API: GET /invoices/{id}.

ParameterTypeDescription
invoice_id *stringThe invoice id.

billutant_list_customers List customers

List the customers of the connected Billutant account. Use their ids in billutant_create_invoice. Billutant API: GET /customers.

billutant_get_customer Get a customer

Get one customer by id. Billutant API: GET /customers/{id}.

ParameterTypeDescription
customer_id *stringThe customer id.

billutant_list_items List items

List the products and services (items) that Billutant uses as invoice lines. Use their ids in billutant_create_invoice. Billutant API: GET /items.

billutant_get_item Get an item

Get one product or service (item) by id, with its name, price, tax and unit. Billutant API: GET /items/{id}.

ParameterTypeDescription
item_id *stringThe item id.

billutant_list_email_templates List e-mail templates

List the e-mail templates used when Billutant sends an invoice. Use their ids as email_template_id. Billutant API: GET /email-templates.

billutant_get_email_template Get an e-mail template

Get one e-mail template by id, with its type, label, subject and body. Billutant API: GET /email-templates/{id}.

ParameterTypeDescription
template_id *stringThe e-mail template id.

billutant_create_invoice Create an invoice

Create an invoice for an existing customer from existing item ids. Billutant sets the invoice date and number, and each call uses the next number in the sequence. draft=true saves a draft and sends nothing. send=true e-mails the customer and needs email_template_id; draft and send cannot both be true. Billutant API: POST /invoices.

ParameterTypeDescription
customer_id *stringThe customer id.
item_ids *arrayOne or more item ids, in invoice line order.
draftbooleantrue = save as a draft (no number is final, nothing is sent).
email_template_idstringE-mail template id (from billutant_list_email_templates). Required when send is true.
sendbooleantrue = e-mail the invoice to the customer now (needs email_template_id).

billutant_send_invoice Send an invoice

E-mail an existing invoice that is not a draft to its customer, using an e-mail template. This sends mail to a real customer and cannot be undone. Billutant API: POST /invoices/{id}/send.

ParameterTypeDescription
email_template_id *stringE-mail template id (from billutant_list_email_templates).
invoice_id *stringThe invoice id.