---
title: "ModuleItemDocuments (Notubiz)"
description: "itgen_nbz_module_item_documents"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/notubiz/Notubiz.Modules.ModuleItemDocuments
original: https://documentation.invantive.eu/en/datamodels/notubiz/Notubiz.Modules.ModuleItemDocuments
updated: 2026-11-23T21:53:00Z
license: https://documentation.invantive.eu/en/
---

# ModuleItemDocuments: Notubiz itgen_nbz_module_item_documents

`read only` `per partition` `REST`

- Catalog: `Notubiz`
- Schema: `Modules`
- Primary Keys: `module_item_id, document_id`
- Label: itgen_nbz_module_item_documents

Can only retrieve data.

## Summary

The documents of the entries of the registers. The file is DocumentFileById. Read per register in slices of 500 entries by id: a register of 10 000 entries takes 20 requests. A filter on module_id, on id or on main_date is passed to Notubiz. One request per selected organisation; narrow it with use, for instance use 1550@nbz.

## API Source

- Endpoint: `/modules/{module}/items`

## Performance Characteristics

| Characteristic | Value |
|---|---:|
| Estimated rows | 1,000,000 |
| Average access latency (ms) | 3,000 |
| Full scan rows per minute | 10,000 |
| Point query rows per minute | 60 |

## Table Columns

The columns of the table `ModuleItemDocuments` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `case_code` | `varchar2` | itgen_nbz_case_code | [ ] | filters on the platform, writable | The case code of the organisation. |
| `confidential` | `int32` | itgen_nbz_confidential | [ ] | filters on the platform, writable | 0 for public. |
| `description` | `varchar2` | itgen_nbz_description | [ ] | filters on the platform, writable | The description. |
| `document_id` | `int64` | itgen_nbz_document_id | [x] | filters on the platform, writable | The id of the document; the argument of DocumentFileById. |
| `document_type` | `varchar2` | itgen_nbz_document_type | [ ] | filters on the platform, writable | The kind of document, such as Besluitenlijst. |
| `field_id` | `int64` | itgen_nbz_field_id | [ ] | filters on the platform, writable | The field holding the document; empty for an attachment. |
| `file_name` | `varchar2` | itgen_nbz_file_name | [ ] | filters on the platform, writable | The name of the file of the current version. |
| `file_size` | `int64` | itgen_nbz_file_size | [ ] | filters on the platform, writable | The size of the file in bytes. |
| `last_modified` | `datetime` | itgen_nbz_last_modified | [ ] | filters on the platform, writable | When the document last changed, UTC. |
| `mime_type` | `varchar2` | itgen_nbz_mime_type | [ ] | filters on the platform, writable | The kind of file, such as application/pdf. |
| `module_id` | `int64` | itgen_nbz_module_id | [x] | filters on the platform, writable | The register. |
| `module_item_id` | `int64` | itgen_nbz_module_item_id | [x] | filters on the platform, writable | The entry. |
| `organisation_id` | `int64` | itgen_nbz_organisation_id | [x] | filters on the platform, writable | The organisation. |
| `publication_date` | `datetime` | itgen_nbz_publication_date | [ ] | filters on the platform, writable | A date Notubiz names publication date; it is the day of reading for most documents, so it says nothing about when the document was published. |
| `title` | `varchar2` | itgen_nbz_title | [ ] | filters on the platform, writable | The title. |
| `url` | `varchar2` | itgen_nbz_url | [ ] | filters on the platform, writable | Where the file of the current version can be downloaded. |
| `version` | `int32` | itgen_nbz_version | [ ] | filters on the platform, writable | The current version; a changed document gets a higher version. |

## Keys

| Key | Column | Refers to | Kind | Description |
|---|---|---|---|---|
| `ModuleItemDocuments_module_item_id_fk` | `module_item_id` | [ModuleItems](Notubiz.Modules.ModuleItems)`.id` | Key |  |

