---
title: "Retrieve Stripe autoinvoicing config"
method: GET
path: "/companies/{company}/stripe-autoinvoicing/config"
tags: ["Stripe"]
---

# Retrieve Stripe autoinvoicing config

`GET /companies/{company}/stripe-autoinvoicing/config`

## Request

- Base URL: `https://api.factuarea.com/v1`
- URL: `https://api.factuarea.com/v1/companies/{company}/stripe-autoinvoicing/config`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Returns the Stripe Connect state and auto-invoicing configuration: enabled, series, plan gating, fiscal policy.
- With several connected accounts it returns 422 `per_account_config_required`.
- Read each account via `GET /v1/companies/{company}/connected-accounts`.

## Path parameters

- `company` string, uuid, required

## Headers

- `Factuarea-Version` string, date

## Response `200`

- object
  - `data` StripeAutoinvoicingConfig, required: Stripe Connect integration status and auto-invoicing configuration for your company. Singleton resource (one configuration per company), so it exposes `object` but no navigable `id`.
    - `object` 'stripe_autoinvoicing_config', required: Stripe-like discriminator. Always `stripe_autoinvoicing_config` for this resource.
    - `connected` boolean, required: Whether the Stripe Connect integration is connected (active) for the company.
    - `enabled` boolean, required: Whether auto-invoicing of Stripe charges is enabled. Defaults to `false`.
    - `series_id` string, uuid, nullable, required: UUID v7 of the document series used for auto-created invoices. `null` means the company default series is used.
    - `available_for_current_plan` boolean, required: Whether the current plan includes auto-invoicing (effective plan gating, derived from config — not hardcoded).
    - `current_plan` string, required: The company current plan slug.
    - `required_plans` string[], required: Plans that unlock auto-invoicing (derived from config, not hardcoded).
    - `simplified_threshold_cents` integer, required: Simplified invoice (F2) threshold in cents, range `[0, 300000]` (0–3,000 €). Charges without a tax ID at or below this amount are auto-issued as simplified invoices; above it they are routed to manual review. Defaults to 40000 (400 €).
    - `require_nif` boolean, required: Whether a Spanish tax ID (NIF) is required for auto-invoicing. When enabled, Factuarea-created Checkouts mark the tax ID as required and charges without a tax ID are never auto-issued as simplified invoices (they go to manual review). Defaults to `false`.
    - `refunds_enabled` boolean, required: Whether a Stripe refund (`charge.refunded`) automatically generates a linked corrective invoice (with the original invoice and the VeriFactu R record). Only acts while auto-invoicing is enabled. Defaults to `true`.
    - `subscription_autoinvoicing_enabled` boolean, required: Whether Stripe subscription cycles (`invoice.paid` with a standard `billing_reason`) are auto-invoiced. Both this toggle and the general `enabled` flag must be on for a cycle to be invoiced. Defaults to `false`.

## Other responses

- `400`: `parameter_unknown` with `subcode` `retired_active_profile_header`: the retired `X-Active-Profile` header was sent; the company goes in the path. `parameter_invalid_format` on `Factuarea-Version`: the header is not a `YYYY-MM-DD` date. `unsupported_api_version`: the `Factuarea-Version` date is not a supported version.
- `401`: Missing or invalid API key.
- `403`: The request is authenticated but not allowed: the API key lacks the required scope (`insufficient_scope`), the plan does not include the public API or this feature (`addon_not_active`, `feature_not_available_in_plan`), or the module is not available with a test key (`module_not_available_in_sandbox`).
- `404`: The requested resource does not exist or belongs to another company. `profile_not_found`: the company in the path does not exist, is not in the API key scope or belongs to the other environment (live or test).
- `429`: Rate limit exceeded. Retry after the duration in `Retry-After`.
- `500`: Unexpected server error.

---

[API](https://skmtc.dev/factuarea/apis/factuarea-public-api.md) · [All operations](https://skmtc.dev/factuarea/apis/factuarea-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/factuarea/apis/factuarea-public-api/revisions/718e77934422?raw)
