← All integrations
WooCommerce → lexoffice

WooCommerce lexoffice integration

Last updated:

In short

A WooCommerce lexoffice integration creates the matching lexoffice record for every paid order: a Rechnung or Beleg with the correct taxType and tax rate per line, linked to one deduplicated Kontakt. Refunds become credit notes, shipping and fees get their own positions, and EU or export sales carry the right tax subtype, so your Steuerberater starts from correctly taxed data.

What lexoffice needs from a WooCommerce sale

WooCommerce knows everything about a sale: the line items, the tax collected per position, the coupon, the shipping, the gateway fee, the partial refund three days later. lexoffice wants the same sale as accounting records: a contact for the customer, an invoice or voucher with correctly taxed lines, a credit note for the refund, and posting categories that carry through to the DATEV export your Steuerberater pulls.

Translating a WordPress shop’s order data into a German accounting system’s records is where the effort sits. The integration reads each relevant order event from WooCommerce, applies your booking logic, finds or creates the right customer contact, and writes a record into lexoffice that your finance workflow can rely on without anyone re-keying figures.

Order fields and their lexoffice counterparts

WooCommerce object / eventBecomes in lexofficeNotes
Paid order (processing / completed)Sales invoice (Rechnung) or voucher (Beleg)Model chosen per your bookkeeping; one record per order
Order billing customerContact (Kontakt / Debitor)Deduplicated on email and VAT ID, not created blindly
Order line itemslexoffice line items with unit price and quantityNet or gross per your taxType convention
Tax linestaxType + taxRatePercentage per line19% / 7% domestic, plus the correct tax subtype cross-border
Shipping lineSeparate line itemShipping is itself taxable and booked on its own position
Fee lines / gateway feesSeparate line or expense voucherKept apart from revenue so the net payout reconciles
Coupon / discountReduced line amountslexoffice has no discount object; the net is applied per line
Refund / partial refundCredit note (salescreditnote / Rechnungskorrektur)Same lines and tax keys as the original, dated to the refund

Which posting category each product type uses, how tax is handled, and whether you get invoices or vouchers are fixed in a short scoping session. From then on every order follows those rules without a person touching it.

Contacts, tax subtypes and invoice numbers: the plugin failure points

A directory plugin or a one-off export copes with the clean orders and leaves the costly exceptions for your bookkeeper:

How the WooCommerce to lexoffice sync is built and operated

The sync runs outside WordPress. WooCommerce order and refund events are pulled on a schedule (or received by webhook), validated, checked against existing lexoffice contacts, transformed into your agreed lexoffice records, and written through the Invoices or Vouchers endpoint, throttled to the API rate limit with a clean back-off whenever lexoffice answers 429.

The WooCommerce order ID is the anchor: the pipeline stores which lexoffice invoice, voucher, or credit note each order produced, so a retry or a re-run finds the existing record and never burns a second invoice number or creates a phantom contact. Processing happens on EU-hosted AWS infrastructure, so order and customer data stays inside the EU on its way into a German accounting system, consistent with your AVV and GDPR documentation.

Monitoring, alerting, incident response, and tracking WooCommerce and lexoffice API changes all sit with us under the contract. Your month-end stops depending on a WordPress cron job that belongs to nobody.

Is a WordPress plugin enough for your shop?

If you process a handful of orders a month at a single VAT rate, a directory plugin or even manual entry into lexoffice will serve you well, and we will tell you that honestly. A pipeline becomes the better option when volume climbs, when you sell across EU borders and need correct tax subtypes, when refunds and multiple payment gateways make reconciliation a monthly chore, or when duplicate contacts and broken invoice numbers are already costing you time your Steuerberater bills back to you. Past that point a plugin on your web server is a liability, and an EU-hosted pipeline with an SLA behind it is the safer place for this logic.

Frequently asked questions

Can I not just use a WooCommerce lexoffice plugin from the WordPress directory?
For a low-volume shop on a single VAT rate, a plugin is often fine and we will say so. Plugins struggle once you have refunds, mixed tax rates, EU cross-border sales, or several payment gateways, because they run inside WordPress on the same server as your shop and share its uptime, its cron, and its failure modes. When a sync stops without warning or double-creates an invoice, nobody is on the hook. The integration moves that logic off your web server into a monitored pipeline with someone responsible for it.
Does it create an invoice or a booking voucher in lexoffice?
Whichever fits your bookkeeping. For shops that need a compliant customer invoice per order we create a lexoffice sales invoice (Rechnung) via the Invoices endpoint. For pure bookkeeping, where the shop or the payment provider already issued the document, we post a sales voucher (Beleg) via the Vouchers endpoint so your revenue is booked without generating a duplicate invoice number. We agree which model you need before build, so lexoffice and your DATEV export stay consistent.
How does it handle German and EU VAT correctly?
Each line carries the correct taxType and taxRatePercentage, and cross-border cases get the right tax subtype - intra-community supply for EU B2B with a valid VAT ID, third-country delivery for exports, and vatfree where the Kleinunternehmerregelung under section 19 UStG applies. The destination country and the customer's tax status drive the coding, so what lands in lexoffice is already correct rather than something your Steuerberater has to reclassify.
How are customers matched so I do not get duplicate contacts in lexoffice?
lexoffice has no native upsert, so a naive sync creates a new Kontakt for every order. We match on email and, for business customers, VAT ID against existing lexoffice contacts before deciding to link or create. That keeps one debitor per customer with a clean history instead of hundreds of near-duplicate records that break your receivables view.
What happens when the lexoffice API or WooCommerce changes?
We absorb it. The pipeline runs on EU-hosted infrastructure under our monitoring, separate from your WordPress host, and keeping up with WooCommerce and lexoffice API changes is part of our contract rather than something your finance team discovers at month-end. You get alerting, incident response, and an SLA, plus a DPA/AVV covering the order and customer data that passes through.
// scoping request

Need this integration built and permanently operated? Tell us which systems connect and what data has to move. Fixed-price scoping quote within 48 hours.

We reply within one working day. No newsletter, no sales sequence.