> ## Documentation Index
> Fetch the complete documentation index at: https://developers.pleo.io/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Resolve MISSING_CONTRA_ACCOUNTS

export const RememberCallout = ({title, children, icon = "🪢"}) => <div style={{
  backgroundColor: 'var(--recommended-bg)',
  borderLeft: '4px solid #f63b92',
  borderRadius: '10px',
  padding: '18px 22px',
  marginBottom: '20px',
  boxShadow: '1px 1px 3px rgba(0,0,0,0.06)'
}}>
    <div style={{
  display: 'flex',
  alignItems: 'flex-start',
  gap: '14px'
}}>
      <span style={{
  fontSize: '22px',
  lineHeight: '1',
  flexShrink: 0
}}>
        {icon}
      </span>
      <div>
        {title && <div style={{
  fontSize: '16px',
  fontWeight: 600,
  color: 'var(--recommended-title)',
  marginBottom: '6px'
}}>
            {title}
          </div>}
        <div style={{
  fontSize: '14px',
  lineHeight: 1.65
}}>
          {children}
        </div>
      </div>
    </div>
  </div>;

export const NoteCallout = ({title, children, icon = "💡"}) => <div style={{
  backgroundColor: 'var(--recommended-bg)',
  borderLeft: '4px solid #3beaf6',
  borderRadius: '10px',
  padding: '18px 22px',
  marginBottom: '20px',
  boxShadow: '1px 1px 3px rgba(0,0,0,0.06)'
}}>
    <div style={{
  display: 'flex',
  alignItems: 'flex-start',
  gap: '14px'
}}>
      <span style={{
  fontSize: '22px',
  lineHeight: '1',
  flexShrink: 0
}}>
        {icon}
      </span>
      <div>
        {title && <div style={{
  fontSize: '16px',
  fontWeight: 600,
  color: 'var(--recommended-title)',
  marginBottom: '6px'
}}>
            {title}
          </div>}
        <div style={{
  fontSize: '14px',
  lineHeight: 1.65
}}>
          {children}
        </div>
      </div>
    </div>
  </div>;

This article explains why the `MISSING_CONTRA_ACCOUNTS` error occurs when calling `/v3/export-items` and how to resolve it.

## The Error

When calling `GET /v3/export-items`, you may receive the following response:

```json theme={null}
{
  "type": "MISSING_CONTRA_ACCOUNTS",
  "message": "Make sure you don't export GBP expenses before you set your contra accounts."
}
```

## Why This Happens

Export API v3 requires a contra account to be configured for each entity's default currency. The default currency is determined by the region where the company entity is registered, for example, GBP for a UK entity or
DKK for a Danish entity.

In a multi-entity setup, each entity has its own default currency, and a contra account must be configured for each one. If any entity's default currency does not have a contra account mapped, calls to `/v3/export-items` will fail with
this error.

## How to Resolve It

### Add a Contra Account

1. Click **Settings** from the main left-hand menu
2. Click **Accounting**
3. Click the **Contra accounts** tab
4. Select a Contra account for your default currency from the drop-down menu

<div style={{ textAlign: "center" }}>
  <img src="https://mintcdn.com/pleo-61d4d38b/Sk6KKlJRa6sMRffn/images/current/accounting-integrations/as-ui-export-contra-accounts-select.png?fit=max&auto=format&n=Sk6KKlJRa6sMRffn&q=85&s=f7825762876999ff69825ce7a238ae51" alt="Select a Contra account" width="100%" style={{ display: "block", margin: "0 auto" }} data-path="images/current/accounting-integrations/as-ui-export-contra-accounts-select.png" />
</div>

<RememberCallout title="Remember">
  A contra account must be configured for every default currency in use. Expenses in a
  currency without a mapped contra account will continue to return this error.
</RememberCallout>

### Contra Accounts tab not visible?

If you do not see the **Contra Accounts** tab, [contact Pleo Support](https://help.pleo.io/en/support/home) to have it enabled for your account.

## After Resolving

Once contra accounts are configured for the default currency, calls to `GET /v3/export-items` will return the full export item payload as expected.

***

## Related Reading

* [Fetch Export Item Data](/docs/current/integration-design/exports/integration-design-exports-fetch-export-items-data-layer)
* [How to Fetch Export Item Data for Processing](/docs/current/how-tos/accounting-integrations/how-to-fetch-export-item-data-for-as-erp-processing)

***
