Fakturowo MCP by usefulapi
v1.16.1Read invoices, clients and products in Fakturowo; create documents and update payment status.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
fakturowo_list_documents List documents
List invoices and other documents on the account, 100 per page: id (api_numer), type, number, issue and sale date, currency, net/VAT/gross value, seller and buyer, payment status, due date and KSeF number. Filter by document type or by seller/buyer tax number. Values are the vendor's own (dates DD-MM-YYYY; dokument_rodzaj is the type code with a readable name for common types). Fakturowo api_zadanie=3.
| Parameter | Type | Description |
|---|---|---|
buyer_tax_id | string | Only documents of the buyer with this tax number (NIP). |
document_type | string | Only this document type. |
page | integer | Page number, from 1 (default 1; 100 rows per page). Pass the previous reply's next_page. |
seller_tax_id | string | Only documents of the seller with this tax number (NIP). |
fakturowo_get_document Get document
One document by its id (api_numer, from fakturowo_list_documents or the id returned when it was created): the header fields and every line item (name, unit, quantity, net/gross price, discount, VAT rate and amount, gross value). Fakturowo api_zadanie=3 with api_numer.
| Parameter | Type | Description |
|---|---|---|
document_id * | integer | The document's api_numer. |
fakturowo_get_next_document_number Get next document number
The running number Fakturowo will give the next document of a type (the sequence counter saved on the account). Nothing is created. Fakturowo api_zadanie=8.
| Parameter | Type | Description |
|---|---|---|
document_type | string | Document type (default vat_invoice). |
fakturowo_list_clients List clients
List the saved clients (contractors), 100 per page: id (api_numer), name, address, tax number, contact details, account number and notes. PESEL and ID-card numbers are never returned. Fakturowo api_zadanie=4.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, from 1 (default 1; 100 rows per page). Pass the previous reply's next_page. |
fakturowo_get_client Get client
One saved client by id (api_numer, from fakturowo_list_clients). PESEL and ID-card numbers are never returned. Fakturowo api_zadanie=4 with api_numer.
| Parameter | Type | Description |
|---|---|---|
client_id * | integer | The client's api_numer. |
fakturowo_list_products List products
List the saved products and services (the catalogue used on documents), 100 per page: id (api_numer), name, unit, VAT rate, net price, gross value, currency, comment, GTU code and discount. Fakturowo api_zadanie=6.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, from 1 (default 1; 100 rows per page). Pass the previous reply's next_page. |
fakturowo_get_product Get product
One saved product by id (api_numer, from fakturowo_list_products). Fakturowo api_zadanie=6 with api_numer.
| Parameter | Type | Description |
|---|---|---|
product_id * | integer | The product's api_numer. |
fakturowo_create_document Create document
WRITE: issue a new document (invoice, proforma, receipt...) on the account. It is saved immediately and takes the next number in its sequence; this tool cannot delete it again, and calling it twice issues two documents. Issue documents one at a time and wait for each reply: Fakturowo says overlapping saves can get the same number when the account's numbering check is off. Needs a buyer and at least one line item; the seller defaults to what the account has saved only if Fakturowo allows that, otherwise pass seller. Returns the new document's id (api_numer); with public_links true also a public…
| Parameter | Type | Description |
|---|---|---|
buyer * | object | Buyer details. |
items * | array | Line items (1-300). |
currency | string | Currency code (default PLN). |
document_type | string | Document type (default vat_invoice). |
issue_date | string | Issue date (default today). |
notes | string | Notes printed on the document. |
paid_amount | number | Amount already paid (subtracted from the total). |
payment_status | string | Payment status (default unpaid). |
payment_type | string | Payment method / term. |
place | string | Place of issue (default: the account's saved place). |
public_links | boolean | Return public PDF and preview links (default false). |
sale_date | string | Sale date (default today). |
seller | object | Seller details. |
fakturowo_set_document_payment_status Set document payment status
WRITE: change the payment status of an existing document (unpaid, paid, partially_paid) and optionally the amount already paid. Only those fields are sent; Fakturowo edits the document in place. Fakturowo api_zadanie=1 with api_numer.
| Parameter | Type | Description |
|---|---|---|
document_id * | integer | The document's api_numer. |
status * | string | New payment status. |
paid_amount | number | Amount already paid (for partially_paid, or to record the amount). |