Twinfield is an online accounting package widely used by Dutch law firms and their accountants. If your firm books through Twinfield, you can connect it to Legalsense so client, matter, and invoice information flows between the two systems automatically. This article explains how to set up the integration.
Note: After setup, see the article ↪ Managing the integration with accounting software to monitor the synchronization, review the sync queue, and change the ledger and trust account configuration.
In this article
How the integration works
The integration between Legalsense and Twinfield works both ways. Legalsense sends information to Twinfield, such as debtors, matters, and invoices, and also retrieves information from Twinfield, such as disbursements and invoice payments. Matters you export appear in Twinfield under Projects.
This means you don't have to enter information twice. For example, if you enter disbursements in Twinfield and Legalsense imports them, you only enter that information once instead of in both Twinfield and Legalsense.
Before you start
In general, users linked to the sync accounting group in Legalsense can set up and manage the integration. We advise involving your bookkeeper or accountant in this process, so the data ends up correctly in Twinfield.
You need an active Twinfield subscription that includes bookkeeping.
Important: For security reasons, don't use Twinfield's SUPER account for the integration. Set up a separate, dedicated account instead.
Before you set up the integration in Legalsense, a few changes need to be made directly in Twinfield first. These require Level 1 user rights in Twinfield, so depending on how your firm's Twinfield subscription was arranged, either Twinfield itself or your bookkeeper or accountant needs to make them:
- Set the format of the DEB (debtor) dimension type to match the format of the debtor number in Legalsense.
- Set the format of the PRJ (project) dimension type to match the format of the matter number in Legalsense.
- Create a general cost center.
- Create the correct VAT codes.
To set up the integration in Legalsense, you also need:
- Your Twinfield username and password.
- The name of your Twinfield organization.
- The email address of the person who will manage the integration.
Important: Once you start setting up the integration, complete all the steps in one go. You can't pause partway through and pick up later where you left off.
Set up the integration
Go to Settings → Twinfield and click Set up Twinfield now.
Twinfield settings page, showing the Configure Twinfield button.
- On the first step, click Authorize by Twinfield. You are redirected to the Twinfield login page. Log in with your Twinfield username, password, and organization. After a successful login, you return to Legalsense.
- Under Offices, select your Twinfield administration as the Office. If your firm keeps trust accounting in a separate Twinfield administration, select it as the Trust accounting office. Then click Next.
Twinfield setup step showing the Office and Trust accounting office fields.
- Under Email of the Administrator, enter the email address of the person who should be notified if the integration produces an error. You can enter several addresses, separated by a comma. Click Next.
Twinfield setup step showing the email address field for the administrator.
- Under Import and export, choose which data Legalsense exports to Twinfield and which data it imports from Twinfield.
Twinfield setup step showing the Import and export options.
This step includes the following choices:
- Matters and debtors: choose whether to export both matters and debtors to Twinfield, or only debtors. If you want to record third-party funds or expenses in Twinfield, you must also export matters. Most firms choose to export matters as well, which then appear in Twinfield under Projects.
- Invoices: there's no other option here. Legalsense always exports invoices.
- Payment status: choose whether Legalsense fetches an invoice's payment status from Twinfield, or ignores it. By default, Legalsense fetches the payment status.
- Expenses and creditors: choose whether Legalsense exports expenses and creditors to Twinfield, imports them from Twinfield (optionally exporting written-off expenses), exports expenses but imports creditors, or doesn't synchronize them at all. Your choice depends on the number of expenses, how you process them (yourself or through your accountant), and how often you enter them. If you enter expenses frequently, enter them in Twinfield and let Legalsense import them from there; if your firm also uses Basecone, a copy of the purchase invoice is then available on the matter in Legalsense too. If your bookkeeping is processed only every two weeks or once a month, it's better to record expenses in Legalsense and export them to Twinfield.
- Matter numbering: there's no choice here. Legalsense always generates the matter number.
- Debtor numbering: by default, Legalsense uses its own debtor numbers. The other options are to use Legalsense's client numbers, or to use numbers from Twinfield.
- Synchronize invoices as finalized: books invoices as final entries in Twinfield. Only turn this on once you're sure the integration is set up and works as expected; we advise leaving it off for a while so you can check the entries first.
Note: If you choose to use Legalsense's client numbers, only debtors that are also a client are exported to Twinfield.
Click Next.
- Under Ledger accounts, choose Use the Legalsense default ledger accounts, or Customize the ledger accounts to set up your own.
Twinfield setup step showing the ledger account configuration.
Click Next once you've set up the correct ledger accounts.
- Under Revenue accounts per user, choose No accounts per lawyer, or Specific ledger accounts or cost centers per lawyer to book each timekeeper's revenue to their own ledger accounts or cost center.
Twinfield setup step showing the revenue accounts per user configuration.
Click Next once you've set this up.
- Under Accounts for disbursement types, choose No overrides, or Specific accounts per expense type to book certain expense types to their own ledger account. Click Next.
- Under Initial synchronization, choose what Legalsense does with past transactions on the first synchronization: synchronize all of them, synchronize transactions from a date onwards, or synchronize none. If you synchronize from a date, enter it under From date; by default this is 1 January of the current year. Below the form, Legalsense shows how many invoices and expenses it will export. Then click Done, commence syncing.
Twinfield setup step showing the initial synchronization date option.
Legalsense asks you to confirm one last time, because some settings can't be changed once the synchronization has started.
Twinfield setup confirmation screen.
Click Yes to start the synchronization, or No if you still want to change something.
If an error occurs, Legalsense sends a notification to the email addresses you entered in step 3.
Optional: document imaging add-ons
Twinfield supports linking a third-party document-imaging tool, so that scanned purchase invoices are pulled in automatically when Legalsense imports expenses. After setup, go to your Twinfield settings and choose a Document source:
- None: no document imaging.
- Basecone
- Lyanthe: requires additional credentials, a base URL, username, and password, for your Lyanthe account.
Other Twinfield settings
After setup, the Twinfield settings page also lets you configure:
- Synchronize invoices as finalized: whether invoices are booked as final entries in Twinfield (the same option as in step 4).
- Synchronize expense write offs as finalized: whether written-off expenses are booked as final entries in Twinfield.
- Sync archived matters as active: controls whether matters archived in Legalsense are also archived, or kept active, in Twinfield.
Comments
0 comments
Please sign in to leave a comment.