# Purchase Order OCR to JSON

**Use case:** 

Convert a purchase order image into JSON with PO number, supplier, items and totals for procurement workflows.

## Input

```json
{
  "imageUrls": [
    "https://templates.invoicehome.com/invoice-template-us-modern-750px.png"
  ],
  "fields": [
    "poNumber",
    "supplier",
    "total"
  ]
}
```

## Output

```json
{
  "imageUrl": {
    "label": "Image",
    "format": "link"
  },
  "documentType": {
    "label": "Document type",
    "format": "text"
  },
  "extractedText": {
    "label": "Extracted text",
    "format": "text"
  },
  "fields": {
    "label": "Fields",
    "format": "object"
  },
  "observedAt": {
    "label": "Read at",
    "format": "text"
  },
  "error": {
    "label": "Error",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [Tool: Document OCR to Structured JSON](https://apify.com/scrapers_lat/document-ocr-json-tool) with a specific input configuration. Visit the [Actor detail page](https://apify.com/scrapers_lat/document-ocr-json-tool) to learn more, explore other use cases, and run it yourself.