cadrumo.adapters.inbound.pdf package¶
Inert namespace for the shared PDF-import primitives package.
This package exports nothing. Every contract below has one canonical defining module, and callers – inside the package and out – import it from there.
Where the contracts live:
Casilla-bearing records –
extracted_casilla, definingExtractedCasilla: one casilla ID plus the printed value and the extraction provenance read off a casilla-complete PDF.Label-anchored primitives –
label_regex, definingparse_spanish_decimaland theEJERCICIO_LABEL,MODELO_LABEL,PRESENTADOR_NIF_LABEL,SPANISH_AMOUNT_GROUPandTEXT_VALUE_GROUPfragments the declaracion parser anchors on.Page text –
page_text_extraction, defining the pdfplumber-backedextract_pages_text_from_path,extract_pages_text_from_bytes,extract_pages_text_concatenatedandextract_pages_text_with_fast_pathprimitives.Source provenance –
source_provenance, definingsha256_fileandsource_pdf_reference_path, the digest and redacted reference path that keep the operator’s local filename out of persisted provenance at the secure-storage boundary.
domain.justificante.errors remains the sole canonical source for
PdfModeloImportError, the root exception the parsers in this package
raise; it was only ever passed through this namespace and is now imported from
its defining module.
See also
adapters.inbound.declaracionRegistry-grounded filed declaration parsing.
adapters.inbound.justificanteAEAT filing-receipt parsing, receipt-only metadata.