Lexoffice + Shopify
Connect Lexoffice and Shopify to Automate Your E-Commerce Accounting
Stop entering data by hand. Sync Shopify orders, customers, and payments directly into Lexoffice in real time.

Why integrate Lexoffice and Shopify?
Lexoffice and Shopify do two very different jobs — one runs your online store, the other keeps your accounting compliant. Without an integration, that means manually exporting order data from Shopify and re-entering it into Lexoffice, which takes time and invites errors. Connecting the two through tray.ai keeps your books in sync with your actual sales, automatically.
Automate & integrate Lexoffice & Shopify
Use case
Automatic Invoice Generation for Every Shopify Order
Every time a new order is placed in Shopify, tray.ai creates a corresponding invoice in Lexoffice with all the relevant line items, customer details, tax rates, and payment terms. Finance teams get fully formatted, GoBD-compliant invoices the moment a sale is made — no manual effort needed.
Use case
Real-Time Customer Record Synchronization
When a new customer registers or places their first order in Shopify, tray.ai creates or updates the matching contact record in Lexoffice. Billing addresses, emails, and other details stay consistent across both platforms, so invoices always reach the right person. Changes made in Shopify carry over to Lexoffice without anyone touching them.
Use case
Payment Status Updates and Reconciliation
When a Shopify order is paid, refunded, or partially refunded, tray.ai pushes that status into Lexoffice to keep your financial records accurate. Bank reconciliation and month-end reporting get faster because the data is already there. Finance teams don't need to cross-reference Shopify payouts against Lexoffice by hand.
Use case
Automated Credit Notes for Shopify Refunds
When a return or refund is processed in Shopify, tray.ai automatically generates a credit note in Lexoffice tied to the original invoice. VAT adjustments are handled correctly, and finance teams get a full audit trail for every refund without any manual bookkeeping.
Use case
Product and SKU Data Sync for Accurate Line Items
When product names, SKUs, and pricing are consistent between Shopify and Lexoffice, invoices contain accurate line item descriptions. tray.ai syncs product catalog updates from Shopify into Lexoffice so invoices always reflect current names and pricing — no manual corrections. This matters especially for businesses with large or frequently changing catalogs.
Use case
Daily or Weekly Revenue Reporting Aggregation
tray.ai can aggregate Shopify sales data on a schedule and push summarized revenue figures into Lexoffice as journal entries or revenue records, giving finance teams a consolidated view of business performance. This works well for businesses that prefer batch processing over per-order invoice creation. Scheduled runs keep financial records current without adding load to your systems.
Use case
Multi-Currency Order Handling and VAT Compliance
For Shopify stores selling internationally, tray.ai handles currency conversion and applies the correct VAT rates in Lexoffice based on the customer's country at the time of the order. EU VAT compliance and accurate reporting across tax jurisdictions are handled automatically, taking a real compliance burden off finance and operations teams.
Get started with Lexoffice & Shopify integration today
Lexoffice & Shopify Challenges
What challenges are there when working with Lexoffice & Shopify and how will using Tray.ai help?
Challenge
Mapping Shopify Tax Rates to Lexoffice VAT Categories
Shopify stores selling in Germany and across the EU often deal with multiple VAT rates — 19%, 7%, 0% for exports — and each one has to map correctly to a Lexoffice VAT category to stay compliant. Doing that mapping by hand for every order doesn't work at scale.
How Tray.ai Can Help:
tray.ai's data transformation tools let you build flexible mapping logic that translates Shopify tax line data into the exact VAT category codes Lexoffice requires. Edge cases like reduced rates, zero-rated exports, and B2B reverse charge scenarios are handled automatically.
Challenge
Handling Shopify Guest Checkouts Without Duplicate Contacts
Guest customers in Shopify don't have persistent accounts, so each order can arrive with contact details that are hard to match against existing Lexoffice records. Left unchecked, that creates duplicate contacts in your accounting system.
How Tray.ai Can Help:
tray.ai lets you build deduplication logic directly into your workflow. Before creating a new contact, the workflow searches Lexoffice for an existing record by email address — so returning guest customers get matched to their existing record instead of spawning a duplicate.
Challenge
Managing High-Volume Order Periods Without Data Loss
During Black Friday or other peak sales windows, Shopify can generate thousands of orders in a short time. Without proper queue management, workflows can miss events or fall behind, delaying invoice creation in Lexoffice.
How Tray.ai Can Help:
tray.ai's workflow engine handles high-throughput event volumes with reliable queuing and retry logic. Every Shopify order gets processed and reflected in Lexoffice, even during the busiest periods.
Challenge
Keeping Invoice Line Items Accurate Across Product Updates
When product names, SKUs, or prices change in Shopify, invoices in Lexoffice can end up with outdated information if the integration doesn't account for catalog changes. That leads to compliance problems and customer confusion.
How Tray.ai Can Help:
tray.ai lets you build product sync workflows that keep Lexoffice article data current with Shopify catalog changes. Invoice creation workflows can also be configured to pull the latest product data at the moment an order comes in.
Challenge
Reconciling Multi-Channel Revenue in Lexoffice
Businesses running Shopify alongside Amazon, Etsy, or a physical POS need all revenue streams categorized correctly in Lexoffice — without double-counting or mixing up channels.
How Tray.ai Can Help:
tray.ai lets you tag incoming Shopify revenue with specific identifiers — sales channel codes, cost center references — when creating entries in Lexoffice. That makes it straightforward to separate and reconcile revenue from each channel in your financial reports.
Start using our pre-built Lexoffice & Shopify templates today
Start from scratch or use one of our pre-built Lexoffice & Shopify templates to quickly solve your most common use cases.
Lexoffice & Shopify Templates
Find pre-built Lexoffice & Shopify solutions for common use cases
Template
New Shopify Order to Lexoffice Invoice
Automatically creates a new invoice in Lexoffice with customer details, line items, VAT, and payment terms whenever a new order is confirmed in Shopify.
Steps:
- Trigger: New order created and confirmed in Shopify
- Transform: Map Shopify order fields (customer, line items, tax, totals) to Lexoffice invoice schema
- Action: Create invoice in Lexoffice with correct VAT rates and customer reference
Connectors Used: Shopify, Lexoffice
Template
Shopify Refund to Lexoffice Credit Note
When a refund is issued in Shopify, this template automatically generates a credit note in Lexoffice tied to the original invoice, keeping VAT and revenue records accurate.
Steps:
- Trigger: Refund created for an order in Shopify
- Lookup: Retrieve original invoice ID in Lexoffice using Shopify order reference
- Action: Create credit note in Lexoffice referencing the original invoice and refund amount
Connectors Used: Shopify, Lexoffice
Template
Shopify New Customer to Lexoffice Contact
Creates or updates a contact record in Lexoffice whenever a new customer account is created or a guest checkout is completed in Shopify, so billing data stays accurate.
Steps:
- Trigger: New customer created or first order placed by a guest in Shopify
- Check: Search Lexoffice for an existing contact matching the customer email
- Action: Create new contact or update existing contact in Lexoffice with latest billing details
Connectors Used: Shopify, Lexoffice
Template
Shopify Payment Captured to Lexoffice Payment Record
Automatically logs a payment entry in Lexoffice when a Shopify order payment is captured, making reconciliation with bank statements and payout reports faster.
Steps:
- Trigger: Payment captured event fired in Shopify
- Lookup: Find the corresponding open invoice in Lexoffice using the Shopify order number
- Action: Mark invoice as paid in Lexoffice and record payment method and date
Connectors Used: Shopify, Lexoffice
Template
Daily Shopify Sales Summary to Lexoffice Revenue Entry
Runs on a daily schedule to aggregate total Shopify revenue, taxes, and order counts, then pushes a summarized financial entry into Lexoffice. Good fit for high-volume stores that prefer batch accounting.
Steps:
- Trigger: Scheduled daily run (e.g., midnight or end of business day)
- Fetch: Retrieve all completed Shopify orders from the past 24 hours and aggregate totals by tax rate
- Action: Create a summarized revenue posting or journal entry in Lexoffice
Connectors Used: Shopify, Lexoffice
Template
Shopify Customer Address Update to Lexoffice Contact Sync
Keeps billing and shipping address details in sync between Shopify and Lexoffice whenever a customer updates their profile, so invoices don't go to outdated addresses.
Steps:
- Trigger: Customer profile updated in Shopify
- Check: Compare updated address fields with existing Lexoffice contact record
- Action: Update contact details in Lexoffice if changes are detected
Connectors Used: Shopify, Lexoffice