Dismiss the register discrepancy as a register error
Hides the current discrepancy (dismissed: true) without changing the company. The
dismissal holds only for the discrepancy it names: when the register changes again the
warning comes back. Send the check’s digest, so a discrepancy that changed since you read
it is not dismissed unseen.
Requires write:document_settings or manage:document_settings, and a role that may change
the workspace.
Authentication
JWT issued via POST /api/v1/auth/sign_in. Used by mobile and SPA clients. Revoked tokens are rejected.
Lucanto API key. Two prefixes:
lct_pat_<random><checksum>— personal access token (owner: User)lct_live_<random><checksum>— workspace token, live data
Issue keys at /settings/api_keys (personal) or
/:workspace_id/settings/api_keys (workspace). Plaintext token is
shown once and never again.
Path parameters
Headers
Client-supplied unique key (recommended: UUID v4) for safe
retries. Within 24 hours, repeating the same key with the same
request (method, path, query, body) replays the original
response instead of re-executing the action — once the action
has run, a 5xx included; a request stopped before it ran is not
stored. Reusing
a key with a different request returns
422 idempotency_key_conflict (IETF draft §2.7).
Request
The check’s digest, naming the discrepancy to dismiss. Omit it to dismiss the
one the check shows now; a present value must be the 64-character hex digest.
Response
unknown = not checked yet, or the register data is too old to judge.
The highest severity among discrepancies; null when there are none.
Identifies the stored discrepancy. POST it to …/register_check/dismiss; it changes when the
register’s answer changes. Null when no discrepancy is stored.
The register lists the comparison read, keyed by list (e.g. icdph), with their dates; null
for a list the register has not published yet.
The PATCH /workspaces/{workspace_id}/company_profile body that writes the register’s values
over the discrepancies. Empty unless status is drift (stale or unknown data is never
applied) and when there is nothing to apply (a termination is reported, not applied).
vat_payer_type and vat_id always travel together. A main_activity discrepancy is
applied here only when the register’s SK NACE Rev. 2.1 class has a single SK NACE Rev. 2
subclass; with several, the user picks one of main_activity_choices and the client adds
it as main_activity_code, with main_activity_register_code, to this body.
The SK NACE Rev. 2 subclasses the register’s new main activity may be filed as, when there are several and the user must pick; empty otherwise.
The register’s SK NACE Rev. 2.1 class to send beside a picked main_activity_code.
