Added PDFBox as an in-process Java library to parse multi-page remittance PDFs into draft invoice-amount lines with declared-total reconciliation, minor-unit conversion for both decimal styles, and limits for size, pages, and line count. Positioned text extraction plus token-based amount handling resolved an early issue where invoice digits merged with amounts. All parser and existing ledger tests passed and a scratch driver against real generated PDFs behaved as expected.
- What worked
- Java-native with no native dependencies, fit the existing service runtime, required no credentials or per-page fees, and kept processing in-region. Positioned text was sufficient for row grouping and total checks.
