Skip to content
KSEF-BUS-157 BEST PRACTICE Warning Gov Enforced

Too many data blocks in attachment or missing header

Zbyt wiele bloków danych w załączniku lub brak nagłówka

Problem

Invoice attachment exceeds the recommended data block limit (BlokDanych — max 100, Guard tightens the XSD schema limit of 1000) or contains an empty header (ZNaglowek is empty after whitespace trimming).

How to Fix

Limit the attachment data blocks to 100; for any block that includes a ZNaglowek element, ensure its text is non-empty (after whitespace trimming). The ZNaglowek field is optional — blocks without ZNaglowek are accepted.

Source Reference

Brochure FA(3), Section Zalacznik

Page 152

View source PDF

Source Quote

“An attachment (Zalacznik) with more than 100 data blocks or missing BlokDanych header indicates a modelling problem.”
Description SHA-256: 755a9bad1b93…

Justification

XSD SCHEMA

Legal Basis Chain

1

Attachment — BlokDanych/ZNaglowek

Zalacznik — BlokDanych/ZNaglowek

“Header of data block [optional field]. The header of the data block in question is given. Maximum number of characters: 512 MetaDane [MetaData] Descriptive data of a data block Descriptive data characterising the data block in question (composed of the complex-type ZKlucz and ZWartosc) is provided.”
Brochure FA(3), Section Zalacznik/BlokDanych/ZNaglowek (Page 152)