Skip to main content

Customize Zaak- and Documentidentificatie Formatting

ZDS(Zaak- en Documentservices) applications usually send a genereerZaakIdentificatie or genereerDocumentIdentificatie request to ZaakBrug that is later used to create a new case or document. The formatting of these generated identifiers is highly customizable.

The properties zaakbrug.zgw.zaak-identificatie-template and zaakbrug.zgw.document-identificatie-template can be configured to specify how the zaak- and documentidentificatie should be generated and formatted. The syntax for variable substitution is as follows '{[variable-name][:formatting-string]}'

VariableDescription
idAuto-incrementing identifier with 'D' as formatting option, indicating the amount of digits.
Example: {id:D5} with id-123 will result in '00123'.
datetimeThe current date and time with '[Y]' as formatting option, according to XSLT datetime formatting.
Examples:
  • {datetime:[Y]} with datetime=14-03-2023 produces '2023'
  • {datetime:[Y0001]} with datetime=14-03-2023 produces '2023'
  • {datetime:[Y][M][D]} with datetime=14-03-2023 produces '2023314'
  • {datetime:[Y0001][M01][D01]} with datetime=14-03-2023 produces '20230314'
  • {datetime:[Y][M01][D]} with datetime=14-03-2023 produces '20230314'

Refer to How To Set Or Override Properties for more information on how to set or override properties for your environment.