# RECARGO_REQUIRES_REGIME_RE

When equivalence surcharge is enabled, the main tax regime must be "18 - Equivalence surcharge". Change the regime to 18 or disable the surcharge.

<Callout type="info">
**Category:** [General](/errors/category/shared)
</Callout>

## Example response

When this error occurs, the API returns a JSON response with the following shape:

```json
{
  "type": "https://docs.beel.es/errors/RECARGO_REQUIRES_REGIME_RE",
  "title": "RECARGO_REQUIRES_REGIME_RE",
  "detail": "When equivalence surcharge is enabled, the main tax regime must be \"18 - Equivalence surcharge\". Change the regime to 18 or disable the surcharge.",
  "instance": "/v1/<resource>",
  "errors": [],
  "success": false,
  "error": {
    "code": "RECARGO_REQUIRES_REGIME_RE",
    "message": "When equivalence surcharge is enabled, the main tax regime must be \"18 - Equivalence surcharge\". Change the regime to 18 or disable the surcharge.",
    "details": {}
  },
  "meta": {
    "timestamp": "2026-05-21T10:00:00Z",
    "request_id": "4bf92f3577b34da6a3ce929d0e0e4736"
  }
}
```

The `type` URI is stable and always resolves to this page.

## Message

<Tabs items={["English", "Spanish", "Catalan"]}>
  <Tab value="English">{"When equivalence surcharge is enabled, the main tax regime must be \"18 - Equivalence surcharge\". Change the regime to 18 or disable the surcharge."}</Tab>
  <Tab value="Spanish">{"Si aplicas recargo de equivalencia, el régimen del impuesto principal debe ser \"18 - Recargo de equivalencia\". Cambia el régimen a 18 o desactiva el recargo."}</Tab>
  <Tab value="Catalan">{"Si apliques recàrrec d'equivalència, el règim de l'impost principal ha de ser \"18 - Recàrrec d'equivalència\". Canvia el règim a 18 o desactiva el recàrrec."}</Tab>
</Tabs>

Send the request with `Accept-Language: <es|en|ca>` to receive the message in your preferred language.

## Other errors in this category

<div className="grid grid-cols-2 gap-3 not-prose">
  <Card title="AUTOMATIC_EMAIL_CONFIG_INVALID" description="For automatic sending, you must provide an email configuration or a client with email" href="/errors/AUTOMATIC_EMAIL_CONFIG_INVALID" />
  <Card title="BAD_REQUEST" description="The provided data is not valid." href="/errors/BAD_REQUEST" />
  <Card title="BUSINESS_RULE_VIOLATION" description="The operation breaks a business rule." href="/errors/BUSINESS_RULE_VIOLATION" />
  <Card title="CONCURRENT_MODIFICATION" description="The resource was modified by another operation. Please retry." href="/errors/CONCURRENT_MODIFICATION" />
  <Card title="CONFIGURATION_INVALID" description="The configuration is not valid" href="/errors/CONFIGURATION_INVALID" />
</div>

## Keep exploring

<div className="grid grid-cols-2 gap-3 not-prose">
  <Card title="All General errors" description="Every code in this category in one table." href="/errors/category/shared" />
  <Card title="Error reference home" description="Browse every category or jump to the handling guide." href="/errors" />
</div>

---

Full OpenAPI spec: https://docs.beel.es/api/openapi