API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen
Entity · compliance_reports

Compliance Report Schema

Schema-ID
compliance_report
Collection
compliance_reports
Permissions
  • Lezencompliance_report_view
  • Aanmakencompliance_report_create
  • Wijzigencompliance_report_edit
  • Verwijderencompliance_report_delete

Velden

Compliance Report Schema

compliance_reports4 permissions

Schema for GoBD compliance reports and Verfahrensdokumentation

reportTypestringvereist

Type of compliance report

GOBD_STATUSVERFAHRENSDOKUMENTATIONHASH_CHAIN_VERIFICATIONRETENTION_ADHERENCEACCESS_AUDITSIGNATURE_STATUSTAX_AUDITOR_EXPORT
titlestringoptioneel
max. 500 tekensnullable
statusstringvereist
PENDINGGENERATINGCOMPLETEDFAILED
Default: "PENDING"
dateFromdatetimeoptioneel

Report period start

nullable
dateTodatetimeoptioneel

Report period end

nullable
summaryobjectoptioneel

Report summary metrics

nullable
findingsobject[]optioneel
Default: []
severitystringoptioneel
INFOWARNINGCRITICAL
codestringoptioneel

Finding code (e.g. GOBD_001)

messagestringoptioneel
documentIdstringoptioneel
nullable
detailsobjectoptioneel
nullable
documentCountnumberoptioneel

Number of documents included in this report

nullable
hashChainValidbooleanoptioneel

Whether the hash chain is intact

read-onlynullable
lastVerifiedHashstringoptioneel

Last verified hash in the chain

read-onlynullable
brokenChainAtstringoptioneel

Document ID where chain broke (if any)

read-onlynullable
s3Keystringoptioneel

S3 key for exported report/archive

read-onlynullable
fileNamestringoptioneel
read-onlynullable
fileSizeBytesnumberoptioneel
read-onlynullable
partsobject[]optioneel

Herunterladbare Dateien des Berichts. Ein Exportpaket wird gestückelt, damit es den Speicher des Workers nicht sprengt (ADR 1163 §6).

read-onlynullable
s3Keystringvereist
read-only
fileNamestringvereist
read-only
fileSizeBytesnumberoptioneel
read-onlynullable
startedAtdatetimeoptioneel
nullable
completedAtdatetimeoptioneel
nullable
errorMessagestringoptioneel
nullable

Standaard-endpoints

Deze resource volgt het generieke CRUD-contract van het platform. Lees de conventies voor paginering, idempotentie, optimistic locking en audit. De belangrijkste endpoints:

  • GET /api/v1/compliance_reports — Lijst, gepagineerd + filterbaar
  • GET /api/v1/compliance_reports/<id> — Enkele entity
  • POST /api/v1/compliance_reports — Aanmaken
  • PATCH /api/v1/compliance_reports/<id> — Gedeeltelijke update
  • DELETE /api/v1/compliance_reports/<id> — Soft-delete
  • GET /api/v1/compliance_reports/<id>/timeline — Audit + activiteiten

Zoeken