The plan applies on every API and MCP request
The v1 API and the MCP server check on every request of the company axis that the plan includes the module of the operation, also with the * scope, and turning off auto-invoicing from Stripe does not depend on the plan. 37 updated operations.
2 December 2026 — The v1 API and the MCP server apply the contracted plan on every request. An
operation of the company axis (/v1/companies/{company}/…) whose scope belongs to a module that the plan
of the company does not include answers 403 with code feature_not_available_in_plan, whatever scopes
the credential lists, * included, and whenever it was issued. No operation, field or code is added or
removed.
What the API does
- The check runs on every request. It comes after the scope of the credential and before the body is validated, so a write outside the plan applies nothing.
- It reads the plan as it is now. It evaluates the plan that covers the company in the path at that
moment, with the modules enabled or disabled for it, so a plan change applies to the keys already
issued from their next request. Creating a key still answers
422 scope_not_allowed_by_planfor a fine-grained scope outside the plan. - Purchase documents follow the Purchases plan. The PDF of a purchase order
(
GET /v1/companies/{company}/purchase-orders/{purchase_order}/pdf) and the goods receipt sheet (GET /v1/companies/{company}/goods-receipts/{goods_receipt}/sheet) are read withpdfs:read, and the plan must include purchase orders; so must their MCP toolsget_purchase_order_pdfandget_goods_receipt_sheet. The PDF of an invoice does not depend on the plan. - The account axis keeps its own rules. The operations under
/v1/accounts/{account}/…(members, invitations, tax ID transfers, seats, account webhooks and return domains) keep the plan rules of the account they already had. - The message names the module and the minimum plan.
{
"error": {
"type": "authorization_error",
"code": "feature_not_available_in_plan",
"message": "Tu plan actual no incluye el módulo «Pedidos de compra», que necesita esta operación. Requiere el plan Avanzado o superior: actualiza tu suscripción para acceder.",
"param": null,
"doc_url": "https://docs.factuarea.com/guides/errors#feature_not_available_in_plan",
"request_id": "req_01HKQS5NCK4V9N2L7Y8X3WPMRE"
}
}What the MCP server does
tools/listonly lists the tools whose module the plan of the company includes, also with*.- A tool that declares its module keeps answering
module_not_in_plan(-32005); the rest answerfeature_not_available_in_plan, the same code as the REST API. - The tools of the account axis keep their own plan rules. See MCP scopes.
Turning off auto-invoicing
Turning off auto-invoicing from Stripe does not depend on the plan, so a company without the Stripe
integration module, for example after a plan change, can stop it.
PATCH /v1/companies/{company}/stripe-autoinvoicing/config and
PATCH /v1/companies/{company}/connected-accounts/{account} accept a body that only sets their switches to
false: enabled, refunds_enabled and subscription_autoinvoicing_enabled, plus
email_invoice_to_payer and fee_expenses_enabled on an account. The MCP tools
update_stripe_autoinvoicing_config and update_stripe_connected_account accept the same. Turning it on,
changing any other field and reading the configuration still need the module. See
Stripe auto-invoicing.
Operations whose description changes
The 403 of 33 operations now names feature_not_available_in_plan: the presentations of invoices,
quotes, pro-formas and delivery notes (16), the PDF template of a series (2), the administrative revisions
of an invoice (2), Facturae and FACe (5) and the purchase scanner (8). The two Stripe operations above
describe the turn-off, and the purchase order PDF and the receipt sheet describe their plan. The other operations of the company axis already published the shared 403
response, which now carries this code and its example.
What to do. Branch on error.code: feature_not_available_in_plan is a plan decision, not a fault of
the credential, and the same key works again once the plan includes the module. See
Authentication and the error.