Skip to content

lexoffice, sevDesk, Odoo, DATEV, n8n and Make

Dashboard → Connections pulls finished invoices and credit notes from accounting software with the customer's own API key, checks them and keeps them in the invoice history or a bureau client's work queue. A voucher is imported once; later runs pick up only new ones. Runs start with Sync now or on an hourly or daily schedule.

lexoffice / Lexware Office

Create a public API key in Lexware Office (Public API) and paste it here.

Voucher in lexoffice What happens
XRechnung invoice (electronicDocumentProfile = XRechnung) the XML lexoffice produced is downloaded and validated
ZUGFeRD invoice (EN16931) the PDF lexoffice produced is downloaded and validated (embedded XML + PDF/A-3)
regular invoice (NONE) an e-invoice is created from the invoice data plus the seller data you enter in the connection (lexoffice's API does not expose your own address and VAT ID); format: XRechnung, ZUGFeRD or EN 16931

Statuses imported: open, paid, paidoff (no drafts). The tax type of the voucher sets the VAT category (vatfree → E with the § 19 UStG note, intraCommunitySupply → K, § 13b → AE, third-country → G). The Leitweg-ID comes from the voucher's or the contact's xRechnung.buyerReference. Requests respect lexoffice's limit of two per second.

sevDesk

Paste the API token of a sevDesk user (found in the user settings in sevDesk). Invoices with status open (200) or paid (1000) that are marked as e-invoice in sevDesk are downloaded as XRechnung XML and validated. Invoices without the e-invoice mark are listed as skipped: turn on the e-invoice option in sevDesk, or export them as CSV and use Import from CSV.

Odoo

Odoo (17 and later) creates e-invoices itself — XRechnung, Peppol BIS, Factur-X — and attaches them to posted invoices when an e-invoice format is set for the customer. The connection reads posted customer invoices and credit notes through Odoo's external API, validates the attached e-invoice with the official rules and, if you enable write back, posts the result as an internal note on the invoice in Odoo.

  1. In Odoo, open your user → Account Security → New API key.
  2. Here: Dashboard → Connections → Odoo with the server address (https://mycompany.odoo.com), the database name, the login and the API key.
  3. Sync now, or choose an automatic schedule. Invoices without an attached e-invoice are listed as skipped with the reason.

The address must be a public https address; the service never connects to private networks.

Automatic sync

Each connection has a schedule: Manual only (the default, also for connections made before schedules existed), Every hour or Once a day. Set it when you connect, or change it in the connection's row. A schedule runs exactly what Sync now runs: the same vouchers, the same quota and the same billing.

  • Next run: the row shows when the next automatic run is due. Switching a schedule on starts the first run one interval after the last sync, or right away if that time has passed. A manual sync moves the next automatic run one interval on. When a run reached the limit of 100 new vouchers, the next one follows after 5 minutes.
  • Last result: the summary of the last run, marked automatic when the schedule ran it, or its error.
  • Failures: after a failed automatic run (the system was unreachable or answered with an error) the next run waits longer — twice the interval per failure in a row, at most 12 hours for hourly and 3 days for daily schedules. A successful run resets this.
  • Rejected key: when the accounting system rejects the API key in 3 automatic runs in a row, the schedule pauses and the owners and admins of the organization get an e-mail. Nothing is imported while it is paused. Enter a new API key in the row (for Odoo, only the API key is replaced) or press Resume once the key works again; both reset the counters.
  • Quota or storage: when the document quota is used up or document storage is off, the run stops, the vouchers not yet imported stay new, and the schedule tries again at its normal time (no pause).
  • Billed once: every voucher is recorded under its own usage key (connector:<connection>:<voucher>), so it is billed at most once, even when an import is repeated after an interruption. Only one sync of a connection runs at a time; Sync now while a sync is running answers 409 sync_running.

Schedules run in the worker process (RUN_WORKER=true, the default) through the persistent task queue. Due connections are claimed with row locks (FOR UPDATE SKIP LOCKED) and queued as one task each in the same transaction, so several API replicas never run the same sync twice. Self-hosted installations need at least one process with the worker on.

Dashboard API: PATCH /app-api/connectors/{id} with { "schedule": "off" | "hourly" | "daily" }, { "resume": true } or { "token": "<new key>" }; GET /app-api/connectors returns schedule, next_sync_at, sync_failures, auth_failures, paused_at and paused_reason.

DATEV

DATEV's interfaces (DATEV Marketplace / DATEVconnect) are only available to approved DATEV partners, so there is no direct DATEV connection yet. Today: use the CSV export of the work queue (German Excel format) for DATEV import via its CSV assistant, or let DATEV Unternehmen online receive the XRechnung / ZUGFeRD files. A direct connection will follow once the partnership is approved.

n8n and Make

There is no native n8n or Make module yet; both work with the API through their HTTP modules:

  • n8n: node HTTP Request, method POST, URL https://einvoiceengine.com/v1/invoices/validate, authentication Header Auth with name Authorization and value Bearer <key>, body n8n Binary File with the invoice, header Content-Type: application/xml (or application/pdf). Follow it with an IF node on {{$json.status}} equal to valid. For delivery to your systems use a route instead of a long workflow.
  • Make: module HTTP → Make a request with the same URL, method and header, body type Raw, content type application/xml, and the file data from the previous module; parse the response as JSON and filter on status.

Both count like API calls of the key. The playground shows every request as curl, which both tools can import.

Connector SDK

For self-hosting and contributions: a source system is one class implementing SourceClient in apps/server/src/services/connectors.ts — listFinished(since) lists invoices that are ready, pull(id) returns the e-invoice the system produced (or JSON to build one from), and the optional report(id, outcome, detail) writes the result back — plus one line in the SOURCES registry. Synchronisation, encrypted credentials, history, the bureau queue, the dashboard and integration health work unchanged. Customer-configured addresses go through the guarded outbound client (public https only).

What to know

  • API keys are stored encrypted and used only to read invoices; only the Odoo connection writes back, and only a note, when you enable it.
  • Each invoice created from lexoffice data counts as one document; checking e-invoices the software produced is free in the dashboard.
  • Verified against the vendors' published API documentation (November 2026) and simulated servers, not yet against a customer's live system. Tell us if a real account behaves differently — we fix it with priority.