# How to add document OCR to JD Edwards World

> Source: https://netray.co/integrations/jde-world-document-ocr
> Publisher: Netray (netray.co), AI and integration engineering for ERP and manufacturing systems.
> Section: Integrations

## 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.

## System

JD Edwards World (IBM i)

## Capability

document-ocr

## Intro

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.

## Use Cases

### Supplier invoice to voucher

**Description:** 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

**Description:** 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

**Description:** 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

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

### Freight bills and carrier documents

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

## System 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

### Standardize capture

**Detail:** 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.

### Classify the document

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

### OCR and extract

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

### Validate against World data

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

### Route to review

**Detail:** 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.

### Stage and post

**Detail:** 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.

### Archive and link

**Detail:** 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.

**Steps:**

- OCR extracts supplier, invoice number, line items and total.
- The service finds the PO and checks received quantity per line.
- Lines inside tolerance are marked clean; one line shows a price variance.
- The AP clerk resolves the variance and approves.
- 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.

**Steps:**

- The cert is scanned; the extractor reads heat number, grade and specification.
- The service compares to the PO's specification requirement.
- 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.

## 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

- 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.

## Options

### Dedicated AP automation product

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

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

### In-house OCR pipeline with open-source tools

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

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

### Partner build with Netray

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

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

## 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.

## Faq

### Does JD Edwards World include OCR?

**Answer:** 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?

**Answer:** 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?

**Answer:** 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?

**Answer:** 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?

**Answer:** 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.

## Search terms

jd edwards world invoice ocr, ocr for jd edwards world, ibm i invoice automation, as400 accounts payable ocr, jd edwards world voucher automation, three way match jd edwards world, packing slip capture ibm i, certificate of conformance ocr erp, jde world document capture, ai invoice extraction on prem erp

---
Talk to an engineer: https://netray.co/contact?intent=erp_ai | Machine catalog: https://netray.co/agent/catalog.json
