Factuarea APIDevelopers
Contract

Document identifiers are hidden from credentials without the document scope

An API key or MCP connection that cannot read a document with a public link no longer receives its identifier in events, webhook deliveries, task links or notifications: the field comes back null and the rest of the response does not change. Seven updated operations and their seven MCP tools.

4 December 2026 — A document's identifier leads to its public link. So when an API key or MCP connection does not hold the read scope of the resource, responses that mention that document return its identifier as null instead of publishing it. A credential with the resource scope, or with the * wildcard, receives the full response. The contract now declares that null, and the entity type is kept.

What changes

The masking only applies to the five documents that carry a public link and to their read scope:

Document typeScope that unmasks it
Invoiceinvoices:read
Quotequotes:read
Proformaproformas:read
Delivery notedelivery_notes:read
Sales ordersales_orders:read

Identifiers of any other resource (contacts, products, expenses, employees…) are not masked. The affected operations and the field that can come back null:

OperationMCP toolField that can be null
List eventslist_eventsaggregate_id, data
Retrieve an eventget_eventaggregate_id, data
List webhook deliverieslist_webhook_deliveriespayload
Retrieve a webhook deliveryget_webhook_deliverypayload
List the links of a tasklist_task_entity_linksentity_id
Link a task to an entitylink_task_entityentity_id
List notificationslist_notificationsentity_id

In an event, data is now the union of the event schema and null; in a webhook delivery, so is payload. aggregate_id could already be null for events without backfill.

What to check in your integration

  • Accept null. If your client assumes data, payload, aggregate_id or entity_id always arrive filled in, treat them as optional. SDKs that pin their own copy of the contract need the version that reflects it.
  • Grant the scope if you need it. An integration that reads invoice events to react to them needs invoices:read in addition to events:read; the full response is delivered only with that scope or with *.

Operations in this release

On this page

Need a hand?Contact support