Skip to main content

Pleo

Connection

Frihet stores your Pleo API Token and, when you click the import button, brings in the expenses that Pleo returns. Frihet does not check whether an expense was already imported: importing twice duplicates the expenses.

What Frihet does​

  • Stores your Pleo API Token securely (stored encrypted).
  • Test connection — Frihet checks the token by querying your user in Pleo.
  • Import expenses, on the Data tab — creates one Frihet expense for each expense Pleo returns, with description, amount, date, currency, and category.
  • The Pleo category is translated to a Frihet category: travel and transport to Transporte, food to Comidas, office to Suministros, software to Software, marketing to Marketing, and entertainment to Otro. Any other category is recorded as General.

What Frihet does not do​

  • Import automatically or on a schedule: the import runs only when you click Import expenses.
  • Prevent duplicates. Frihet does not check whether an expense was already imported: each import creates all the expenses that Pleo returns again, whether they are already in Frihet or not. Import once and, if you repeat it, delete the repeated expenses afterwards.
  • Save the cardholder in the expense notes.
  • Filter by expense status or by date range.

Requirements​

  • An active Pleo account
  • Each connected integration counts toward your plan limit: 2 on Free, 5 on Pro, unlimited on Premium.
  • A Pleo API Token

Connect​

Step 1: get the API Token in Pleo​

  1. Sign in at app.pleo.io with an administrator account.
  2. Open Settings, go to Integrations, and open the API section.
  3. Generate a new token and give it a name, for example "Frihet ERP".
  4. Copy the token.

Step 2: save it in Frihet​

  1. In Frihet, go to Integrations.
  2. Open Pleo.
  3. On the Connection tab, paste the API Token.
  4. Click Test connection to verify.
  5. If the test succeeds, click Save connection.

Step 3: import the expenses​

On the Data tab, click Import expenses:

Pleo dataFrihet field
Merchant and expense noteExpense description
AmountExpense amount
DateExpense date
CurrencyExpense currency
Pleo categoryExpense category

The description joins the merchant and the note with a hyphen. If there is neither, it is "Pleo expense".

Troubleshooting​

Connection error​

  • Check that the API Token is correct and was generated with an administrator account.
  • Check that your Pleo plan includes API access.
  • If the token was revoked or regenerated, save the new one.

No expenses are imported​

  • If Pleo rejects the request, the import ends without bringing any expenses.
  • Frihet imports the expenses as Pleo returns them, without filtering by status or dates.

Duplicate expenses​

  • Each import creates all the expenses again. Delete the repeated ones in Frihet and avoid importing more than once.

Next steps​