We provide multi-currency support, which enables you to maintain multiple accounts with Pleo in different currencies.
The multi-currency configuration in the Pleo application helps our customers to optimise foreign exchange and simplifies operations when they are working with revenue and spend in multiple currencies.
Multi-Currency in Export API
contraAccount object is returned in the endpoint response of GET https://external.pleo.io/v3/export-items, when the expense is any of the following types and it impacts the account balance:
card_purchasefeecashbackrefundchargebackdirect_reimbursementinvoice_paymentcard_invoiceatm_withdrawalpersonal_spendwallet_topupwallet_unload
Frequently Asked Questions
-
If a customer has activated multi-currency, can they still access the Export API version 2?
No, the version 2GET Get Export Itemsendpoint returns400: Bad Requesterror and displays the following:{ "type": "UNSUPPORTED_API_VERSION", "message": "Upgrade to Export API v3 or higher: The API version you are trying to access does not support multi-currency wallets." }This ensures accurate bookkeeping, as when multi-currency configuration is enabled, the integration must access the Export API version 3 for the correct export of accounting entries from Pleo to the external ERP/accounting system.
-
Can an integration send a request to the Export API version 3 if multi-currency is not enabled?
Yes. Even if a customer has not activated multi-currency on Pleo, contra account, if configured, will be sent in V3 ofGET Get Export Itemsendpoint.
If contra accounts are not fully configured, then the endpoint will return status code400along with the following response body:{ "type": "MISSING_CONTRA_ACCOUNTS", "message": "Make sure you don't export EUR, USD expenses before you set your contra accounts." }This message will be based on export item currencies for which there is no contra account set.
-
What happens to an
in_progressexport job when400: Bad Requestis returned in theGET Get Export Itemsendpoint?
You can configure the integration to either fail the corresponding export job or wait until it expires.💡 Note: An export job expires after one hour since its last update (`lastUpdatedAt`).
Export API Version 3 URLs
Production: https://external.pleo.io
Staging: https://external.staging.pleo.io
Note: In the endpoint specific paths, usev3instead ofv2. For example,POST https://external.pleo.io/v3/export-job-events.