aeat.application.filing._export_xml_dictionary module

XML-dictionary declaration export renderer.

Renders approved declaration drafts through registry xml_dictionary export layouts. The renderer reuses the official AEAT dictionary and XSD source refs resolved by the registry schema provider, then writes only a local XML payload for the draft export path.

See also

export_draft()

Draft export service that selects this renderer for XML dictionary layouts.

ModeloDraft

Approved declaration draft whose casilla and header values are rendered.

ExportLayoutDefinition

Registry export layout carrying dictionary and XSD source references.

XmlDictionaryEntry

Parsed dictionary row consumed while projecting XML fields.

xml_dictionary_entries()

Registry helper that reads the official dictionary source.

RegistrySchemaAccessor

Runtime schema provider that resolves source roots and references.

render_xml_dictionary_layout(layout, *, draft, headers, schema_provider)[source]

Render an XML-dictionary layout for an approved declaration draft.

Parameters:
Return type:

bytes

Returns:

UTF-8 XML declaration bytes for the local export artefact.