Account

Preview a managed account plan change

Preview, with no effect, changing the plan of a managed account your account pays.

  • Upgrades are immediate and charged at once; downgrades are period_end and list tax IDs to deactivate.
  • Requires operate access on the account (403 forbidden_action).
  • Requires the privileged accounts:read scope.
get/accounts/{account}/plan/preview

Request

  • Base URL: https://api.factuarea.com/v1
  • URL: https://api.factuarea.com/v1/accounts/{account}/plan/preview
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Path parameters

accountstring uuid required

Public identifier (UUID v7) of the managed account provisioned by your account (its id in GET /v1/accounts).

Query parameters

plan'emprendedor' | 'empresario' | 'integral' | 'enterprise' required

Requested plan: emprendedor, empresario or integral (enterprise returns 422 managed_account_plan_not_self_serve).

Headers

Factuarea-Versionstring date
Example:2026-06-01

Pin the API version (YYYY-MM-DD, Stripe-style date versioning) for this request; omit to use the key's pinned version, or the latest if none. Unsupported version → 400 unsupported_api_version; malformed → 400 parameter_invalid_format. The effective version is echoed in the Factuarea-Version response header. See the Versioning guide.

Response

Example response

{
  "data": {
    "object": "managed_account_plan_change_preview",
    "from_plan": "emprendedor",
    "to_plan": "empresario",
    "effective": "immediate",
    "prorated_amount_cents": 1250,
    "next_invoice_amount_cents": 3500,
    "currency": "EUR",
    "renews_at": "2026-10-27T09:00:00+00:00",
    "deactivates": [
      {
        "id": "0199a1f0-1c22-7a10-b111-7a7b7c7d7e7f",
        "name": "Talleres García SL",
        "tax_id": "B12345674"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.