Menu

1 / 2

How I built a Lexware Office integration for Medusa v2

DEV Community·Severin Komander·6 months ago
#zmxYQIIJ
#medusa#ecommerce#node#opensource#lexware
Reading 0:00
15s threshold

I run a flower shop in Munich and recently migrated my entire e-commerce setup to Medusa v2. The shop, the

subscription service, the dashboard - everything runs on Medusa now.

One thing that was completely missing: a connection to Lexware Office, which is the most popular accounting software

for small businesses in Germany. Every order meant manually creating an invoice. With 5-10 orders a day, that gets old

fast.

So I built LexBridge - an open-source Medusa v2 plugin that automates the entire invoicing workflow.

What it does

When a customer places an order, the plugin:

Looks up the customer in Lexware (or creates a new contact)

Creates an invoice with all line items, tax rates, and payment terms

Downloads the finalized PDF from Lexware

Stores the invoice reference in the database

Everything is configurable through the Medusa Admin UI - no code changes needed after installation.

The tricky parts

German tax rates - Germany has 7% for food/flowers and 19% for everything else.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.