Administration and integrations

Supported document formats and sources

Logley reads seven file formats (PDF, PNG, JPG, TIFF, XLSX, CSV and DOCX) from an upload, a mailbox or a watched folder, and Upload and a watched folder also take a ZIP or an .eml. It has built-in connectors for Odoo, SAP Business One, Salesforce, HubSpot, Pipedrive and Poland’s KSeF. Everything else is a custom integration or not connected.

ABOUT 12 MINUTESREFERENCEFOR IT AND ADMINISTRATORS

The file formats Logley reads

The mailbox accepts the seven formats. Upload and a watched folder accept them too, plus a ZIP (unpacked, so each supported file inside becomes a document; at most 100 files and 250 MB once unpacked) and an .eml (kept as correspondence, with its attachments taken in as documents). Each format is read in the way that suits it, and every document’s page records which reading was used: Document Information shows the OCR engine as pdf_text, ocr_tesseract, ocr_paddle, xlsx, csv or docx.

File formats and how each is read
FormatExtensionsHow it is read
PDF.pdfIts text layer is read directly. A scanned PDF (no text layer, or almost no text on its pages) is rendered page by page and read by OCR.
Image.png .jpg .jpeg .tif .tiffRead by OCR, as a single page. A multi-page scan is better sent as a PDF.
Excel workbook.xlsxEvery sheet, row by row, as the values in its cells.
CSV.csvAs text. The character encoding comes from a byte-order mark when there is one; otherwise UTF-8 is tried, then Windows-1252.
Word document.docxThe paragraphs and tables of the document body, one table row per line.
The upload page names the seven formats, ZIP and EML, and the 50 MB limit.

How is scanned text read? The OCR engine is Tesseract. When Tesseract’s confidence is low and the PaddleOCR service is available, PaddleOCR reads the file too and the better reading is kept. Scanned text is read in the OCR Languages chosen on the Processing rules tab of Settings — English, Polish, German, French, Spanish and Ukrainian are offered.

OCR languages differ by platform

The Linux installation includes OCR models for all six languages. The Windows installation currently ships the English model only — if your scans are not in English, evaluate on the platform you intend to run.

Size limits and what is refused

  • An upload takes up to 100 files at a time, each up to 50 MB. On a Linux installation the web server also caps a single upload at 100 MB in total, so a large batch goes in as several uploads.
  • An uploaded file has to be what its extension says: its first bytes are checked for PDF, PNG, JPEG, TIFF and the ZIP container behind XLSX and DOCX. CSV has no signature to check. An empty file is refused.
  • A file whose exact content is already in your organization is refused as a duplicate. A different file with the same name as an existing one is kept as a new version of it.
  • A mail attachment over 50 MB is skipped.

Any other file type is refused, in a way that depends on how it arrived:

What happens to an unsupported file
Arrived byWhat happens to an unsupported file
UploadStopped in the browser and marked Type not supported. The server refuses it as well if it is sent another way.
MailboxThe attachment is ignored. A message with no supported attachment is not taken in at all.
Watched folderSet aside in the folder’s _rejected subfolder, with a .error file beside it giving the reason — when it arrives while Logley is watching. One already in the folder is left where it is.

The formats that people most often expect and that are not read: legacy Word and Excel files (.doc, .xls), XML e-invoices, plain text, Outlook .msg emails and OpenDocument files everywhere, and ZIP or .eml files through a mailbox (only Upload and a watched folder take those two). Save or export them as PDF, DOCX or XLSX first.

Sources and connectors, with their status

Available works as installed. Requires configuration needs an address or credentials for your system. Custom integration means there is no built-in connector: the route is the API and webhooks, within the limits their guide describes.

Every source and connector, with its status and where it is set up
SourceWhat it doesStatusWhere it is set up
UploadFiles dragged or browsed into the product, with an optional document type, supplier, tags, notes and a private flag.AvailableUpload, in the sidebar
Watched folderTakes in files dropped into a folder on the server, then moves each one into a dated _processed subfolder. Reads the folder’s top level only.Requires configurationThe folder: the server configuration. Switching it on and re-pointing it: Settings → Document intake → Watch folder
Mailbox (IMAP)Takes in supported attachments from a mailbox’s inbox, recording each one’s sender and subject.Requires configurationSettings → Document intake → Mailboxes
Outbound mail (SMTP)Sends alert emails, supplier notifications, replies from the Email queue and the invoices you issue.Requires configurationSettings → Email → Outgoing mail
OdooPulls suppliers and vendor bills; creates the supplier invoices you approve as vendor bills, and pushes their payment status; creates the invoices and credit notes you issue.Requires configurationSettings → Integrations → ERP
SAP Business OnePulls suppliers and vendor bills, and writes each bill’s payment status onto it as a note.Requires configurationSettings → Integrations → ERP
Salesforce, HubSpot, PipedrivePushes companies, invoice activity, alerts as tasks and supplier scores; pulls contacts, notes and deal stages.Requires configurationSettings → Integrations → CRM
KSeF (Poland)Submits the invoices you issue to the national e-invoice system and keeps its confirmation (UPO). Once switched on, also collects the invoices issued to you there, and those that name you as a recipient, payer or other third party.Requires configurationSettings → Invoicing → E-invoicing
API keysLet a script read documents, invoices, shipments, suppliers and alerts.Available — read-onlySettings → Integrations → API keys
Outbound webhooksPost a signed notice of each event you subscribe to, to a URL of yours. None is sent about a private document.AvailableSettings → Integrations → Webhooks
Zapier, MakeReceive Logley’s webhooks and call its API from their own cloud.Custom integrationDescribed under Settings → Integrations → Guide
A watched folder is a drop zone, not an index

Logley moves every file it takes in (except when a brief fault leaves it for a retry), so point it at a folder made for the purpose — never at a shared folder people work from. On an installed system the folder is defined in the server configuration first: the Watch folder tab can switch watching on and off and re-point an existing path, but it cannot add one.

The ERP list, option by option

The ERP provider list on Settings → Integrations → ERP offers five systems. This is what stands behind each of them:

ERP options and what is behind each
OptionWhat is behind it
OdooA working connector. It needs the Odoo URL, Database, Username and API Key, and syncs every four hours or when you press Sync Now.
SAP Business OneA working connector, over SAP’s Service Layer. It needs the Service Layer URL, Company DB, Username and Password, and syncs on the same schedule as Odoo: suppliers and vendor bills come in, and each bill’s payment status is written into its comments as a note. Like any ERP address, the Service Layer’s has to be public or allowed for your organization (see the next section).
QuickBooks Online, Xero, SageListed with a “coming soon” notice and no fields to fill in. There is no connector behind them and nothing to save, so choosing one leaves a saved connection as it was.
Odoo chosen, with no connection saved yet: the fields that reach your Odoo, and the direction to sync in. SAP Business One shows its own fields in their place.
QuickBooks Online, Xero and Sage open this notice instead of connection fields. There is nothing to test or save.

What reaches the ERP when you issue an invoice? With Odoo connected and a Sync direction of Push to ERP: approved invoices or Both ways, each invoice or credit note you issue is created in Odoo as it is issued: an invoice as a customer invoice, a credit note as a customer credit note. Its lines go with their net unit prices. A line issued at 0% goes with a 0% sale tax from Odoo, so it arrives at 0%. If Odoo has no such tax, or has several and 0% sale tax ID does not say which, the invoice is not sent, nothing is created in Odoo, and the connection’s sync history says why. Every other line goes with no taxes, so its VAT on Odoo’s copy is whatever Odoo’s own tax setup applies; compare the first few with Logley’s before you rely on them. Each invoice is sent once, when it is issued. Nothing issued earlier is sent afterwards, whether it was issued before the connection pushed or by an earlier version of Logley, so enter those in Odoo yourself.

The three CRM options (Salesforce, HubSpot and Pipedrive) each have a working connector.

Mail servers, the ERP and webhooks on your own network

Logley refuses to connect to a private address (10.x, 172.16–31.x, 192.168.x, carrier-grade NAT or an IPv6 unique local address) for the IMAP and SMTP servers, the ERP address and every webhook URL, until it is allowed. The rule exists so that a settings field cannot be used to reach services inside the server’s own network.

Your organization’s administrator allows a host on Settings → Integrations → Internal hosts: type it into Add a host and press Add or Enter. The bin beside a host removes it, after asking: an integration that connects to that host then stops connecting. Each change is saved at once and applies to the next connection, with no restart. The list belongs to your organization: it lets your integrations reach those hosts, and no other organization’s.

An organization that allows two hosts, on a server that allows one more for everyone: all three stand for yours. With nothing added, the list reads None. This organization’s integrations connect to public addresses only.

An entry is an IP address, a range such as 192.168.0.0/24 or a host name, with no https:// and no port. A host name covers that name only, so enter the same name in the integration. Prefer single servers: a range that includes the Logley server also reaches whatever listens on it. A mistake the tab can see (a pasted https://, a port, a path after the host, a host already in the list) is said under the box before anything is sent. An entry Logley cannot use is refused with the reason, and stays in the box to be corrected.

When a host is refused, the message names what to add and where: Host resolves to a non-public address (192.168.0.200). To allow it, an administrator can add 192.168.0.200 under Settings > Integrations > Internal hosts.

Whoever runs the server can also allow hosts for every organization on it, in the server’s configuration. The tab shows these under Allowed for every organization, with any entry there that Logley could not read. They are changed only in the configuration, after which the Logley API is restarted. Updating Logley keeps them.

Where hosts for every organization are set
InstallationWhereExample
Windowsappsettings.Production.json, in the api folder of the install directory"Integrations": { "AllowedInternalHosts": "192.168.0.200, mail.corp.local" }
Linuxlogley.env, in the install directoryIntegrations__AllowedInternalHosts=192.168.0.200,mail.corp.local
Docker Compose.env, beside docker-compose.yml, then docker compose up -d apiALLOWED_INTERNAL_HOSTS=192.168.0.200,mail.corp.local

Loopback, link-local, multicast and metadata addresses (127.x, ::1, 169.254.x, including 169.254.169.254) are never allowed, even when they are listed, when a range such as 0.0.0.0/0 covers them, or when a listed name resolves to one. KSeF does not use the list: it is a government service, reached at a public address only. The ERP address is checked when the connection is saved or tested, and again each time Logley connects to it to sync or send. A watched network share is not affected.

What there is no connector for

  • SharePoint, OneDrive, Google Drive, Box and Dropbox. A network share the server can mount can serve as a watched folder, but remember that the watcher moves what it takes in.
  • Microsoft 365 through Microsoft Graph, and POP3. Mail comes in over IMAP only.
  • Any ERP other than Odoo and SAP Business One (among them QuickBooks Online, Xero, Sage, NetSuite, Oracle ERP Cloud and SAP S/4HANA), and any CRM other than the three above.
  • The Peppol network. Logley can render an invoice in the Peppol BIS format, but it has no access point to send it through.
  • Sending documents in, or changing records, over the API. An API key reads; it does not write.

Anything on this list is a custom integration at best. Before planning one, read what an API key and a webhook can and cannot do.

NEXT GUIDEAPI and webhooks
Continue

Continue exploring

Was this guide useful?

If something was missing or unclear, the contact page says where to write.

Contact