Exporting your finances to Xero

What the export is for

Finance → Export for Xero turns your Oakline money movements into CSV files that you or your accountant can import into Xero. Every amount is dated on the day the money actually moved, so Xero matches your Stripe account and your bank.

The export does not connect to Xero directly. You download the files and import them into Xero yourself. Oakline does not prepare accounts, calculate VAT or replace professional accounting advice.

Choosing the period

Choose From and To dates, or use Last month. Export whole months where possible, and export each month once. Importing the same month twice would duplicate the transactions in Xero.

The four files

1. Stripe statement

This is a bank statement for a bank account in Xero called "Stripe". It comes from the movements in your own Stripe account and contains:

Line Description in the file Amount
Payment received Oakline payment, followed by what it was for (booking payment, credit purchase, shop order, payment plan instalment) Positive
Stripe's processing fee Stripe fee Negative
Oakline's platform fee Oakline fee Negative
Refund Oakline refund Negative
Dispute or Stripe adjustment Stripe dispute or adjustment Either
Payout to your bank Transfer to bank Negative

The payer column shows the family or organisation that paid. The reference column shows the Oakline payment number, or Stripe's reference when there is no Oakline payment.

Because every payout appears as "Transfer to bank", the Stripe account in Xero goes back to zero after each payout. Each payout matches a deposit in your real bank account.

This file only includes movements Oakline has already read from Stripe, which happens every hour. Movements from the last hour may appear in the next export.

2. Cash and transfers statement

This contains money your team recorded outside Stripe:

  • cash received;
  • bookings marked as paid, for example after a bank transfer;
  • refunds paid outside Stripe.

Undone (voided) records are left out. Import this file into the account where that money is held. If you hold cash and bank transfers in different accounts, split the file before importing.

3. Customer credit journals

This file has one manual journal per day. Credit that families hold is money you owe them, so it belongs in a liability account until it is used. Each journal moves amounts between that liability and your other accounts:

Credit movement Journal
Credit bought Moves the payment from Sales to Customer credit held
Bonus credit given Bonus credit expense to Customer credit held
Credit used on bookings Customer credit held to Sales
Booking refunded to credit Sales to Customer credit held
Credit adjusted by staff Credit adjustments to or from Customer credit held

Every journal balances to zero.

4. Funded sessions invoices

This file contains one sales invoice per funder per month, covering sessions that take place in the period:

  • Funded places: the funded value of each place, sent to the contact you set on the export page, for example your local authority.
  • Grant vouchers: the amount redeemed, minus anything reversed, sent to the funder recorded on each fund.

Lines are grouped by session and date, and never name children. Invoices are dated the last day of the month and are due 30 days later. They are numbered FUND-YYYYMM-…, so Xero warns you if the same invoice is imported twice.

Cancelled funded places are left out. Oakline's own monthly invoice for funded session fees is separate, and is not in this file.

Setting your account codes

Before you can download the credit journals and funded invoices, enter the codes from your Xero chart of accounts:

  • Sales account: where your booking income goes (Xero's default is 200).
  • Customer credit held: a current liability account. Create one in Xero if you do not have it.
  • Bonus credit given: an expense account.
  • Credit adjustments: an account your accountant chooses.
  • Tax rate name: exactly as it appears in Xero, for example "No VAT". If you are VAT registered, ask your accountant which rate to use.
  • Contact for funded places: the name of the funder for funded places.

The accounts must exist in Xero before you import.

Importing into Xero

  1. Statements: in Xero go to Accounting → Bank accounts, choose the account, then Manage account → Import a statement. Dates are in day/month/year format.
  2. Bank rules: create rules for "Oakline payment", "Stripe fee", "Oakline fee", "Oakline refund" and "Transfer to bank". Code "Transfer to bank" as a transfer to your real bank account.
  3. Credit journals: Accounting → Manual journals → Import.
  4. Funded invoices: Sales → Invoices → Import.

Privacy

The files contain family and organisation names for payments, and never children's names. Store them securely and share them only with the people who keep your accounts.

For how Financial Reports dates payments and refunds, read Financial Reports: Complete Guide.

Still stuck?

Our support team is happy to help.

Contact Us
Was this article helpful? Yes No