Skip to main content
Glama

Vyfakturuj MCP by usefulapi

Create an invoice (issues a real numbered document)

vyfakturuj_create_invoice
Destructive

WRITE. Creates a document in Vyfakturuj. Vyfakturuj has NO draft state: the document is issued at once and takes the next number of its number series (delete or cancel it in Vyfakturuj if wrong). Does NOT send an e-mail to the customer, does NOT mark it paid and moves no money; automatic reminders and paid notices are switched off for it (disable_automated_mails). Name the customer with id_customer (an address-book contact, from vyfakturuj_list_contacts) or with the customer_* fields. Items need text and unit_price. Optional id_number_series / id_payment_method come from vyfakturuj_list_number_series / vyfakturuj_list_payment_methods; the account defaults apply otherwise. Prices are net unless calculate_vat is 2 (gross). POST /invoice/.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
VSNoVariable symbol (default: derived from the number).
typeNoDocument type: 1 faktura (default), 2 zalohova faktura, 4 proforma faktura, 8 vyzva k platbe, 512 objednavka.
itemsYesDocument items (1-200).
currencyNoCurrency, ISO 4217 (default: the account's).
days_dueNoDays until due (splatnost).
languageNoLanguage of the document.
customer_ICNoCustomer ICO (company id).
id_customerNoAddress-book contact id (from vyfakturuj_list_contacts); fills the customer block.
customer_DICNoCustomer DIC (VAT id).
customer_zipNoCustomer postal code (PSC).
date_createdNoIssue date yyyy-mm-dd (default today).
order_numberNoOrder id / reference.
calculate_vatNo1 items are net (VAT added), 2 items are gross, 3 special VAT regime, 4 domestic reverse charge, 5 not a VAT payer, 6 foreign reverse charge.
customer_cityNoCustomer city.
customer_nameNoCustomer company name (when no id_customer).
note_internalNoInternal note (not on the document).
customer_streetNoCustomer street.
id_number_seriesNoNumber series id (from vyfakturuj_list_number_series); must match the document type.
customer_lastnameNoCustomer last name.
id_payment_methodNoPayment method id (from vyfakturuj_list_payment_methods).
text_before_itemsNoText before the items.
customer_firstnameNoCustomer first name.
date_taxable_supplyNoDate of taxable supply (DUZP) yyyy-mm-dd.
text_invoice_footerNoText in the footer.
customer_country_codeNoISO 3166 country code, e.g. CZ, SK, DE.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.