Document OCRJD Edwards World (IBM i) Agent view

How to add document OCR to JD Edwards World

Short answer

Scan or receive documents into a watched folder, run OCR and field extraction with per-field confidence, match against open purchase orders and receipts in DB2 for i, and stage vouchers or receipt records for a World batch job after human review of the uncertain fields.

World shops that process supplier invoices, packing slips and certificates of conformance often do it with paper, PDFs and a lot of keying. Accounts payable staff read an invoice, find the PO, compare to the receipt and key a voucher. Receiving staff file packing slips and certs in cabinets. The work is routine, but the controls matter.

OCR in this setting is not only reading text. It has to land the right values against the right PO line, respect tolerance rules and leave an audit trail. The IBM i is mostly a reference and a destination, which is a strength: the heavy lifting runs off box, and the IBM i sees only validated results.

This page focuses on invoices, packing slips and quality certificates because that is where the volume and the risk are.

What teams use it for

Supplier invoice to voucher

Extract supplier, invoice number, date, totals and lines; match to the open PO and received quantities; stage a voucher for accounts payable review.

Packing slip capture at receiving

Read item, quantity and PO from the packing slip so receivers confirm rather than key, and attach the image to the receipt.

Certificates of conformance and mill certs

Extract heat or lot numbers and specification references, link to the lot in inventory, and flag missing or mismatched certs before release to production.

Customer drawings and PO attachments

Classify and index drawings and specification pages against the sales order or item so they can be found later.

Freight bills and carrier documents

Capture freight invoice amounts and reference numbers and match them to shipments for audit.

JD Edwards World (IBM i) integration surface

  • DB2 for i read access to open purchase order lines, receipts and supplier master for matching; actual file names and fields depend on release and local changes.
  • World accounts payable voucher entry, usually via batch input or a custom interface program, as the hand-off for approved invoice data. Confirm what your release provides with your administrator.
  • Document linkage: World has media-object style attachments in some releases, but many shops store images on the IFS or in a document management system and keep the reference in a cross-reference table.
  • IFS folders and SMB/SFTP shares as the watched drop zone for scans from multifunction printers.
  • Staging library or an adjacent database holding extracted fields, confidence scores and review status.
  • Job scheduler for the posting job and for archiving old images.

How it works

  1. 1

    Standardize capture

    Route scanners and a dedicated mailbox to a watched folder. Capture at 300 dpi, grayscale or color, as PDF or TIFF, and record the source and timestamp.

  2. 2

    Classify the document

    Separate invoices, packing slips, certs and unknowns. A small classifier or a language model with page text usually does this reliably.

  3. 3

    OCR and extract

    Use a local OCR engine plus a vision or text model to return structured fields with per-field confidence and the page region used.

  4. 4

    Validate against World data

    Check supplier, PO, line, quantity and price against DB2 for i. Apply the same tolerance rules AP uses for price and quantity variances.

  5. 5

    Route to review

    Show the image next to the fields, highlight low-confidence or mismatched values and let the reviewer correct them. Corrections feed back to improve rules.

  6. 6

    Stage and post

    Write approved results to a staging table; a World batch job creates the voucher or receipt with the usual edits and posts errors back to the queue.

  7. 7

    Archive and link

    Store the original image and the extracted JSON with the resulting voucher or receipt number for audit and later search.

Example flows

Three-way match for a supplier invoice

Trigger: An invoice PDF lands in the AP drop folder.

  1. OCR extracts supplier, invoice number, line items and total.
  2. The service finds the PO and checks received quantity per line.
  3. Lines inside tolerance are marked clean; one line shows a price variance.
  4. The AP clerk resolves the variance and approves.
  5. A batch job creates the voucher and the image is linked to it.

Result: Clean invoices flow through and clerks spend time on exceptions only.

Mill cert check at receiving

Trigger: A steel shipment arrives with a mill certificate.

  1. The cert is scanned; the extractor reads heat number, grade and specification.
  2. The service compares to the PO's specification requirement.
  3. A mismatch raises a hold flag for quality before the lot is released.

Result: Nonconforming material is caught at the dock rather than on the floor.

Keeping data on-prem

Documents such as supplier invoices, customer drawings and certs are often subject to contract or export controls, so process them where you control the environment. Open-source OCR engines and open-weight vision models run well on a single local GPU server, and the staging data can sit on the IBM i or an adjacent database. Keep the original images on your own storage and avoid sending any document to an external API unless your policy allows it. In air-gapped sites, install models and OCR packages from an internal mirror and block outbound traffic.

Security checklist

  • Restrict access to the drop folder and the review application by role: AP, receiving and quality see only their documents.
  • Preserve the original image unaltered and store a hash with the posted record.
  • Do not let extracted text trigger tool calls; a document is data, not instructions.
  • Apply the same segregation of duties as your manual process: entry, approval and payment stay separate.
  • Log reviewer corrections and keep them for audit and model tuning.

Ways to get it done

Dedicated AP automation product

Effort: Weeks to months, including supplier onboarding and per-invoice fees; verify support for World voucher import.

Fits finance teams that want a complete invoice workflow and can integrate through a file or batch interface.

In-house OCR pipeline with open-source tools

Effort: A few weeks for a prototype, continuing effort for new layouts and edge cases.

Fits teams with Python skills and modest volumes who accept a longer tuning cycle.

Partner build with Netray

Effort: A pilot with one document type and measured accuracy before expanding to others.

Fits on-prem or restricted environments, mixed document types and a need for confidence-based review and World hand-off.

Pitfalls

  • !Poor scans sink accuracy; fix capture settings before blaming the model.
  • !Tax, freight and discount lines complicate matching; decide up front how each is handled in the voucher.
  • !Suppliers send duplicates and statements; detect by supplier plus invoice number and reject statements as non-invoices.
  • !Currency and decimal formats differ by country; normalize before comparing to World amounts.
  • !Handwritten notes on packing slips are unreliable; force review where handwriting affects quantity.

Frequently asked questions

Does JD Edwards World include OCR?

Not in a form that handles modern invoice and packing slip extraction. World stores data and processes vouchers, while OCR runs outside it. The usual design extracts and validates externally and hands approved records to World through batch input or a staging interface.

How do we set confidence thresholds?

Run extraction in shadow mode on a few hundred past documents, compare against what was actually keyed, and look at accuracy by field. Auto-approve only fields and suppliers with consistently high accuracy, and keep totals and bank details under human review.

Can we do three-way match automatically?

Yes for clean cases. The service compares invoice lines to PO lines and receipts in DB2 for i and applies your tolerance rules. Anything outside tolerance goes to a clerk. The voucher itself is still created by a World job with its normal edits.

Where should the images be stored?

Keep them on the IFS, a file server or a document management system with backups and retention rules, and store the reference with the voucher or receipt. Choose a location that matches your audit and retention requirements rather than leaving them in the scan folder.

Can this work offline in a secure facility?

Yes. OCR engines and open-weight models can be installed from an internal mirror and run on local hardware with no outbound network. The review application and staging data stay on your network, and the IBM i receives only validated records.

Want Document OCR working on your JD Edwards World (IBM i)?

A free 30 minute assessment: we map the integration path for your version and setup, and where it should run.

Get a free assessment