aeat.adapters.inbound.pdf package¶
Shared primitives for the project’s PDF-import families.
The adapters.inbound.pdf package is the small coordination layer behind
the concrete PDF parser packages. Declaracion and borrador parsers use its
casilla-bearing records and label-regex helpers; justificante parsers use the
shared error root and text/provenance helpers while remaining receipt-only
metadata parsers. Callers should still import from the concrete
adapters.inbound.declaracion, adapters.inbound.borrador, or
adapters.inbound.justificante packages.
Public symbols:
ExtractedCasilla– one casilla ID plus the printed value and extraction provenance from a casilla-complete PDF.PdfModeloImportError– base exception for PDF-import parsing errors.LabelHit,apply_label_regex(), andparse_spanish_decimal()– label-anchored extraction helpers used by declaracion and borrador parsers.extract_pages_text_from_path(),extract_pages_text_from_bytes(),extract_pages_text_concatenated(), andextract_pages_text_with_fast_path()– shared pdfplumber-backed page-text extraction primitives.sha256_file()andsource_pdf_reference_path()– shared source-provenance helpers (digest and redacted reference path).
See also
adapters.inbound.declaracionfor registry-grounded filed declaration parsing.adapters.inbound.borradorfor borrador/Renta artefact parsing.adapters.inbound.justificantefor AEAT filing-receipt parsing.