SQUEEZE 2 Administration Manual This manual is intended for consultants, support staff, partners and technically savvy users who wish to configure Squeeze functions. Versions This page documents different version statuses of Squeeze. The aim is to highlight differences between on-premise and cloud clients and to provide decision-making support for selecting version statuses for updates. General Versioning Squeeze is currently (Q4 2022) versioned using semantic versioning. An example based on version 2.3.1 This is Squeeze in major version 2. Compared to Squeeze 1, incompatibilities may arise, which is why the major version number was increased to 2 at a given point in time. This is the third minor release within Squeeze 2. These releases add features and bug fixes that do not cause any particular problems with backward compatibility or, if unavoidable, explicitly document them. For example, adding a new locator type or a new OCR would be appropriate here. The last digit ‘1’ documents that this version is the first patch for 2.3. In this patch, DEXPRO generally only implements bug fixes that cannot wait until the release of a new minor version. These versions therefore receive little to no new or modified features, so that updates to newer patches can be carried out without any problems. System requirements System requirements for server and clients Server system requirements Hardware / virtual machine The hardware requirements for Squeeze depend heavily on the intended use. The number of documents to be processed daily, the amount of data stored before final resolution, and any customer customisations all influence the hardware requirements. The following applies in principle: - The amount of documents that can be processed simultaneously depends on how many workers are deployed. - One CPU core and 2 GB of RAM should be reserved for each worker. The usage of Squeeze with inadequate hardware (especially CPU and RAM) can cause performance issues.   Minimum Recommended Operating system Linux/Windows Linux/Windows CPU clock speed 2.2 GHz 3.0 GHz CPU cores 6 cores 8 cores RAM 8 GB 16 GB Hard drive HDD 7200 rpm SSD Storage 200 GB 500 GB Network 100 Mbit 1000 Mbit Operating systems Windows OS Version Note Windows 7 Fully supported Windows 10 Fully supported Windows 11 Fully supported Windows Server 2008 R2 Fully supported Windows Server 2012 Fully supported Windows Server 2012 R2 Fully supported Windows Server 2016 Fully supported Windows Server 2019 Fully supported Windows Server 2022 Fully supported Windows Server 2025 Fully supported Linux OS Version Note Ubuntu 14.04   Ubuntu 16.04 Fully supported Ubuntu 18.04 Fully supported Ubuntu 20.04 Fully supported Ubuntu 22.04 Fully supported Debian 8   Debian 9 Fully supported Debian 10 Fully supported Debian 11 Fully supported Debian 12 Fully supported We recommend using Docker. For this purpose, we can provied images and configurations on request if you wish to use them for on-premise installations. Database systems Squeeze is primarily used and tested on the basis of MariaDB. Microsoft SQL Server is also supported and tested using the same test automation as MariaDB and MySQL, but we recommend using MariaDB due to the higher operating costs. Manufacturer Version Microsoft SQL Server 2012 Microsoft SQL Server 2014 Microsoft SQL Server 2016 Microsoft SQL Server 2019 Microsoft SQL Server 2022 MySQL 5.5 - 5.7 MariaDB 5.5.7 MariaDB 10.0 - 10.11 Network Incoming network traffic Port Description 80 HTML frontend and API 443 HTML frontend and API (with SSL) Outgoing network traffic Port Description 25 SMTP for outgoing E-mails 587 SMTP for outgoing E-mails (with encryption) 143 IMAP for incoming E-mails 993 IMAP for incoming E-mails (with encryption) 443 EWS for incoming E-mails (with encryption) 33?? SAP RFC connection (?? = SAP instance number) Runtimes Squeeze and its components require several libraries and applications to be installed. If you use the Windows installer, all necessary applications and libraries are already included in the setup and will be installed and configured during installation. The installer has been designed to install an out-of-the-box system that is ready for immediate use. The applications and libraries are divided into direct and indirect dependencies. One example is the message queue system (RabbitMQ). In more complex environments, it may be necessary to distribute these components across different systems. In this case, you will need to take care of the provisioning of the applications yourself. Direct dependencies Runtime Version Used by PHP 7.4.x Squeeze Server, Worker PHP 8.1.x Squeeze Server, Worker Java 8 Squeeze Server, Worker Indirect dependencies Runtime Version Used by Erlang 10.5 RabbitMQ Erlang 25.3 RabbitMQ Java Depending on the Elasticsearch version Elasticsearch SSO / OAuth / OpenID Connect User management with SSO, OAuth and OpenID Connect. Login with Microsoft With Squeeze version 2.20, it is possible to log in easily using Microsoft Entra ID, also known as Azure AD. This page describes how you can display a login button on the Squeeze login page. Once the configuration is complete, the login page will look like this: Configuration in Microsoft Entra ID Create a Microsoft Entra App for your organization The redirect URL is the URL of your Squeeze tenant with the additional path /sso/ In this example it is https://private.squeeze.one/sso/ Create a client secret for the app Copy the client secret value. Please note that the secret cannot be viewed or copied later. Add the API permissions Enter the Client App-Id and client secret in Squeeze Login with Microsoft – User Provisioning and Groups This page supplements Login with Microsoft (registering the Azure/Entra app, client ID and secret) and describes how users are provisioned automatically on Microsoft login and what the two fields "Group ID Squeeze User" and "Group ID Squeeze Admins" are for. Configuration is done in Squeeze under System → Microsoft authentication: Automatic user provisioning Automatic provisioning is active for Microsoft login: when a user signs in who does not yet exist in Squeeze, the Squeeze account is created automatically. Users therefore do not need to be created manually in Squeeze beforehand. Matching is done via the email address from the Microsoft profile. If a Squeeze user with that email already exists, it is reused and updated; otherwise a new user is created. Requirements in the Microsoft profile For a user to be created automatically, the following fields must be populated in the Microsoft Entra / Azure AD profile: Microsoft field Squeeze field mail (email) Login / email givenName (first name) First name surname (last name) Last name Important: If one of these fields is missing in the Microsoft profile, automatic creation fails with an error (e.g. "No firstname for the user.", "No lastname for the user." or "No email address defined for the user."). Login then only works for users that were created manually in Squeeze beforehand — because for existing users the creation step is skipped. Many tenants only populate displayName by default, but not givenName/ surname. In that case, check the user profiles in Microsoft Entra ID. Configuration fields The "Microsoft authentication" settings dialog contains four fields: Field Content Format App-Id Application (client) ID of the Azure/Entra app GUID, e.g. 3f9a2c14-7b6e-4d21-9c8f-1e5a6b3d0f42 Secret Client secret value (not the secret ID!) ~40 characters Group ID Squeeze User Object ID of a security group GUID Group ID Squeeze Admins Object ID of a security group GUID App-Id: use the application (client) ID of the app — not the directory (tenant) ID. Secret: enter the secret value (the long string) in Squeeze, not the secret ID. After saving, the secret can no longer be viewed. Group configuration Both group fields expect the object ID (GUID) of a security group from Microsoft Entra ID — not the group name. Field Effect Group ID Squeeze User Members may log in and receive a regular Squeeze account. Group ID Squeeze Admins Members may log in and are additionally granted the administrator role ( root). Behavior depending on configuration Both fields empty: the group check is skipped — any user of the organization can log in. This is exactly what the warning in the dialog points out: "All users of the organization can log in if the group ID for Squeeze Users and/or Squeeze Admins is not set." No one is granted the admin role automatically. At least one field set: only members of the configured group(s) may log in. If a user is in neither group, login is rejected with "You are not a member of an authorized group." Group ID Squeeze Admins set: members of this group are automatically granted the root role on login. This assignment is additive — a role already granted is not revoked on login. Note on the object ID: you can find the required GUID in Microsoft Entra ID under Groups → → Object ID. Roles of automatically created users Admins (members of the admin group) are automatically granted the root role. Regular users are created without an assigned role. To be able to work, they must subsequently be assigned a suitable role (e.g. via user management or a group/role assignment). Without a role a user can log in but cannot work meaningfully in the system — which can give the impression that login "does not take effect". Troubleshooting Symptom Likely cause Login only works for users created manually beforehand Missing profile fields ( givenName/ surname/ mail) in the Microsoft profile → automatic creation fails Error "You are not a member of an authorized group." User is in none of the configured groups User is created but cannot do anything Regular user without an assigned role → assign a role afterwards Error "No firstname/lastname/email …" The corresponding field is not populated in the Microsoft profile Processing of Attachments This documentation describes how attachments are handled during mail imports. The documented behavior is independent of the mail protocol used — it makes no difference whether mails are imported via IMAP, EWS, etc. This page describes how attachments of an already-imported email are classified and processed. Whether an email is imported at all is controlled independently by sender/subject filters, see Filtering via Black- and Whitelisting. Attachments with Passwords In daily business, a large number of encrypted attachments can arrive via your company's digital inbound channels. The following section covers the options available in Squeeze. Compressed archives (.zip) If you receive encrypted ZIP archives from your senders, Squeeze offers a way (from version >=2.4.1) to store passwords per unique email address. To configure this, open the Email tab as an admin:  Afterwards switch to the Passwords sub-tab within the email configuration screen: Use the button at the bottom to add a new entry: Save the data by entering a unique email address and a password. Please note the following when using this functionality: You must specify full email addresses — always the complete address, otherwise saving fails. To assign multiple passwords to one email address, simply create multiple entries. If emails contain attachments that cannot be decrypted, those emails are moved to the configured error email folder. Stored passwords are not used for password-protected PDF files. A unique email address looks like: dexpro@test.com, not wildcard constructs like: *pro@test.com Attachment Filters (Email Attachment Filters) How it works For each mail, attachments are checked against import rules. The first rule whose sender and filename pattern match an attachment decides what happens to it. Non-global rules take highest priority. Example: Priority Example First priority specific sender (support@dexpro.de) + specific filename pattern (Rechnung.pdf) Second priority specific domain (dexpro.de) + unspecific filename pattern (*.pdf) etc. - If no rule matches, the attachment is ignored. Squeeze uses the "PDFBox" software library to perform PDF merging or splitting. This library's availability is essential for attachment filtering. From Squeeze version 2.3.4, this library is included in the System Checks, allowing quick identification of possible error causes. In more detail: rules for the Document and Attachment type are resolved independently of each other: for each type, an exact sender match is looked up first, then domain, then (automatically for document rules; for attachment rules only if the global rule is still reached afterwards) the global rule ( *). Among the resulting candidate rules, the final tiebreak is that the longest filename pattern wins — the table above simplifies this for the common case. The filename pattern ( filenamepattern) is evaluated as a shell wildcard pattern ( *, ?, [abc]). If the filename match fails, the MIME type is additionally checked as a fallback, provided the pattern is *.pdf or *.xml. The emailattachmentfilters master data table is used to tell SQUEEZE whether and how attachments are relevant for recognition. The table has the following structure: Name Description Meaning id ID Unique technical ID batchclassid Batch Class ID ID of the batch class for which the rule is defined sender Sender Sender of the email (wildcards allowed, see note below) filenamepattern Filename Pattern Filename filter (wildcards allowed) type Type Relevant Document for extraction or accompanying Attachment singledocument Single Document Flag indicating whether the file should become a standalone document (X) newbatchclassid New Batch Class ID If the document should be moved to a different batch class, the batch class ID of the new batch class goes here newdocumentclassid New Document Class ID If a new document class should also be set, the document class ID goes here Example configurations Example ID Batch Class Sender Pattern Type Single Document new Batch Class new Document Class 1 1 * *.pdf D       2 1 * AGB.pdf A       3 1 dexpro.de INV*.pdf D X     4 1 payment@dexpro.de Avis*.pdf D X 2 2 5 1 dexpro.de *.xml A       6 1 invoice@squeeze.one *.xml D       7 1 invoice@squeeze.one *.pdf A       Explanation of the rules Rule ID 1: For every sender, every PDF of an email is treated as a document for extraction, and all PDFs are merged into one document. Rule ID 2: For every sender, the PDF named AGB.pdf is kept as an attachment. Rule ID 3: Only applies to senders on the dexpro.de domain; PDFs matching the filename pattern INV*.pdf are kept as a Document. Additionally, every file matching this pattern becomes its own standalone document. Rule ID 4: Only applies to sender payment@dexpro.de; PDFs matching the filename pattern Avis*.pdf are kept as a Document. Additionally, every matching file becomes a standalone document of a new batch and document class. Rule ID 5: Only applies to senders on the dexpro.de domain; XML files (e.g. an XRechnung) are kept as Attachments. This assumes a valid PDF exists in the email (e.g. from Rule ID 3) that forms the main document. Rule ID 6 & 7: Only apply to sender invoice@squeeze.one; XML files (e.g. an XRechnung) are kept as a Document. Any additionally attached PDF documents are kept as Attachments. Note on the Sender field The Sender field does not allow wildcards combined with text. Allowed values: - * - domain.de - foobaa@domain.de Not allowed are wildcard/string combinations: - *domain* - *domain.de Rules can be defined to control the processing of emails containing both XRechnung documents and ZUGFeRD invoices. Processing multiple PDF invoices (incl. ZUGFeRD) in one email individually Symptom A sender sends several invoices as separate PDF attachments in a single email — for example several ZUGFeRD/hybrid invoices (PDF with embedded XML) in one bulk mail. Without matching configuration, these PDFs get merged into one document (PDF merge), or extraction ends up using the embedded XML of the "wrong" PDF. Cause If the same Document rule matches several attachments of one email and that rule's singledocument column is empty, all matching attachments are merged into one shared document. This applies regardless of whether the attachments are plain PDFs or ZUGFeRD/hybrid PDFs with embedded XML. Fix: singledocument = X If the matching rule has singledocument set to X, a separate document is created for each matching attachment — invoices are extracted individually instead of being merged. Example: ID Batch Class Sender Pattern Type Single Document new Batch Class new Document Class 8 1 invoices@customer.de *.pdf D X     With this rule, every PDF file from an email sent by invoices@customer.de is treated as its own standalone document — no matter how many PDFs (including ZUGFeRD hybrids) are contained in the same email. `newbatchclassid` / `newdocumentclassid` can additionally reroute each individually created document to a different batch or document class — e.g. when invoices and credit notes arrive together but need different processing. Interaction with ZUGFeRD Strict Mode If ZUGFeRD Strict Mode is active (default-on since version 2.33, see disabling it here), matching PDF document rules are overridden at runtime in favor of XML processing (see the update notes below). The singledocument value carries over, however — so a rule with singledocument = X still processes each invoice individually even while Strict Mode is active. Further background on XRechnung/ZUGFeRD processing: Digital Formats (XML, XRechnung, ZUGFeRD). Troubleshooting If invoices from a sender still get merged despite singledocument = X, check: Whether a different, longer-matching rule (e.g. a global *.pdf rule without singledocument) is matching first — see "How it works" above on filename-pattern length priority. Whether the rule is actually registered for the correct sender or domain (sender before domain before global). The comparable troubleshooting example for a similar case. Update Notes Separation of attachments and document from Squeeze 1.10 In Squeeze 1.9 (and older), documents and attachments were handled differently on import, but were treated as one file in subsequent processing steps. The result was that the primary document to be processed and the attachments were merged into a single PDF and then extracted as if a single file had been imported. From Squeeze 1.10, attachments are handled separately and are therefore not part of the document being extracted. This can also affect export interfaces that can only export one file per document (e.g. NavisionSoap) — these now only export the main document in the newer version; attachments are not exported. If the pre-1.10 behavior should be retained, mark all attachments as documents in the attachment filters. Prioritization of XML invoices over PDF files from Squeeze 2.17 With the introduction of version 2.17, Squeeze's default behavior was adjusted so that invoices in XML format are preferred over PDF files. The background for this change is that customers and partners increasingly pointed out that invoice issuers often send documents in both XML and PDF format. Depending on configuration, this could lead to duplicates or processing errors. To ensure consistent handling of documents by default, version 2.17 establishes that documents in XML format are given priority. This behavior can, however, be adapted to individual requirements via the rules described above. General prioritization of PDF files is currently not planned. ZUGFeRD Strict Mode — Prioritizing XML for hybrid e-invoice formats With the introduction of version 2.30 (April 2026), ZUGFeRD Strict Mode was introduced as a batch class property. When active, attachment filters are overridden in favor of XML processing. So for a ZUGFeRD process, existing filters that prefer PDFs are overridden. This behavior is logged to ensure traceable processing. There is additionally a system check that can detect a possible misconfiguration. Further information on Strict Mode can be found here.