A MuleSoft IDP prompt that segments a scanned accounts-payable packet into its logical documents (inbound invoice, outbound invoice, work order, contract, other), tags each with a page range and confidence score, and extracts a polymorphic field set per segment in one pass.