Skip to navigation

Keep your users updated as your project evolves

Added: payment QR format on documents

Invoices, proformas, credit notes and quotes accept payment_qr_format (auto, pay_by_square, spayd, epc, none). auto picks the format the customer’s banking app reads: PAY by square for Slovakia, QR Platba for Czechia, EPC QR for other EEA countries. Omit it to inherit the workspace default; send null to go back to it. A document reads it back as settings.payment_qr_format: its own choice, null while it follows the workspace default, and for a document issued before the setting existed.

A single document (get, create, update and the lifecycle actions) also returns settings.payment_qr_resolved (PaymentQrResolved): the QR that will actually print as format (pay_by_square, spayd, epc or null) and the reason for it. List items leave it out. The MCP document tools take and return the same fields.

Added: proforma on-payment settings

PATCH document settings accepts on_payment_preset (tax_document, regular_invoice_paid, nothing, or null) and on_payment_autonomy (confirm, auto, or null) in the new proforma section (DocumentSettingsProforma). The preset is what a new proforma issues when the customer pays it. Send null to go back to the default.

auto_on_payment on a proforma now accepts null, which means nothing; omitting it applies the workspace’s on_payment_preset.

Added: French and the cs language code

fr is accepted and returned as a user language (language on /user) and as a document language (pdf_language, default_pdf_language).

The Czech code is now cs. cz is still accepted on input as a deprecated alias, but it is never returned: responses carry cs.

Added: bank account archiving and currency_editable

PATCH bank account accepts archived: true archives, false restores (restoring takes a plan slot; at the cap it returns 429 with code: feature_limit_exceeded). The default account cannot be archived (422). A null is ignored.

BankAccount returns currency_editable. It is false for an account synced from a bank that reported its currency; a different currency is then refused with 422. It is true for a manual account, and for a synced account whose bank sent no currency.

Changed: default on bank accounts

default: true makes the account the default and demotes the current one. false or null on the current default leaves it the default; to change the default, promote another account. An archived account cannot become the default (422).

Added: CSV bank statements and informational entries

BankStatement.file_type can now be csv. BankStatementEntry.status has a new value, informational: a zero-amount line the statement prints for information (such as a fee summary). It is never imported; correcting its amount to a non-zero value turns it back into pending.

Added: statement-imported transactions can be corrected

Transaction returns statement_imported (the row came from an uploaded statement, so a misread can be corrected; rows the bank delivered are locked) and correctable. GET /workspaces/{workspace_id}/transactions/{id} also returns corrections, the correction history oldest first, with reason, origin (web, api, mcp), occurred_at and field_changes.

Added: bank charges when pairing a payment

POST /workspaces/{workspace_id}/transactions/{id}/pair accepts charges: bank charges deducted from a payment before it arrived, in the record’s own currency. Only for money received for an invoice or proforma. The record is settled at the gross (document_amount, or what arrived plus charges) and the transaction keeps its booked amount. charges must be greater than zero and smaller than the gross.

On a bank-converted row, a document_amount above the bank’s original amount requires charges; without it the pairing is refused with charges_required. In one currency, a document_amount sent with charges must equal amount plus charges. The other refusals are 422 responses with the reason in message.

Added: tax forecast conversion fields

TaxForecast returns unconvertible_invoice_count and unconvertible_expense_count: documents of the year with no exchange rate to the workspace currency. They are left out of the totals rather than summed in a foreign currency. Each TaxForecastScenario returns available and unavailable_reason (vat_payer or null), and recommended_method is never flat_rate while scenarios.flat_rate.available is false.

Changed: VAT threshold watch

GET /workspaces/{workspace_id}/tax/vat_threshold accepts as_of (an ISO date at or before today; defaults to today). VatThresholdWatch adds as_of, country, rule_id, status (supported, needs_review, not_applicable), period and period_key, reasons, turnover_complete, the threshold comparators, primary_crossing and secondary_crossing (VatThresholdCrossing), effective_payer_on and effective_payer_basis, and obligations and obligation_candidates (VatThresholdObligation). needs_review and complete stay as compatibility fields for reasons and turnover_complete.

Added: MCP bank statements, matching and sync history

New tools for bank statements, transaction matching, transaction correction and bank sync history (see the table on the MCP page for scopes): lucanto_list_bank_statements, lucanto_get_bank_statement, lucanto_list_bank_statement_entries, lucanto_import_bank_statement, lucanto_update_bank_statement_entry, lucanto_import_bank_statement_entries, lucanto_skip_bank_statement_entries, lucanto_unskip_bank_statement_entries, lucanto_preview_bank_statement_csv, lucanto_import_bank_statement_csv, lucanto_suggest_transaction_matches, lucanto_match_transaction, lucanto_unmatch_transaction, lucanto_correct_transaction, lucanto_get_bank_sync_history and lucanto_request_bank_history_backfill.

lucanto_match_transaction accepts charges. Matching across currencies, or with charges, returns a summary with a confirmation_token first; confirm with it. The result reports outcome.bank_charges apart from the exchange difference. The summary may carry suggested_charges, an estimate of the shortfall to the full amount that is never applied unless you pass it.

Added: VAT deduction method on expenses over MCP

lucanto_create_expense and lucanto_update_expense accept the VAT deduction method, as the REST API does. Deduction fields are accepted only when the workspace is a standard VAT payer.