← Back to the Lexware Office guide (in German)
Introduction
If you sell low-value items on WooCommerce — samples, scent testers, add-ons priced at a few cents — and you sync orders into Lexware Office (formerly lexoffice) through a connector or ERP middleware, you may have seen an invoice rejected with “Falscher Steuersatz in Position” (wrong tax rate on this line item). The order total looks correct, and the tax rate in WooCommerce is correct.
We ran into exactly this ourselves on our own shop, which sells scent samples at 0.28 €. The cause was rounding — and once you see the arithmetic, it is clear why it only hits cent-level items.
Where the Rounding Comes From
In our case, orders went through an ERP middleware that calculated the tax amount for each line on its own side and then checked whether that amount still matched the tax rate. On a normal-priced product the rounding is invisible. On a cent-level line item, it isn’t:
0.28 € × 19% = 0.0532 € → rounded to 0.05 € (currency has 2 decimals) 0.05 € ÷ 0.28 € = 17.86% ← not 19%
The tax amount has to be rounded to the cent — but the rounded amount no longer divides back into an exact 19%. The middleware’s check flagged the line as having the wrong tax rate and rejected it, even though nothing about the order was wrong. How exactly that check worked was not documented, so for weeks we could only guess.
The Fix: Let Lexware Office Do Its Own Tax Math
The mismatch only exists because a second system calculates the tax amount and then compares results. Remove that second calculation, and there is nothing left to disagree with.
That’s the approach behind Nota Invoice Sync for Lexware Office: for every line, it sends only the net amount and the tax rate to the Lexware Office Public API. In that API, tax amounts and totals are read-only fields — Lexware Office calculates them itself. A 0.28 € item at 19% is sent as 0.28 € net with a 19% rate, and Lexware Office does the rounding. On our own shop’s invoices, the 0.28 € sample line and the 3.90 € shipping line appear at their real prices, each on its own line.
The plugin creates the invoice directly through Lexware’s official Public API (api.lexware.io) with a key you generate yourself — no ERP, no middleware, no CSV export in between.
What You’ll Need
- A WooCommerce store with orders in EUR — the plugin only invoices EUR orders.
- A Lexware Office account on the XL plan — according to the Lexware help centre, the Public API requires Lexware Office XL. You create the key under Erweiterungen → Weitere Apps → Public API (
app.lexware.de/addons/public-api). Keys are valid for at most 24 months; see our guide on the Public API key (in German).
Step 1: Install the Plugin and Connect Your API Key
Install Nota Invoice Sync for Lexware Office from the WordPress.org plugin directory and activate it. Go to WooCommerce → Lexware Invoices, paste your key into the API key field and click Save and test connection.
The connection test also compares your Lexware Office account’s tax setting with your shop’s tax table and warns you if they disagree — for example, if your shop charges destination-country VAT on EU orders (One Stop Shop) while your Lexware Office account is set to German VAT.
Step 2: Choose Draft or Finalised Invoices
Under Document mode, the option Finalise invoices immediately decides whether new invoices are created as drafts or finalised right away. It is off by default, so invoices start as drafts:
- Draft (“Entwurf”) — can still be edited or deleted in Lexware Office and is not booked yet. Good for your first few invoices while you check everything.
- Finalised — can no longer be deleted. To correct it, Lexware Office offers cancelling (Stornieren) or an invoice correction (Rechnungskorrektur); see our guide on correcting invoices (in German). Whether Lexware Office also produces an e-invoice depends on its own e-invoice setting: with “E-Rechnung aktivieren” switched on, invoices to business contacts are created as e-invoices.
Step 3: Create Your First Invoice
Open a WooCommerce order and find the Lexware Office invoice box in the sidebar. Click Create invoice now. The plugin works out the tax treatment, finds or creates the Lexware contact by the customer’s email address, and creates the invoice. The invoice number and status appear on the order screen and in the Lexware documents column of the order list.
Not ready to send anything yet? Turn on Test mode under Diagnostics first — it builds the exact invoice data and writes it to the WooCommerce log without sending it.
How the Plugin Picks the Tax Treatment
- Kleinunternehmer (§19 UStG) — if your Lexware Office account is flagged as a small business, invoices are created without VAT.
- Domestic — billing country equals your shop’s base country: standard net invoice.
- Third country — billing address outside the EU: tax-free export delivery.
- Intra-community supply (reverse charge) — billing address in another EU country, a VAT ID on the order and no tax charged. The plugin reads the VAT ID from the order fields listed in its settings; it does not query VIES.
- EU distance sales (OSS) — if Lexware Office uses the destination principle, the destination country’s rate is used. If it is set to German VAT, Lexware Office only accepts German rates; if the shop charged a foreign rate anyway, the plugin does not send the invoice and shows an error on the order.
Whether an order is taxed is still decided by WooCommerce (or your VAT plugin); the plugin translates that decision into the fields Lexware Office expects.
Step 4: Automate What Happens Next
Everything above works without limits in the free version — invoices are created by hand, one click at a time. Nota Invoice Sync Pro removes the manual step and adds:
- Automatic invoicing on the order statuses you choose (processing, on hold, completed, or pending payment), a bulk action and a bulk import for past orders.
- A “Your invoice is ready” email with the invoice PDF once it is finalised, and PDF download for you and, optionally, for customers under My Account.
- Credit notes per refund, line by line, by hand or automatically — and a corrected invoice once an invoice has been fully credited.
- Payment reminders in three stages, counted from the due date in Lexware Office and emailed as a PDF.
- Payment status sync twice a day with an order note; optionally moves pending or on-hold orders to processing once payment is confirmed.
- Delivery notes, per order or bulk-printed as one PDF.
- Per-product line descriptions, units and delivery dates, service periods for services, customs data for non-EU shipments, more placeholders, print layout selection and a GoBD CSV export.
Pro can be tried free for 14 days, no credit card required.
Troubleshooting
- “No Lexware Office API key has been configured yet.” — the key field is empty or wasn’t saved. Enter it under WooCommerce → Lexware Invoices and click Save and test connection.
- “This order is in …. Nota Invoice Sync currently only supports EUR orders.” — the order is in another currency. Such orders are not invoiced.
- “Tax setup mismatch” after the connection test — your shop charges destination-country VAT on EU orders, but Lexware Office is set to German VAT. Discuss with your tax adviser which side should change; the plugin cannot resolve this for you.
Frequently Asked Questions
Is this an official Lexware plugin?
No. Nota Invoice Sync is an independent product, not affiliated with or endorsed by Haufe-Lexware GmbH & Co. KG. It talks to your own Lexware Office account through the official Public API, using a key you create yourself.
I know this service as “lexoffice” — is that the same thing?
Yes. lexoffice is the former name of Lexware Office; the plugin uses the current api.lexware.io gateway.
Do I need the Pro version to avoid the rounding error?
No. The free version creates invoices without limits, as drafts or finalised, and sends net amount and tax rate in the same way.
What data gets sent to Lexware, and when?
For an invoice: the customer’s name, billing address and email address (for the Lexware contact) and the order’s line items with quantity, unit, net price, tax rate and description, plus shipping, order number and dates. In the free version this only happens when you create an invoice yourself; in Pro also automatically, depending on your settings, and for credit notes, payment reminders and delivery notes (with the shipping address). Everything goes only to your own Lexware Office account.
Sources
- Lexware Developers: Lexware API Documentation
- Lexware Office Help Center: Alles rund um Public API
Last updated: November 2026. Not tax advice. Lexware and Lexware Office are trademarks of Haufe-Lexware GmbH & Co. KG.
Stop fighting rounding errors on your Lexware invoices
Get Nota Invoice Sync for Lexware Office free on WordPress.org, or see everything Nota Invoice Sync Pro automates after the invoice is created.
