🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!

Gravity Forms Lexware Office Premium Add-on Setup Guide

Updated 8 min read Gravity Forms Integrations A–Z
On this page
  1. Video walkthrough
  2. What you need
  3. Create your Public API key
  4. The settings page
  5. Your key and the connection check
  6. Add a Lexware Office feed
  7. Contact or contact and a voucher
  8. Updating instead of duplicating
  9. The invoice, quotation or order confirmation
  10. The finalize toggle
  11. A condition
  12. What happens when a form is submitted
  13. The result on each entry
  14. Sending test entries safely
  15. Privacy and security
  16. A quick recap

Video walkthrough

Gravity Forms Lexware Office Add-On Setup Guide: Contacts & Draft Quotations (WordPress Side)
Video setup guide: Gravity Forms Lexware Office Watch on YouTube

The Gravity Forms Lexware Office Premium Add-on connects your forms to your own Lexware Office (formerly lexoffice) account. When a form is submitted, the add-on creates or updates a contact in Lexware Office and, when you want it to, raises an invoice, quotation or order confirmation built from the entry. A booking, an order or a sign-up turns into a record in your accounting without any copy and paste, and without leaving WordPress.

Everything runs through your own Lexware Office account, with an API key the account admin creates self-serve. The key is stored encrypted on your site, the add-on only ever contacts api.lexware.io, and the work happens in the background so the form never waits. This guide walks through the Public API key, the settings page, a feed, the finalize toggle and what each entry records.

What you need

  • WordPress with Gravity Forms 2.5 or newer.
  • PHP 7.4 or newer.
  • An active license key for this add-on.
  • A Lexware Office account, and admin rights on it so you can create a Public API key.

If Gravity Forms is missing or older than 2.5, the add-on shows a notice in the WordPress admin and does nothing else, so a form is never left half connected.

Create your Public API key

The add-on talks to Lexware Office with a Public API key that you create yourself; there is no partner programme and no app to be approved. Sign in to Lexware Office as an account admin, open Extensions (Weitere Apps) and then Public API. The direct address is app.lexware.de/addons/public-api. Create a new API key, give it a name you will recognise, and copy the token it shows you. Lexware Office shows the key once, so keep it somewhere safe while you finish the setup.

The key belongs to your account and pays for and owns every record the add-on creates. Treat it like a password: anyone who has it can read and write your Lexware Office data. If you ever need to revoke it, you do that in the same Public API screen, and then paste a fresh key into the add-on.

The settings page

Install and activate the add-on like any plugin, after Gravity Forms. Then open Forms → Settings → Lexware Office. This one page holds the license key and your Lexware Office API key.

The Lexware Office settings page in Gravity Forms: license key, the API key field stored encrypted, a default country code and a check the connection button
The settings page: your license, the Lexware Office API key and the connection check.

Your key and the connection check

Paste the Public API key into the API key field. It is stored encrypted at rest, so the plain value is never left sitting in the database. After the field is saved it is shown as stored, not displayed again, and you can replace it at any time by typing a new one. There is also a default country code, a two letter ISO code such as DE, AT or CH, used for an address that does not carry its own country.

Below the key is a Check the connection button. Press it and the add-on reads your Lexware Office profile with the saved key and shows your company name. It creates nothing and costs nothing; it only confirms that the key is accepted. Run the check once whenever you paste a new key, so you learn about a typo here and not from an entry that quietly failed.

Add a Lexware Office feed

A feed tells the add-on what to do when a form is submitted. Open a form, go to Settings → Lexware Office and add a feed. The feed editor is where you choose what to create and map your form fields to Lexware Office.

The Lexware Office feed editor in Gravity Forms: a record type selector, the contact field map, the invoice line item fields and the finalize toggle which is off by default
The feed editor: choose what to create, map the fields, and decide whether to finalise.

Contact or contact and a voucher

The first choice is what the feed creates. Contact only adds or updates a contact and stops there, which is ideal for a newsletter sign-up or a lead form. The other options, contact and invoice, contact and quotation and contact and order confirmation, create the contact first and then raise a voucher that references it, which suits a booking or an order form.

You then choose the contact role, customer or vendor, and map the contact fields: first name, last name, company, e-mail, phone, street, postcode, city, country code and a note. Every field accepts merge tags, so you pull the values straight from the entry. A person needs a last name; if you leave the names empty and give a company, a company contact is created by its name instead.

Updating instead of duplicating

A form that the same person fills in twice should not leave two copies of them in your accounting. The feed has a Update a matching contact option, on by default. When it is on and you map an e-mail, the add-on looks for a contact with that e-mail and updates it instead of creating a duplicate. Turn it off if you would rather always create a new contact.

The invoice, quotation or order confirmation

When the feed creates a voucher, the next section builds it. Choose a currency, then map a single line item: its name, the quantity, the unit name such as Stück or hour, the net unit price and the tax rate as a percentage such as 19, 7 or 0. You can also set a title, an introduction and a closing remark. The amounts accept both the German format, 1.234,56, and the plain format, so a merge tag from a number or product field lands correctly. The voucher is addressed to the contact the feed just created or updated.

The finalize toggle

By default an invoice is created as a draft. A draft sits in Lexware Office for you to review, adjust and finalise by hand, which is the safe choice while you are setting things up or when a human should always check before an invoice is issued. The finalize toggle, which is off by default, changes that: turn it on and the invoice is finalised at once and gets its number the moment the form is submitted. Quotations and order confirmations are always created as drafts. Leave finalize off until you are sure the mapping produces exactly the invoice you want.

A condition

Like any Gravity Forms feed, this one can carry a condition, so the record is created only for entries that match a rule you set, for example only when a certain plan was chosen or a box was ticked. You can add several feeds to one form, each with its own condition, to route different entries to different records.

What happens when a form is submitted

The visitor never waits for Lexware Office. When the form is submitted, the add-on saves the entry and shows the confirmation at once, then does the Lexware Office work in the background. It builds the contact, creates or updates it, and then raises any voucher, spacing the two calls so it stays within the Lexware Office limit of two requests per second. Every call carries your API key as a Bearer token and goes only to api.lexware.io.

If Lexware Office cannot be reached, the add-on retries with a growing delay and never creates a second record by accident: a call whose outcome is unclear, such as a timeout, is reported rather than repeated, so you are never billed for a duplicate invoice. When a contact is created but a voucher fails, the entry is marked partial and the contact is not created again.

The result on each entry

Open an entry and you will see a Lexware Office box with the result for each feed: whether it was created, the shortened contact id and, for a voucher, the shortened voucher id with draft or finalised. The same result is written as an entry note, so you have a record in the entry timeline too.

The Lexware Office result box on a Gravity Forms entry screen showing a created contact and a draft invoice with their shortened ids
The entry box: the contact and voucher that were created, with their ids.

Three merge tags carry the outcome into notifications and confirmations: the Lexware Office status, the contact id and the voucher id. There are also notification events, so you can send a mail when a record is created or when one could not be created. In the entry list, two bulk actions let you create records for past entries, or create them again, which is handy after you first connect an existing form.

Sending test entries safely

Because the records land in your real Lexware Office account, test against draft vouchers first. Keep the finalize toggle off while you check the mapping, submit a test entry, and open the draft in Lexware Office to confirm the contact, the address and the line item are exactly right. Only turn finalize on, or switch a live form over, once the drafts look correct. If something is wrong, fix the field mapping and use the bulk action to create the record again.

A front-end Gravity Form collecting a name, company, address and amount that will become a Lexware Office contact and invoice
A live form whose entries become a contact and a draft invoice in Lexware Office.

Privacy and security

The data a visitor types is sent to Lexware Office, your own account under api.lexware.io, to create the records, and Lexware Office processes it under its own terms. Nothing is sent anywhere else: the add-on contacts only api.lexware.io and the GravityExtra license and update service. Your API key is encrypted before it is stored, is never written to an entry or a note, and is only ever sent to api.lexware.io. Entry notes keep only a shortened record id, never the key and never a full account identifier. The add-on also adds a short paragraph to the WordPress privacy policy guide that you can include in your own policy.

A quick recap

Create a Public API key in Lexware Office, paste it into the settings and run the connection check. Add a feed, choose a contact or a contact and a voucher, map your fields, and leave the finalize toggle off so invoices start as drafts you review. Submit a test entry, open the draft in Lexware Office, and when it looks right, go live. From then on every submission becomes a contact, and an invoice, quotation or order confirmation, in your own accounting, without a single copy and paste.

Still need help?

Our support team answers tickets every day, usually within a few hours.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr