aeat.adapters.outbound.aeat.export._formats package

Low-level fixed-width fichero-BOE primitives.

This package contains explicit-spec byte helpers for fichero-BOE records and envelopes. The active modelo export flow is registry-driven through application.filing.export_draft(), which renders domain.calculations.registry.ExportLayoutDefinition records directly; export verification re-reads files through domain.calculations.registry.parse_export_payload().

The primitives here remain useful when a caller already has adapter-local RecordFieldSpec or SegmentSpec tuples and needs to validate byte-level round trips. This module re-exports: RecordFieldSpec, SegmentSpec, FieldKind, Justification, DateFmt, SignedMode, record_field(), encode_currency(), encode_date(), encode_text(), validate_record_specs(), and validate_segment_specs().

See also

adapters.outbound.aeat.export

Supported outbound export package root and error import surface.

application.filing.export_draft()

Application entry point that writes approved drafts from registry export layouts.

domain.calculations.registry.parse_export_payload()

Registry parser used by export verification.

Submodules