cadrumo.entrypoints.ledger_evidence_extraction_composition module

Entrypoint-neutral composition for the invoice-draft extraction use case.

evidence_text_layer_ports()[source]

Bind the application text-layer capability to the PDF adapter.

Return type:

EvidenceTextLayerPorts

invoice_draft_extraction_ports(*, evidence_ports)[source]

Bind the CLI evidence commands to their concrete adapters.

Return type:

InvoiceDraftExtractionPorts

Parameters:

evidence_ports (LedgerEvidencePorts)