About this plugin
Peki – Bokio Integration for WooCommerce automatically exports your WooCommerce orders to the Bokio accounting platform. When orders are completed the plugin sends structured order data to the secure Peki service, which creates the correct document type (invoice or cash sale), customer, VAT handling, and ledger entries inside Bokio. You keep full control of mapping rules directly in WordPress, while authentication and quotas are managed outside your store for better security.
no/integration/bokio for more information.
How to connect (video)
Watch the step-by-step walkthrough here:
be/tqICtvE3TjA
Key Features
- Optional LedgerIntegration connection for automatic bookkeeping in Bokio, Fiken and more, without changing the existing Peki connection
- Automatic order export to Bokio the moment orders are completed
- Force export action on each order for manual sync or retries
- Advanced bank account mapping per payment method, built together with senior accountants
- Automatic customer creation in Bokio when the WooCommerce customer is new
- Separate shipping handling with the right VAT codes and rounding protection
- VAT export rules for goods and services outside Sweden, including multi-currency orders
- Refund handling with credit notes that match requested gross amounts
- Optional automatic invoice PDF download to the Media Library (Growth plan)
- Multi-site support where several stores can share the same Bokio company quota
- WooCommerce HPOS compatibility and WordPress Multisite awareness
- GDPR friendly – only the required order fields are transmitted to Peki and Bokio over HTTPS
- Comprehensive logging with masked secrets plus admin notices when quotas are close to limits
Requirements
Before using this plugin, you need:
- An active Bokio account with rights to create invoices or cash sales
- At least one invoice or cash sale issued in Bokio so numbering sequences are initialized
- WooCommerce installed, activated, and configured with Swedish VAT codes
- Outbound HTTPS access from your WordPress host to peki.no and bokio.com
Free Plan
The plugin includes 15 free transfers per month. Multiple WordPress sites connected to the same Bokio company share the monthly quota.
Pricing (monthly, ex. VAT)
- Free: 15 transfers/month — included
- Starter: 100 transfers/month — $29
- Growth: 1,000 transfers/month — $99
- Pro: 5,000 transfers/month — $249
- Upgrades require connecting to Bokio first (secure flow in the plugin)
Plan Benefits
The plugin includes a free tier and three paid plans. Here’s what you get with each:
- Free:
- 15 transfers/month
- Core WooCommerce → Bokio export
-
Starter:
- Everything in Free
- 100 transfers/month
-
Growth:
- Everything in Starter
- 1,000 transfers/month
- Pro:
- Everything in Growth
- Highest monthly transfer limit (5,000 transfers/month)
Note: This is an independent third-party plugin. We are not affiliated with Bokio AB or WooCommerce/Automattic.
External Services
This plugin connects to external services to function. The legacy Peki/Bokio flow is unchanged when LedgerIntegration is not connected.
Peki and Bokio
- Peki export service ( https://peki.no ) – Receives order data and forwards it to Bokio when you use the built-in connection (manual API token). Data is sent when an order is completed, when a refund is created, and when you force-export an order. Requests include the store URL.
- Bokio ( https://bokio.com, https://app.bokio.se ) – Accounting platform where vouchers are created. The plugin links to Bokio so you can copy the company ID and API token.
LedgerIntegration
Optional. Nothing is sent to LedgerIntegration until a shop manager clicks “Connect to LedgerIntegration” and approves the connection.
Services contacted:
- LedgerIntegration app ( https://app.ledgerintegration.com ) – The browser is redirected to /connect/woocommerce to start the connection. The query contains the store URL ( home_url() ), store name, redirect URI back to this site, a one-time state value, a PKCE code challenge (not the verifier), plugin slug peki-bokio, plugin version and locale. The API key is never put in the URL.
- LedgerIntegration API ( https://cvugrlsvuqvjopivzbff.supabase.co, Supabase Edge Functions under /functions/v1/ ) – After approval, the plugin exchanges the authorization code for an API key at /functions/v1/plugin-connect. Later calls go to /functions/v1/plugin-api (or an HTTPS URL the service returns). Those calls send the store URL and plugin version in the User-Agent ( PekiBokio/<version>; <store URL> ). Order calls send the WooCommerce REST representation of the order and the event name order.updated.
Order data is sent only when:
- an order moves to Processing or Completed
- a shop manager chooses “Send to LedgerIntegration” on an order
- a shop manager chooses “Send last 10 paid orders” in the LedgerIntegration settings
The API key is stored in WordPress and encrypted with libsodium when the PHP sodium extension is available. It is not written to logs, URLs or the settings screen in full. Refunds are not sent to LedgerIntegration yet and must be entered manually.
Terms and privacy:
- Terms of service: https://ledgerintegration.com/terms
- Privacy policy: https://ledgerintegration.com/privacy
By connecting LedgerIntegration you agree to processing on these servers.