# Sage Active accountancy integration

Breww integrates with **Sage Active** as one of its automated accountancy integrations, for breweries in Germany, France and Spain. Setup works as it does for Breww's other automated integrations, so please read the main [Accountancy](https://breww.com/docs/accountancy/) guide first. This page covers what's different about Sage Active.

## Which breweries can connect

The Sage Active integration is for breweries in Germany, France and Spain, and Breww will automatically pick the right Sage Active version for your country. Sage Active for Portugal isn't supported yet.

## Connecting Breww to Sage Active

Connect from **Integrations** → **Accountancy** as with any integration (see [Connecting Breww to your provider](https://breww.com/docs/accountancy/#connecting-breww-to-your-provider)), then sign in to Sage and allow access. If your login can open more than one organisation, choose one under **Organisation to connect** and click **Continue**. If it can only open one, Breww connects to it straight away.

The **Connected to** row on the integration's **Dashboard** tab shows which organisation Breww syncs with.

![The Sage Active integration's Dashboard tab, showing the Connection info card with Access OK and the connected organisation, the Data syncing card, and the Data import & mapping card with the Accounts button](https://storage.googleapis.com/breww-user-uploads/markdown-embedded/3ed40e2e26820475091d10588d2e537b7ea7bc778538c405776d3b71b73b23c4.png)

If that login loses access to the organisation, Breww raises a sync message. Select **Actions** → **Re-authorise access** next to Sage Active on the **Integrations** → **Accountancy** page, and sign in with a login that can open it.

## Setting up your accounts

Import your accounts and set your defaults as described in [Chart of accounts (nominal codes)](https://breww.com/docs/accountancy/#chart-of-accounts-nominal-codes). Before you enable syncing, check these in Sage Active:

* **VAT rates.** Every VAT rate you charge in Breww needs to exist in Sage Active.
* **Sales accounts.** Each Sage Active sales account only takes the VAT rates it's set up for, so every sales account you use in Breww, including any on products, customers or customer types, must accept the VAT rates charged on those sales.
* **Payment methods.** Every bank account you use in Breww needs a payment method in Sage Active, as described in [Where payments are recorded](#where-payments-are-recorded).
* **Journals.** If you have more than one sales or purchase journal, set the default posting journal in the organisation's sales or purchase settings in Sage Active. If you have more than one credit note journal, deactivate the ones you no longer use.

## Customers and suppliers

Breww treats a customer or supplier that's disabled in Sage Active as archived. Sage Active won't take documents for a disabled customer, so invoicing one raises a sync message. Enable the customer again in Sage Active, or map the Breww customer to a different Sage Active customer, then retry.

Sage Active allows each tax ID on only one customer or supplier, so two Breww customers with the same tax ID can't both be uploaded.

## Invoices

Invoices are posted to your sales journal. To check and post them in Sage Active yourself, enable **Upload invoices as draft** in the integration's settings.

* **Numbers and references.** The number in Sage Active is Breww's invoice number, with any prefix you've set for Sage Active. The invoice's reference, such as a purchase order number, goes in Sage Active's reference field, which allows up to 20 characters, so longer references are shortened.
* **Products created by Breww.** Sage Active takes each line's account and VAT rate from its product, so Breww creates a product for each sales account and VAT rate you invoice, with codes such as `BRW8400-1900`. You don't need to manage them. Each line's description still says what you sold.
* **Rounding.** Sage Active works out VAT line by line. If its total differs slightly from Breww's, Breww adds a **Rounding adjustment** line at 0% VAT, posted to your adjustment charges account in Breww (or your default sales account if there isn't one). That account must take 0% VAT in Sage Active.
* **VAT treatment.** Sage Active taxes a customer according to their country and VAT number. If that doesn't match the VAT Breww charged, such as a 0% EU sale to a customer with no EU VAT number in Breww, Breww raises a sync message rather than post different VAT.

Once an invoice is uploaded, its page in Breww shows an **Uploaded to Sage Active** card.

![The Uploaded to Sage Active card on an invoice, showing the invoice's and the customer's Sage Active reference IDs](https://storage.googleapis.com/breww-user-uploads/markdown-embedded/5177dd953235abab4032143179945233d0aafeb77b864a4626153b29436a9a93.png)

### Currency and dates

Breww can only upload invoices, credit notes and supplier invoices in your Sage Active organisation's base currency, and raises a sync message for a document in any other currency. Some countries' versions of Sage Active won't take a document dated in the future. If yours doesn't, Breww uploads it once its date arrives.

## Credit notes

How Breww uploads a credit note depends on its original invoice:

* **The original invoice was uploaded to this Sage Active connection.** The credit note becomes Sage Active's own correction of that invoice. Sage Active numbers the correction itself, and Breww's credit note number goes in its reference field.
* **There's no original invoice, or it wasn't uploaded to this connection.** The credit note is uploaded as a negative invoice with Breww's credit note number.

Enable **Upload credit notes as draft** to post credit notes in Sage Active yourself.

Credit note allocations aren't sent to Sage Active, so match credit notes to invoices there yourself. Cash refunds of credit notes sync both ways.

## Voiding invoices and credit notes

Sage Active can't void a document, so voiding an invoice or credit note in Breww isn't sent there, and Breww warns you if it's already uploaded. To cancel an uploaded invoice in both places, raise a credit note against it in Breww instead.

## Payments

### Payments upload once they're fully allocated

Sage Active records a payment against the invoices it pays and can't hold money on a customer's account, so:

* Breww uploads a payment once all of it is allocated to invoices in Sage Active. Until then, a sync message says how much is left to allocate.
* Payments on account aren't uploaded, and their setting isn't shown for Sage Active. Record them in Sage Active yourself and mark them as **Do not upload** in Breww.
* The same applies if part of a payment is allocated to an invoice that won't be uploaded to Sage Active.
* If you allocate an uploaded payment to more invoices, Breww can't change it in Sage Active, so it raises a sync message and you'll need to make the same allocation there.

### Where payments are recorded

Sage Active records each payment through a payment method, and each payment method pays into one bank account. Breww uses the one that pays into the bank account you've chosen in Breww: your default bank account, or the one set for that payment method. Breww skips payment methods that are disabled in Sage Active. If no enabled payment method pays into that account, Breww raises a sync message. Add one in Sage Active, or choose a different bank account in Breww.

### Downloaded payments

Sage Active records which invoices a payment is matched with, not how it's split between them, so Breww works out the split when it downloads a payment. For payments Breww uploaded, it keeps the split you made in Breww.

## Supplier invoices

Supplier invoices are posted to your purchase journal, with one line for each account and VAT rate. Enable **Upload supplier invoices as draft** to post them in Sage Active yourself.

* **Invoice numbers.** Sage Active purchase invoices have no separate reference field, so the number is your supplier's invoice reference followed by Breww's reference in brackets, such as `INV-4471 (BRW-12)`, shortened to 50 characters if needed.
* **Suppliers in other countries.** Sage Active applies its own VAT rules to purchases from outside your brewery's country, so Breww raises a sync message instead of uploading them. Record them in Sage Active yourself and mark them as **Do not upload** in Breww.
* **Attachments.** Files attached to a supplier invoice aren't sent to Sage Active.

## By country

The only differences between Germany, France and Spain are in how Sage Active checks your customers' tax IDs.

### Spain

Sage Active needs a tax ID for every customer you invoice, which is the NIF for a customer in Spain. If a customer doesn't have one, the invoice isn't uploaded and Breww raises a sync message asking you to add it. Enter the customer's tax ID as their **IVA** number in Breww. Breww will try the upload again automatically, or you can click **Attempt upload** on the invoice to upload it straight away. The button is the upload icon at the top of the **Unable to upload to accounting software** card.

![The Unable to upload to accounting software card on an invoice, showing Sage Active's message that the customer has no tax ID, with the Attempt upload button at the top right](https://storage.googleapis.com/breww-user-uploads/markdown-embedded/48c339865ad4d7d08b29ac67d59b3ed6d3e9518b6b422c5381bddc04642d678c.png)

### France

A customer in France needs its SIRET, SIREN or French VAT number as its tax ID. Enter it as the customer's **TVA** number in Breww. If the number there is none of these, Breww raises a sync message asking you to correct it.

![The Entity basic details card on a customer's edit page, with the customer's nine-digit SIREN entered in the TVA number field](https://storage.googleapis.com/breww-user-uploads/markdown-embedded/4e481205225362866efe08f6d630a0b158ada120a90f1dcdf6a0871cc7aa5986.png)

## What's not supported

Sage Active doesn't support tracking categories, syncing customer balances or [balance sheet syncing](https://breww.com/docs/balance-sheet-syncing/). For everything that syncs each way, see the [Sage Active data flow table](https://breww.com/docs/accountancy/#sage-active) in the main Accountancy guide.
