Skip to content

FA(3) builder: Header

Set the header value.

Called on builder
Source src/ksef2/services/builders/fa3/root.py:58 Authored source
builder.header
builder.header(*, generation_timestamp: Annotated[datetime | str | None, builder_param('Invoice generation timestamp written to the FA(3) header. Leave it empty to use the current time.', examples=['2026-04-09T10:15:00+02:00'], format=(date - time), priority=advanced)] = None, system_info: Annotated[str | None, builder_param('Name of the application or service that generated the invoice.', examples=[my - erp, billing - service])] = None) -> Self

Returns

Self

Parameters

generation_timestamp datetime | str | None

Invoice generation timestamp written to the FA(3) header. Leave it empty to use the current time.

default None / keyword-only
system_info str | None

Name of the application or service that generated the invoice.

default None / keyword-only