Skip to content

Installation

  • CS-Cart or CS-Cart Multi-Vendor 4.17.2 – 4.22.x (tested on CS-Cart Ultimate 4.17.2 and Multi-Vendor 4.17.2, both with PHP 8.1; the code is syntax-checked for PHP 7.4 to 8.3).
  • PHP 7.2.5 – 8.3, as supported by your CS-Cart version. The XML and the PDF/A-3 are written in plain PHP: no PDF library, no extra extension and no external service is needed. The ZIP export uses PHP’s ZipArchive, which almost every host has.
  • MySQL/MariaDB with InnoDB.
  • Optional: Kavio Labs Invoices & Credit Notes (shared numbering and credit notes), EU VAT Number Validation (checked buyer VAT IDs and reverse charge), Sell by Weight & Length (measured quantities and units).
  1. Go to Add-ons → Manage add-ons, click the + (upload) button and upload kv_eu_e_invoicing-1.0.0.zip.
  2. Find EU e-Invoicing in the list and click Install. The add-on is active after the installation.
  3. Enter your license key in Settings → License (or the CS-Cart Marketplace license number in Add-ons → Manage add-ons).
  4. Open Orders → e-Invoices → Seller data and fill in your VAT ID, IBAN, contact and (if you have one) Peppol ID. Everything you leave empty comes from Settings → Company.
  5. Open Tax and payment mapping and check the VAT category of each tax and the payment means of each payment method. The automatic choices are shown in each list.
  6. Optional: change the statuses that create e-invoices, the formats customers can download and the e-mail attachment in the add-on settings.

No cron job is needed.

Item Details
Tables kv_einv_documents (e-invoices with their frozen data and validation log), kv_einv_counters (own number series), kv_einv_sellers, kv_einv_maps, kv_einv_products (unit per product)
Customer profile fields Buyer reference / Leitweg-ID and Peppol ID (e-invoice address), in the Contact information section and the checkout “Customer information” blocks; VAT ID too when EU VAT Number Validation (and its field) is not installed. You can rename, move or hide them in Administration → Profile fields.

Existing orders get no e-invoice on installation. Create one on the order page or select orders in Orders → View orders and use Print documents → e-Invoices (ZIP).

e-Invoices belong to orders: administrators need View orders to see and download them and Edit order details to create, rebuild and credit them. The tax and payment mapping needs Manage settings. Multi-Vendor vendors see the e-invoices of their own orders; they create them and edit their own seller data when vendors are the sellers (see Configuration).

Upload the new package over the installed add-on (or use the Upgrade Center). Documents, numbers, seller data and mappings are kept; missing tables, settings and texts are added automatically on the next admin page view.

From 1.x to 2.0: upload the 2.0 zip over the installed add-on (or use the Upgrade Center); do not uninstall first. Everything is kept. The new archive table, columns and settings are added on the next admin page view. Your format behaviour stays as before (“Format choice” = “Always the main format”, the same attached format); existing documents keep their files and get your main format as their own format. To use the country formats, set Format choice to By the seller’s country, then open Orders > e-Invoices > Seller data and work through the Country readiness list. New documents of Belgian, German and French sellers are checked against their country rules from now on (for example a French seller needs its SIREN as registration ID with scheme 0002).

From 1.0.x to 1.1.0: after the upgrade, connect your Peppol provider account on Orders > e-Invoices > Peppol and set up the cron job shown there (see Peppol sending and receiving).

Stores that updated from 1.0.x through the Upgrade Center (fixed in 1.1.3). If you had installed a separate third-party Peppol driver add-on in 1.0 (1.0 had no built-in Peppol connection) and updated to 1.1.0, 1.1.1 or 1.1.2 through the Upgrade Center, documents whose sending had failed under 1.0 could be sent again by the new sending queue. Install 1.1.3 (any update path): it marks those documents as failed so they are never sent again by themselves. Then, in Orders > e-Invoices, filter the Peppol status by Sent and Delivered, open documents created before your update to 1.1, and look in their activity log for a transmission dated after that update; tell the buyer if an invoice was received twice.

  • Disable: no new e-invoices are created; the profile fields stay (their values are kept).
  • Uninstall keeps your e-invoices. Invoices are legal records: you must keep them for years (8-10 years in Germany, 10 in France and Italy) and never reuse a number. Uninstalling removes the add-on’s texts and the profile fields it added (with their values), but keeps the e-invoices and credit notes, the incoming e-invoices, the number series, the Peppol connections and the settings (including the license key). Installing the add-on again picks everything up and continues the numbering without duplicates.
  • Delete everything: download what you must keep first (select the documents in Orders → e-Invoices, Download selected (ZIP) in each format you archive), tick Permanently delete all invoice data on uninstall in the add-on settings, save, and uninstall. If the add-on is already uninstalled, install it, tick the setting and uninstall again.
  • Upgrading from 1.1.1 or earlier: upload the new zip over the installed add-on (or use the Upgrade Center), never “the safe way”: the uninstall step of the earlier version still deletes the data.
  • Orders, taxes and payment methods are never changed.