Lexoffice Import Hot! Jun 2026
lexoffice is known for its "Integrated Online Banking" which automatically reconciles payments. However, there are times when a manual import is necessary—for example, if your bank is not yet supported for direct sync or if you need to fill historical gaps.
API_URL = "https://api.lexoffice.io/v2/contacts" TOKEN = os.getenv("LEXOFFICE_TOKEN") # Set in environment lexoffice import
def build_payload(row): return "companyName": row.get("company"), "firstName": row.get("first_name"), "lastName": row.get("last_name"), "emailAddress": row.get("email"), "address": "street": row.get("street"), "zip": row.get("zip"), "city": row.get("city"), "countryCode": row.get("country", "DE") , "taxNumber": row.get("tax_id") lexoffice is known for its "Integrated Online Banking"
def upload_receipt(pdf_path, description="Business lunch"): files = "file": (os.path.basename(pdf_path), open(pdf_path, "rb"), "application/pdf") "address": "street": row.get("street")
Navigate to the "Contacts" section, click the three dots ( ... ) in the top right, and choose whether to import customers or suppliers.