Skip to main content
Version: 2.0.0

Settings

Open Settings → Plugins → Superfaktúra. Fields are grouped below by purpose; on the CP settings page they are laid out under API Credentials, Documents, Automation, Tax/B2B, and Diagnostics areas.

API Credentials

FieldDescription
TitleYour company name as it should appear on invoices. Required (single-site). Site-overridable.
EmailThe email address associated with your SuperFaktura account. Required (single-site). Site-overridable.
API KeyThe API key provided by SuperFaktura. Required (single-site). Site-overridable.
Company IDThe Company ID provided by SuperFaktura. Required (single-site). Site-overridable.
Market (Country)The SuperFaktura market to invoice against: Slovak or Czech. Required (single-site). Site-overridable.
Sandbox ModeWhen enabled, requests are sent to the SuperFaktura sandbox instead of production.

On a multi-site install, Title, Email, API Key, Company ID, Market (Country), and Invoice Language are not required at the global level -- they must instead be configured per site via Site Overrides, so each site can invoice against a different SuperFaktura account/market.

Documents

FieldDescription
Invoice nameThe invoice name shown only inside SuperFaktura. {increment_id} is replaced with the order number. Default: Invoice for order #{increment_id}.
Invoice number (Formatted)Formatted invoice number pattern. Supports {year}, {site}, {order}, {order4}, {order6}, {sequence}, {sequence4}, {sequence6}; legacy YYYY/OOOO variables are still supported. Default: {year}{site}{order6}. Required (single-site).
Due date daysThe due date is calculated from the invoice creation date plus this number of days. Required. Default: 7.
LanguageThe invoice language, e.g. Slovak, Czech, English, German, Hungarian, and 9 more. Default: Slovak. Required (single-site). Site-overridable.
Disable Craft auto-incrementing invoice numbers?When enabled, SuperFaktura manages invoice numbering instead of Craft (introduced in 1.0.4).
Rounding typeVAT rounding method: Whole document (VAT calculated from the summed item prices, then rounded), Per item (default; VAT calculated per item as the difference between with-VAT and without-VAT prices), or Retail (recommended for e-shops; each step is rounded to 2 decimals before the VAT difference is derived). Required.
SignatureShow a signature on the invoice. Default: on.
Payment InfoShow payment information on the invoice. Default: on.
By SquareShow a Pay by Square QR payment code on the invoice. Default: off.
Shipping Method as itemAdd the order's shipping method as its own invoice line item. Default: on.
Payment Method as itemAdd the order's payment method as its own invoice line item. Default: on.
Configurable Product PricingHow configurable-product prices are shown on the invoice: include (fold all configuration prices into the main product price, configurable item price set to zero) or exclude (default; keep configuration prices as separate, individually listed items).
Discount HandlingHow order discounts/coupons are represented: line_item (default; a separate negative invoice item) or per_item (applied as a percentage on each product's invoice item).
Order Note SourceWhich local order note is sent to SuperFaktura: none (default), the checkout customer note, the latest public order history comment, or the latest order history comment (any visibility).
Order Note TargetWhere the selected note lands on the SuperFaktura document: the client comment (default), the invoice footer comment, the invoice header comment, or an internal SuperFaktura comment.
Zero Total OrdersWhether an invoice should be created when the order's grand total is zero. Default: on.
Tax PayerWhether the store is a VAT payer; select "no" to omit VAT from invoices. Default: yes (1).
Tax ClassThe tax category applied to invoice items, or None (0%). Required (single-site).

Automation

FieldDescription
Generate invoice whenMulti-select of order statuses. A regular invoice is generated automatically only when the order reaches one of the selected statuses. Required.
Generate proforma invoice whenMulti-select of order statuses that trigger a proforma invoice.
Limit invoice creation to payment methodsOptional multi-select; if set, invoices are only generated automatically for these payment methods.
Limit proforma invoice creation to payment methodsOptional multi-select; same restriction for proforma invoices.
Show Superfaktúra ButtonAdds a button to the order edit page to manually create, update, download, or email the invoice/proforma/credit note for that order.
Send Invoice when Order is PaidWhen enabled, the invoice is automatically emailed to the customer as soon as it's created.
Send Proforma Invoice when GeneratedWhen enabled, the generated proforma invoice is automatically emailed to the customer.
Invoice email BCC recipientsAdditional email addresses (comma, semicolon, or space separated) BCC'd whenever an invoice email is sent. Validated as a list of email addresses.
Store Remote Invoices in DatabaseWhen enabled, invoices retrieved via the API are cached in the plugin's own database tables, reducing SuperFaktura API requests needed to render the Superfaktúra → Invoices list, and enabling the Sync Invoices action.
Increment the last remote invoice numberWhen enabled, the remote invoice number is incremented automatically instead of using the configured Invoice number (Formatted) pattern.

Tax / B2B

FieldDescription
Validate B2B DetailsWhen enabled, company orders must include a valid Company ID and Tax ID before an invoice is sent to SuperFaktura; missing values block invoice creation with a validation error.
Require VAT ID for B2B OrdersWhen enabled (and B2B validation is on), company orders must also include a VAT ID before an invoice can be created or updated.
EU Reverse ChargeWhen enabled, EU B2B orders whose billing country is outside your SuperFaktura Market (Country) are invoiced with zero VAT and reverse-charge metadata, provided a valid VAT ID is present. If enabled without a VAT ID on a qualifying EU cross-border order, invoice creation fails with a validation error.

A VAT ID is considered valid when it matches ^[A-Z]{2}[A-Z0-9]{8,12}$ after removing spaces, dashes, and dots (e.g. SK1234567890).

Site Overrides

Available when the install has more than one site. Override Title, Email, API Key, Company ID, Market (Country), Language, and Sandbox Mode per site; leave a field empty to fall back to the global default.

Diagnostics

FieldDescription
Connection test siteSite whose resolved credentials (including site overrides) should be used for Test Connection.
Test ConnectionRuns a lightweight API request (invoices.getAll, 1 item) against the selected site's configuration and reports success or failure as a CP notice/error.
Recent API ErrorsThe most recent SuperFaktura-related errors logged by the plugin (up to 10), with request context. Sensitive fields (api_key, email, company_id, title, tokens, etc.) are redacted before display.
Reset API errorsClears the superfaktura: prefixed error entries from the plugin log.
FieldDescription
Show in CP SectionAdds the Dashboard and Invoices pages to the Superfaktúra CP navigation. The Settings and License pages are always shown.
Daily limit / Remaining / ResetRead-only fields showing the daily SuperFaktura API request limit, remaining requests, and reset date.
Monthly limit / Remaining / ResetRead-only fields showing the monthly SuperFaktura API request limit, remaining requests, and reset date.

Where this is used

  • Email, API Key, Company ID, and Market (Country) are used for every SuperFaktura API call, whether triggered automatically by Generate invoice when/Generate proforma invoice when, manually from the order edit page, or through an MCP-driven invoice action.
  • Tax Payer, Tax Class, Rounding type, Shipping/Payment Method as item, Configurable Product Pricing, and Discount Handling affect how each invoice line's tax and totals are calculated and presented.
  • Validate B2B Details, Require VAT ID for B2B Orders, and EU Reverse Charge control whether an order's company/VAT data is enforced and whether reverse-charge VAT rules apply -- see the Developer API for the underlying validation logic.
  • Show Superfaktúra Button controls whether the order edit page exposes manual create/update/ download/email actions -- see the Developer API for the underlying component.
  • See the Superfaktura overview for how these settings fit into the invoice provider and MCP tools.