---
title: "Extract invoice data from PDF in Python and validate totals"
canonical_url: "https://www.nutrient.io/blog/invoice-data-extraction-python/"
md_url: "https://www.nutrient.io/blog/invoice-data-extraction-python.md"
last_updated: "2026-11-18T18:22:58.077Z"
description: "Extract invoice data from PDF in Python with Nutrient, check line items and totals with Decimal, and keep source citations for human review before export."
---

**TL;DR**

- Extract invoice headers and line items with a JSON Schema.

- Use Python’s `Decimal` type to check line amounts and totals.

- Preserve the original response and inspect citations alongside the PDF.

- Keep results pending human review, even when every arithmetic check passes.

Invoice data extraction turns a PDF into fields an application can use. Before those fields reach an accounting system, check whether every line item is present and whether the amounts agree with the source invoice.

This tutorial uses [Nutrient Data Extraction API](https://www.nutrient.io/api/data-extraction-api/) to extract a fictional invoice in Python. The application checks quantities, prices, subtotal, tax, and total, and it saves the source citations for human review. Nutrient performs extraction; the Python code implements the validation rules.

## What the example checks

The [sample invoice](https://www.nutrient.io/downloads/invoice-data-extraction-python/invoice.pdf) contains three rows in USD. Prices exclude tax, and there are no discounts or additional charges.

| Description     | Quantity | Unit price | Amount |
| --------------- | -------- | ---------- | ------ |
| Archive folders | 4        | 12.50      | 50.00  |
| Storage boxes   | 2        | 30.00      | 60.00  |
| Packing labels  | 5        | 10.00      | 50.00  |

The subtotal is USD 160.00, tax is USD 16.00, and the total is USD 176.00. These are the expected values printed in the fictional fixture.

The validator checks three relationships: quantity multiplied by unit price equals the line amount, line amounts sum to the subtotal, and subtotal plus tax equals the total. It also flags missing fields, empty line items, invalid decimal text, and any currency other than USD.

Passing these checks establishes arithmetic consistency. A wrong quantity paired with a matching wrong line amount still passes. A reviewer must compare the extracted fields and row count with the PDF.

## Set up the Python example

The example requires Python 3.10 or later and a Data Extraction API key from the [Nutrient dashboard](https://dashboard.nutrient.io/sign_up/?product=data-extraction). The live extraction command uploads the sample PDF to Nutrient, which bills per page processed. For rates, refer to the [pricing](https://www.nutrient.io/guides/dws-data-extraction/pricing.md) guide. The local validation command doesn’t call the API.

Download and unzip the [complete example](https://www.nutrient.io/downloads/invoice-data-extraction-python/invoice-example.zip). It contains `extract_invoice.py`, `invoice.pdf`, `example-response.json`, and `sample-extraction.json`. `example-response.json` is a hand-authored test fixture with no citations; it isn’t an API response captured from a live request. `sample-extraction.json` holds output from the live test described below.

Open a terminal in the unzipped folder. Create a virtual environment and install `requests`:

```bash

python3 -m venv.venv
source.venv/bin/activate
python3 -m pip install requests

```

On Windows PowerShell, use `py -m venv.venv` and `.venv\Scripts\Activate.ps1` instead of the first two commands. After activation, use `python` for the remaining Python commands.

For macOS or Linux, set the key in the same terminal without placing it in shell history:

```bash

printf 'Data Extraction API key: '
stty -echo
read -r NUTRIENT_API_KEY
stty echo
printf '\n'
export NUTRIENT_API_KEY

```

For PowerShell, enter it through a secure prompt:

```powershell

$key = Read-Host "Data Extraction API key" -AsSecureString
$env:NUTRIENT_API_KEY = [System.Net.NetworkCredential]::new("", $key).Password

```

Keep the key out of source files, frontend code, and shared output. This example reads the environment variable directly; it doesn’t load a `.env` file.

## Define invoice fields without inventing missing values

The script’s `SCHEMA` describes the invoice header, totals, and nested `line_items` array. Field descriptions ask for printed values. Numeric values use strings such as `"12.50"`, so Python can construct decimals without a binary floating-point conversion.

```python

def field(kind, description):
    return {"type": kind, "description": description}

SCHEMA = {
    "type": "object",
    "properties": {
        "invoice_number": field("string", "Invoice identifier exactly as printed."),
        "supplier_name": field("string", "Name of the supplier issuing the invoice."),
        "currency": field("string", "Currency code explicitly printed on the invoice. Do not infer from a currency symbol alone."),
        "subtotal": field("string", "Printed subtotal before tax. Decimal digits with a dot, no grouping separators or currency symbols."),
        "tax": field("string", "Printed total tax amount, including a printed zero. Decimal digits with a dot, no grouping separators or currency symbols."),
        "total": field("string", "Printed invoice total including tax, not an outstanding balance. Decimal digits with a dot, no grouping separators or currency symbols."),
        "line_items": {
            "type": "array",
            "description": "Every printed line-item row in source order. Do not include subtotal, tax, or total rows.",
            "items": {
                "type": "object",
                "properties": {
                    "description": field("string", "Printed line-item description."),
                    "quantity": field("string", "Printed quantity as decimal digits with a dot when needed."),
                    "unit_price": field("string", "Printed unit price before tax, as decimal digits with a dot."),
                    "amount": field("string", "Printed line amount before tax, as decimal digits with a dot."),
                },
            },
        },
    },
}

```

The extraction schema intentionally leaves fields optional. If tax is absent, the application needs to flag that absence rather than assume zero. The API can omit optional fields, and the local validator separately requires the values used by this example.

The request uses `POST /extraction/extract`, with the PDF in the `file` multipart field and JSON instructions in the `instructions` field. It selects `understand` mode and explicitly enables citations. This excerpt from `extract_invoice.py` builds the instructions and sends the request:

```python

instructions = {
    "schema": SCHEMA,
    "instructions": "Copy only printed values. Omit missing fields; do not calculate, repair, or invent them. Keep every line-item row in source order. Normalize numeric text only as described in the schema.",
    "parseConfig": {"mode": "understand"},
    "options": {"includeCitations": True},
}
with pdf.open("rb") as source:
    response = requests.post(
        "https://api.nutrient.io/extraction/extract",
        headers={"Authorization": f"Bearer {api_key}"},
        files={"file": (pdf.name, source, "application/pdf")},
        data={"instructions": json.dumps(instructions)},
        timeout=(10, 330),
    )

```

For new workflows, Nutrient recommends explicitly selecting `auto` in `parseConfig.mode` for per-page routing. Without a mode, the API uses `understand`. This example retains `understand` because that’s the mode used in the recorded invoice test. Results and cost in `auto` mode haven’t been measured for this sample. The [parse configuration](https://www.nutrient.io/guides/dws-data-extraction/extract/parse-configuration.md) guide explains how to choose a mode.

The [invoice extraction](https://www.nutrient.io/guides/dws-data-extraction/examples/extract-invoice-data-with-schema.md) guide introduces the endpoint and schema structure, and the [schema](https://www.nutrient.io/guides/dws-data-extraction/extract/define-a-schema.md) guide lists supported keywords. Application rules such as amount ranges belong in the validator.

## Extract the invoice and save its evidence

Run the script from the folder containing the downloaded files:

```bash

python3 extract_invoice.py extract invoice.pdf invoice-run

```

The command creates a new `invoice-run` directory with two files:

| File            | Contents                                                                                                  |
| --------------- | --------------------------------------------------------------------------------------------------------- |
| `response.json` | The original API JSON response, including extracted data, citations, and page metadata.                   |
| `review.json`   | Extracted values, validation issues, citation flags, source file hash, and `pending_human_review` status. |

The script refuses to reuse an existing output directory. After an HTTP error, it exits without saving a response but leaves the empty directory; use a new directory name for the next attempt. If the response JSON has an unexpected `status` value, the script saves it as `response.json` for inspection. A timeout doesn’t prove that the service never processed the request.

Successful extraction doesn’t approve an invoice for payment. The script creates a review report and makes no accounting-system writes.

## Check line items and totals with Decimal

The validator reads each numeric string with `Decimal`. For this fixture, unit prices and money amounts have at most two decimal places. Each line uses `ROUND_HALF_UP` to round the quantity multiplied by the unit price to cents.

These checks from `validate_invoice` compare each line, the subtotal, and the total:

```python

if quantity is not None and price is not None and amount is not None:
    expected = (quantity * price).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
    if expected!= amount:
        issue(f"{prefix}.amount", f"Quantity times unit price is {expected}, extracted amount is {amount}.")

```

```python

if rows and len(amounts) == len(rows) and totals["subtotal"] is not None:
    expected = sum(amounts, Decimal("0"))
    if expected!= totals["subtotal"]:
        issue("subtotal", f"Line amounts sum to {expected}, extracted subtotal is {totals['subtotal']}.")
if all(value is not None for value in totals.values()):
    expected = totals["subtotal"] + totals["tax"]
    if expected!= totals["total"]:
        issue("total", f"Subtotal plus tax is {expected}, extracted total is {totals['total']}.")

```

The download contains the full validator and error handling. Run its local check against the hand-authored fixture first:

```bash

python3 extract_invoice.py check example-response.json baseline-review.json

```

The fixture produces zero validation issues. Its citation flags are expected because it deliberately contains no source metadata.

To test a total mismatch, make a separate copy with `total` changed from `"176.00"` to `"175.00"`:

```python

import json
from pathlib import Path

fixture = json.loads(Path("example-response.json").read_text(encoding="utf-8"))
fixture["output"]["data"]["total"] = "175.00"
with Path("wrong-total.json").open("x", encoding="utf-8") as target:
    json.dump(fixture, target, indent=2)

```

Save this code as `make_mismatch.py` in the same folder. Run it and check the modified fixture:

```bash

python3 make_mismatch.py
python3 extract_invoice.py check wrong-total.json mismatch-review.json

```

The report flags `total`: Subtotal plus tax is 176.00, but the supplied total is 175.00. This test verifies local validation behavior; it doesn’t measure extraction accuracy.

The same checks flag a missing row when the extracted subtotal still includes that row. They can’t detect every omitted row if several extracted values change together. Source comparison remains necessary.

## Review citations beside the invoice

Open `invoice.pdf` and `invoice-run/review.json` beside each other. Each scalar field has its own entry, including paths such as `line_items[0].unit_price`.

The script flags absent, partial, or approximate source matches, along with missing page locations. It accepts `id_match` and `id_match_multiblock` as recognized match labels without treating them as proof of correctness. It preserves the full citation object, including optional confidence information, without applying an arbitrary confidence cutoff.

Check the supplier, invoice number, currency, every row, and all totals against the PDF. Missing values appear in `validation_issues`; citation flags apply to values that were returned. A field omitted entirely still needs attention, even though there’s no citation entry to display for it.

When building source highlighting into an application, use the matching page dimensions when converting citation coordinates. Don’t assume every bounding box is expressed in PDF points. Refer to the [coordinate spaces](https://www.nutrient.io/guides/dws-data-extraction/parsing/coordinate-spaces.md) and [citations](https://www.nutrient.io/guides/dws-data-extraction/extract/citations-and-confidence.md) guides.

Corrections need a separate record that preserves the extracted value, corrected value, reviewer, time, and reason. Rerun validation after a correction. A citation describes the original extraction; it doesn’t automatically verify a replacement value. The downloadable script stops at the review report and doesn’t implement correction storage or approval.

## What we verified

On 13 October 2026, we ran the downloadable script against this one-page fictional invoice in `understand` mode. All 18 extracted scalar values matched the expected values, and the report contained zero validation issues and zero citation flags.

We also checked all 18 cited regions against the rendered PDF. Each contained the corresponding value. The invoice number, supplier, and currency shared a larger header region, so a citation isn’t necessarily a tight box around one value.

Download the [sample extraction output](https://www.nutrient.io/downloads/invoice-data-extraction-python/sample-extraction.json) to inspect `output.data`, `output.metadata`, and `output.pages`. This file retains those parts of the live response and omits request identifiers, usage, and account-related metadata.

Separately, 18 local tests covered mismatched totals, a missing row, missing tax, malformed numbers, unsupported currency, rounding, nested citations, response errors, and overwrite protection.

Neither test establishes accuracy for other layouts, scans, discounts, or currencies.

## Adapt validation to other invoices

This example supports one deliberately limited invoice model. Before using it with other invoices, define the rules for those documents.

| Invoice difference                           | Rule to add or change                                                     |
| -------------------------------------------- | ------------------------------------------------------------------------- |
| Discounts, shipping, or other charges        | Extract each adjustment explicitly and include it in reconciliation.      |
| Tax-inclusive prices                         | Replace the tax-exclusive formula with the document’s calculation method. |
| More precise unit prices or another currency | Define permitted precision and rounding rules before changing the checks. |
| Credit notes or negative quantities          | Handle signed values and document type explicitly.                        |
| Multiple tax rates                           | Extract and reconcile the separate tax bases and tax amounts.             |
| Purchase orders or supplier records          | Add reference-data matching before approval.                              |

The code doesn’t establish tax correctness, supplier legitimacy, duplicate-invoice status, or authorization to pay. Those require additional data and application rules. Test representative documents with known expected values before changing review policy.

## Build the next step with Nutrient

Use [Nutrient Data Extraction API](https://www.nutrient.io/api/data-extraction-api/) to turn invoice PDFs into fields with source evidence. Get an API key from the [Data Extraction dashboard](https://dashboard.nutrient.io/sign_up/?product=data-extraction), and run the downloadable example with the fictional invoice. Compare the output with the document before processing real invoices.

For a review screen inside an application, explore [Nutrient’s document interfaces](https://www.nutrient.io/interfaces/). The application still owns validation rules, reviewer permissions, corrections, approval, and export. The [extraction-to-action workflow article](https://www.nutrient.io/blog/ai-document-automation-extraction-to-action.md) explains how those responsibilities fit together.

## FAQ

#### How do I extract invoice data in Python?

Send the invoice PDF to the Nutrient Data Extraction API with a JSON Schema that describes the header fields, totals, and line items. In Python, post the file and the instructions to `/extraction/extract` with `requests`. Then read the extracted values from `output.data` and the citations from `output.metadata`.

#### Why use Decimal instead of float for invoice totals?

A `float` stores most decimal amounts as binary approximations, so sums such as line totals can drift by fractions of a cent. Python’s `Decimal`, built from strings such as `"12.50"`, keeps exact cent values and supports explicit rounding such as `ROUND_HALF_UP`.

#### How do I validate invoice line items and totals?

Check that quantity multiplied by unit price equals each line amount, that the line amounts sum to the subtotal, and that subtotal plus tax equals the total. Flag missing fields instead of assuming zero, and keep the result pending human review: Matching arithmetic doesn’t prove the values match the source document.
---

## Related pages

- [The business case for accessibility: Five ways it drives enterprise value](/blog/5-ways-accessibility-drives-enterprise-value.md)
- [Accessibility Untangled Why It Matters Guide](/blog/accessibility-untangled-why-it-matters-guide.md)
- [Adobe Pdf Embed Api Alternatives](/blog/adobe-pdf-embed-api-alternatives.md)
- [Adobe Pdf Services Api Alternatives](/blog/adobe-pdf-services-api-alternatives.md)
- [Advanced Techniques For React Native Ui Components](/blog/advanced-techniques-for-react-native-ui-components.md)
- [`vector_store` holds your indexed documents (see the multimodal RAG post](/blog/agentic-rag.md)
- [Ai Assistant Agent Governance](/blog/ai-assistant-agent-governance.md)
- [How to build an AI agent for contract redlining against a compliance playbook](/blog/ai-contract-redlining-compliance-playbook.md)
- [Ai Document Automation Extraction To Action](/blog/ai-document-automation-extraction-to-action.md)
- [Ai Document Workflows Ocr Compliance Heavy Teams](/blog/ai-document-workflows-ocr-compliance-heavy-teams.md)
- [Ai Legal Assistant Document Authoring](/blog/ai-legal-assistant-document-authoring.md)
- [Ai Schema Generator Document Extraction](/blog/ai-schema-generator-document-extraction.md)
- [Amazon Textract Alternatives](/blog/amazon-textract-alternatives.md)
- [Start (clears any prior buffer), navigate the document, then stop into a file.](/blog/android-faster-pdf-rendering.md)
- [Android Pdf Out Of Memory Handling](/blog/android-pdf-out-of-memory-handling.md)
- [Angular File Viewer Pdf Image Office Files](/blog/angular-file-viewer-pdf-image-office-files.md)
- [Approval Workflow Software](/blog/approval-workflow-software.md)
- [Approvals Matrix](/blog/approvals-matrix.md)
- [Apryse To Nutrient Migration](/blog/apryse-to-nutrient-migration.md)
- [Auto Tagging And Document Accessibility In Dotnet Sdk](/blog/auto-tagging-and-document-accessibility-in-dotnet-sdk.md)
- [Simple PII redaction.](/blog/automated-pii-removal.md)
- [Automation Platform](/blog/automation-platform.md)
- [Azure Document Intelligence Alternatives](/blog/azure-document-intelligence-alternatives.md)
- [schema.py.](/blog/bank-statement-to-excel.md)
- [Barcode Ocr](/blog/barcode-ocr.md)
- [Best Ai Document Workflow Platforms](/blog/best-ai-document-workflow-platforms.md)
- [Best Csharp Pdf Library](/blog/best-csharp-pdf-library.md)
- [Best Document Ai Platforms](/blog/best-document-ai-platforms.md)
- [Best Document Classification Platforms](/blog/best-document-classification-platforms.md)
- [Best document parser for RAG: LlamaParse vs. Unstructured vs. Reducto vs. Nutrient](/blog/best-document-parser-llamaparse-unstructured-reducto.md)
- [Best Document Parsing Apis](/blog/best-document-parsing-apis.md)
- [Best Document Viewers](/blog/best-document-viewers.md)
- [Best Healthcare Workflow Software Compared](/blog/best-healthcare-workflow-software-compared.md)
- [Best Invoice Data Extraction Apis](/blog/best-invoice-data-extraction-apis.md)
- [Best Llm Document Understanding Platforms](/blog/best-llm-document-understanding-platforms.md)
- [Best Multilingual Ocr Software](/blog/best-multilingual-ocr-software.md)
- [Best Pdf Accessibility Apis](/blog/best-pdf-accessibility-apis.md)
- [Best Pdf Parsers For Rag](/blog/best-pdf-parsers-for-rag.md)
- [Best Pdf Processing Apis](/blog/best-pdf-processing-apis.md)
- [Best Pdf Viewer Apis](/blog/best-pdf-viewer-apis.md)
- [Best Salesforce Document Generation Apps](/blog/best-salesforce-document-generation-apps.md)
- [Best Secure Document Collaboration Platforms](/blog/best-secure-document-collaboration-platforms.md)
- [or](/blog/best-vue-pdf-viewers.md)
- [Bpm Guide](/blog/bpm-guide.md)
- [Bpm Tools](/blog/bpm-tools.md)
- [Build Vs Buy Document Extraction](/blog/build-vs-buy-document-extraction.md)
- [Business Automation](/blog/business-automation.md)
- [Business Process Reengineering Bpr Definition](/blog/business-process-reengineering-bpr-definition.md)
- [Capex Vs Opex](/blog/capex-vs-opex.md)
- [Capital Expenditure Request Form](/blog/capital-expenditure-request-form.md)
- [The CEO’s AI playbook: Why decision architecture beats model selection](/blog/ceo-ai-playbook-decision-architecture.md)
- [1. Extract and chunk the PDF.](/blog/chat-with-pdf.md)
- [Complete Guide To Pdfjs](/blog/complete-guide-to-pdfjs.md)
- [Construction Document Data Extraction](/blog/construction-document-data-extraction.md)
- [Convert One Drive Files To Pdf In Sharepoint](/blog/convert-one-drive-files-to-pdf-in-sharepoint.md)
- [Create And Edit Pdfs In Flutter](/blog/create-and-edit-pdfs-in-flutter.md)
- [Create Pdfs With React](/blog/create-pdfs-with-react.md)
- [Creating A Document Scanner With Ocr In Python](/blog/creating-a-document-scanner-with-ocr-in-python.md)
- [Creating And Filling Pdf Forms Programmatically In Javascript](/blog/creating-and-filling-pdf-forms-programmatically-in-javascript.md)
- [The CTO’s AI playbook: Why accountability architecture beats orchestration](/blog/cto-ai-playbook-accountability-architecture.md)
- [Nutrient document decision: Why we built a decision model for documents](/blog/decision-model-for-documents.md)
- [Digital Signatures](/blog/digital-signatures.md)
- [Digital Workflow Automation](/blog/digital-workflow-automation.md)
- [Docling Alternatives](/blog/docling-alternatives.md)
- [Document Ai Vs Ocr](/blog/document-ai-vs-ocr.md)
- [Document Authoring Audit Trail](/blog/document-authoring-audit-trail.md)
- [Document Authoring Spreadsheet Editor](/blog/document-authoring-spreadsheet-editor.md)
- [Document Extraction Confidence Scores](/blog/document-extraction-confidence-scores.md)
- [Document Extraction For Underwriting](/blog/document-extraction-for-underwriting.md)
- [Document Viewer](/blog/document-viewer.md)
- [Document Watermarking](/blog/document-watermarking.md)
- [Debian/Ubuntu.](/blog/easyocr-vs-tesseract-python.md)
- [Electronic signature API: How to sign PDFs programmatically](/blog/electronic-signature-api.md)
- [Emerging threats: Your logging system may be an agentic threat vector](/blog/emerging-threats-your-logging-system.md)
- [Q3 sales](/blog/excel-to-markdown-for-llms.md)
- [Extend Alternatives](/blog/extend-alternatives.md)
- [Extract Patient Data On Premises](/blog/extract-patient-data-on-premises.md)
- [Extract Tables From Complex Pdfs](/blog/extract-tables-from-complex-pdfs.md)
- [Create and activate a virtual environment (recommended).](/blog/extract-text-from-pdf-pymupdf.md)
- [app.py](/blog/extract-text-from-pdf-using-python.md)
- [Stricter thresholds for fields that move money. Calibrate on your own sample.](/blog/extraction-hallucination-detection.md)
- [Fillable Pdf](/blog/fillable-pdf.md)
- [Google Document Ai Alternatives](/blog/google-document-ai-alternatives.md)
- [Handwriting Recognition Ocr Vlm](/blog/handwriting-recognition-ocr-vlm.md)
- [How To Add Digital Signature To Pdf Using React](/blog/how-to-add-digital-signature-to-pdf-using-react.md)
- [How To Build A Dotnet Maui Pdf Viewer](/blog/how-to-build-a-dotnet-maui-pdf-viewer.md)
- [How To Build A Flutter Pdf Viewer](/blog/how-to-build-a-flutter-pdf-viewer.md)
- [or](/blog/how-to-build-a-javascript-pdf-viewer-with-pdfjs.md)
- [or](/blog/how-to-build-a-javascript-pdf-viewer.md)
- [How To Build A Nextjs Pdf Viewer](/blog/how-to-build-a-nextjs-pdf-viewer.md)
- [How To Build A Powerpoint Viewer Using Javascript](/blog/how-to-build-a-powerpoint-viewer-using-javascript.md)
- [Using Yarn](/blog/how-to-build-a-react-excel-viewer.md)
- [How To Build A React Native Pdf Viewer](/blog/how-to-build-a-react-native-pdf-viewer.md)
- [How To Build A React Powerpoint Viewer](/blog/how-to-build-a-react-powerpoint-viewer.md)
- [Using Yarn](/blog/how-to-build-a-react-word-viewer.md)
- [How To Build A Reactjs File Viewer](/blog/how-to-build-a-reactjs-file-viewer.md)
- [How To Build A Reactjs Pdf Viewer With React Pdf](/blog/how-to-build-a-reactjs-pdf-viewer-with-react-pdf.md)
- [or](/blog/how-to-build-a-reactjs-pdf-viewer.md)
- [How To Build A Reactjs Viewer With Pdfjs](/blog/how-to-build-a-reactjs-viewer-with-pdfjs.md)
- [How To Build A Vuejs Pdf Viewer With Pdfjs](/blog/how-to-build-a-vuejs-pdf-viewer-with-pdfjs.md)
- [How To Build A Vuejs Pdf Viewer](/blog/how-to-build-a-vuejs-pdf-viewer.md)
- [How To Build An Android Pdf Viewer](/blog/how-to-build-an-android-pdf-viewer.md)
- [How To Build An Angular Pdf Viewer With Ng2 Pdf Viewer](/blog/how-to-build-an-angular-pdf-viewer-with-ng2-pdf-viewer.md)
- [How To Build An Angular Pdf Viewer With Pdfjs](/blog/how-to-build-an-angular-pdf-viewer-with-pdfjs.md)
- [How To Convert Docx To Pdf Using Javascript](/blog/how-to-convert-docx-to-pdf-using-javascript.md)
- [How To Convert Docx To Pdf Using Python](/blog/how-to-convert-docx-to-pdf-using-python.md)
- [How To Convert Html To Pdf Using Html2pdf](/blog/how-to-convert-html-to-pdf-using-html2pdf.md)
- [How To Convert Html To Pdf Using React](/blog/how-to-convert-html-to-pdf-using-react.md)
- [How To Convert Html To Pdf Using Wkhtmltopdf And Csharp](/blog/how-to-convert-html-to-pdf-using-wkhtmltopdf-and-csharp.md)
- [or](/blog/how-to-convert-html-to-pdf-using-wkhtmltopdf-and-python.md)
- [How To Convert Html To Pptx](/blog/how-to-convert-html-to-pptx.md)
- [How To Convert Pdf To Json](/blog/how-to-convert-pdf-to-json.md)
- [Quarterly report](/blog/how-to-convert-pdf-to-markdown-using-python.md)
- [How To Convert Word To Pdf In Nodejs](/blog/how-to-convert-word-to-pdf-in-nodejs.md)
- [How To Convert Word To Pdf Using Javascript](/blog/how-to-convert-word-to-pdf-using-javascript.md)
- [or](/blog/how-to-create-a-react-js-signature-pad.md)
- [How To Create Pdfs With React To Pdf](/blog/how-to-create-pdfs-with-react-to-pdf.md)
- [How to digitally sign PDFs in C# with Nutrient .NET SDK](/blog/how-to-digitally-sign-pdf-in-csharp.md)
- [How To Edit Pdfs Using Ios Pdf Library](/blog/how-to-edit-pdfs-using-ios-pdf-library.md)
- [How To Embed A Pdf Viewer In Your Website](/blog/how-to-embed-a-pdf-viewer-in-your-website.md)
- [How To Extract Tables From Pdf And Images](/blog/how-to-extract-tables-from-pdf-and-images.md)
- [How To Generate A Pdf With Vuejs](/blog/how-to-generate-a-pdf-with-vuejs.md)
- [How To Generate Pdf From Html With Nodejs](/blog/how-to-generate-pdf-from-html-with-nodejs.md)
- [How to generate PDFs in C# with Nutrient .NET SDK](/blog/how-to-generate-pdf-in-csharp.md)
- [base_url tells WeasyPrint where to resolve relative asset paths](/blog/how-to-generate-pdf-reports-from-html-in-python.md)
- [How To Merge Pdfs Using Javascript](/blog/how-to-merge-pdfs-using-javascript.md)
- [How To Ocr Pdf Api](/blog/how-to-ocr-pdf-api.md)
- [How To Ocr Pdfs In Linux](/blog/how-to-ocr-pdfs-in-linux.md)
- [How To Print Pdf In Csharp](/blog/how-to-print-pdf-in-csharp.md)
- [How To Programmatically Create And Fill Pdf Form In Angular](/blog/how-to-programmatically-create-and-fill-pdf-form-in-angular.md)
- [C# barcode scanner: How to scan and read 1D barcodes and QR codes](/blog/how-to-scan-barcodes-in-csharp.md)
- [Open an image.](/blog/how-to-use-tesseract-ocr-in-python.md)
- [From an HTML string.](/blog/html-in-pdf-format.md)
- [Html To Pdf In Javascript](/blog/html-to-pdf-in-javascript.md)
- [Ide Text Editors Cpp Large Scale](/blog/ide-text-editors-cpp-large-scale.md)
- [Numeric and identifier fields: exact single-block matches only.](/blog/insurance-document-extraction.md)
- [Intelligent Data Extraction](/blog/intelligent-data-extraction.md)
- [Introducing Nutrient Data Extraction API: Turn complex documents into structured, reliable data for AI](/blog/introducing-nutrient-data-extraction-api.md)
- [Invoice Approval Software](/blog/invoice-approval-software.md)
- [Javascript Document Editor](/blog/javascript-document-editor.md)
- [Javascript Pdf Editors](/blog/javascript-pdf-editors.md)
- [Javascript Pdf Libraries](/blog/javascript-pdf-libraries.md)
- [Keep Document Ai Private](/blog/keep-document-ai-private.md)
- [Fields required on every document type. Type-specific requirements](/blog/kyc-document-extraction.md)
- [Kyc Onboarding Salesforce](/blog/kyc-onboarding-salesforce.md)
- [Landing Ai Alternatives](/blog/landing-ai-alternatives.md)
- [Langextract Vs Llamaindex Extraction Comparison](/blog/langextract-vs-llamaindex-extraction-comparison.md)
- [Linearized Pdf](/blog/linearized-pdf.md)
- [Uses OpenAI by default — set OPENAI_API_KEY.](/blog/llamaindex-vs-langchain-rag.md)
- [Llamaindex Vs Langchain Vs Haystack](/blog/llamaindex-vs-langchain-vs-haystack.md)
- [Llamaindex Workflows Vs Langgraph](/blog/llamaindex-workflows-vs-langgraph.md)
- [Llamaparse Alternatives](/blog/llamaparse-alternatives.md)
- [Llm Vs Document Parsing Api](/blog/llm-vs-document-parsing-api.md)
- [Low Code No Code Document Integrations](/blog/low-code-no-code-document-integrations.md)
- [One segment per document found, in page order:](/blog/mailroom-automation-api.md)
- [Material Requisition](/blog/material-requisition.md)
- [ICD-10-CM: letter, digit, then digit OR letter (C4A, D3A, M1A are all valid),](/blog/medical-record-extraction.md)
- [or](/blog/merge-pdfs.md)
- [Migrating Observability Hyperdx To Dash0](/blog/migrating-observability-hyperdx-to-dash0.md)
- [Swift Package Manager](/blog/mobile-pdf-sdk.md)
- [Numeric and identifier fields: exact single-block matches only.](/blog/mortgage-document-processing.md)
- [`elements` come from your document parser — each has a type and content.](/blog/multimodal-rag.md)
- [Multipage Extraction Page Boundaries](/blog/multipage-extraction-page-boundaries.md)
- [Nutrient Flutter 6 Bindings Api](/blog/nutrient-flutter-6-bindings-api.md)
- [Nutrient Flutter Bindings Architecture](/blog/nutrient-flutter-bindings-architecture.md)
- [Nutrient Vs Conga Composer](/blog/nutrient-vs-conga-composer.md)
- [Ocr Api Comparison](/blog/ocr-api-comparison.md)
- [Online Document Viewer](/blog/online-document-viewer.md)
- [Open Pdf In Your Web App](/blog/open-pdf-in-your-web-app.md)
- [Operations Management Software](/blog/operations-management-software.md)
- [Optical Character Recognition In Scanned Pdfs](/blog/optical-character-recognition-in-scanned-pdfs.md)
- [CPU](/blog/paddleocr-python-guide.md)
- [Pdf Accessibility Checker](/blog/pdf-accessibility-checker.md)
- [PDF accessibility for developers: Meeting WCAG 2.2, Section 508, and PDF/UA with an SDK](/blog/pdf-accessibility.md)
- [Extract data from PDF files: A developer guide to structured data from PDFs and scans](/blog/pdf-data-extraction-developer-guide.md)
- [Pdf Extraction Benchmark Opendataloader Bench](/blog/pdf-extraction-benchmark-opendataloader-bench.md)
- [Pdf Extraction Document Case Studies](/blog/pdf-extraction-document-case-studies.md)
- [Pdf Page Labels](/blog/pdf-page-labels.md)
- [Pdf Remediation](/blog/pdf-remediation.md)
- [Pdf Sdk Compliance Security Checklist](/blog/pdf-sdk-compliance-security-checklist.md)
- [Pdf Sdk Performance Benchmark](/blog/pdf-sdk-performance-benchmark.md)
- [Pdf Text Extraction](/blog/pdf-text-extraction.md)
- [Pdf Ua Compliance Guide](/blog/pdf-ua-compliance-guide.md)
- [Pdf Ua Validation](/blog/pdf-ua-validation.md)
- [Pdfjs Accessibility Structtree Printing](/blog/pdfjs-accessibility-structtree-printing.md)
- [Pdfjs Advanced Loading Streaming Workers](/blog/pdfjs-advanced-loading-streaming-workers.md)
- [Pdfjs Annotation Editor Layer](/blog/pdfjs-annotation-editor-layer.md)
- [Pdfjs Area Annotations Canvas Capture](/blog/pdfjs-area-annotations-canvas-capture.md)
- [Pdfjs Coordinate Systems Pdf To Screen](/blog/pdfjs-coordinate-systems-pdf-to-screen.md)
- [Pdfjs Document Outline Bookmarks Metadata](/blog/pdfjs-document-outline-bookmarks-metadata.md)
- [Pdfjs Eventbus Guide](/blog/pdfjs-eventbus-guide.md)
- [macOS](/blog/pdfjs-file-format-conversion-to-pdf.md)
- [macOS](/blog/pdfjs-generating-pdf-thumbnails-pdf2pic.md)
- [Pdfjs Limitations Commercial Upgrade](/blog/pdfjs-limitations-commercial-upgrade.md)
- [Pdfjs Native Annotation Layer Forms](/blog/pdfjs-native-annotation-layer-forms.md)
- [Pdfjs Navigation Zoom Rotation](/blog/pdfjs-navigation-zoom-rotation.md)
- [Pdfjs Pdf Page Manipulation Pdf Lib](/blog/pdfjs-pdf-page-manipulation-pdf-lib.md)
- [Pdfjs React Viewer Setup](/blog/pdfjs-react-viewer-setup.md)
- [Pdfjs Rendering Overlays React Portals](/blog/pdfjs-rendering-overlays-react-portals.md)
- [Pdfjs Server Side Text Extraction](/blog/pdfjs-server-side-text-extraction.md)
- [Pdfjs Sticky Note Annotations](/blog/pdfjs-sticky-note-annotations.md)
- [Pdfjs Text Highlight Annotations](/blog/pdfjs-text-highlight-annotations.md)
- [Pdfjs Text Search Pdffindcontroller](/blog/pdfjs-text-search-pdffindcontroller.md)
- [Pdfjs Thumbnail Sidebar](/blog/pdfjs-thumbnail-sidebar.md)
- [Pdfplumber Python Guide](/blog/pdfplumber-python-guide.md)
- [People Process Tools](/blog/people-process-tools.md)
- [Process Flows](/blog/process-flows.md)
- [React Docx Editor](/blog/react-docx-editor.md)
- [React Native Pdf Annotation](/blog/react-native-pdf-annotation.md)
- [React Pdf Annotation Layer Forms](/blog/react-pdf-annotation-layer-forms.md)
- [React Pdf Custom Rendering Hooks](/blog/react-pdf-custom-rendering-hooks.md)
- [Using Yarn.](/blog/react-pdf-editor.md)
- [React Pdf Loading States Errors Passwords](/blog/react-pdf-loading-states-errors-passwords.md)
- [React Pdf Non Latin Fonts Special Pdfs](/blog/react-pdf-non-latin-fonts-special-pdfs.md)
- [React Pdf Outline Table Of Contents](/blog/react-pdf-outline-table-of-contents.md)
- [React Pdf Performance Optimization](/blog/react-pdf-performance-optimization.md)
- [React Pdf Setup Basic Rendering](/blog/react-pdf-setup-basic-rendering.md)
- [React Pdf Text Layer Custom Renderer](/blog/react-pdf-text-layer-custom-renderer.md)
- [React Pdf Thumbnails Page Navigation](/blog/react-pdf-thumbnails-page-navigation.md)
- [Reducto Alternatives](/blog/reducto-alternatives.md)
- [Requisition System](/blog/requisition-system.md)
- [labels.py](/blog/route-documents-automatically-classify-api.md)
- [or](/blog/sample-blog-updated.md)
- [Sdk Product Updates Q2 2026](/blog/sdk-product-updates-q2-2026.md)
- [System Of Record Vs Source Of Truth](/blog/system-of-record-vs-source-of-truth.md)
- [Add DWS MCP Server to your Claude Code project.](/blog/teaching-llms-to-read-pdfs.md)
- [Open an image file.](/blog/tesseract-python-guide.md)
- [The Six Best Pdf Generator Apis](/blog/the-six-best-pdf-generator-apis.md)
- [Define the HTML part of the document.](/blog/top-10-ways-to-generate-pdfs-in-python.md)
- [Top 5 Javascript Pdf Viewers](/blog/top-5-javascript-pdf-viewers.md)
- [Top Js Pdf Libraries](/blog/top-js-pdf-libraries.md)
- [Top Ten Ways To Convert Html To Pdf](/blog/top-ten-ways-to-convert-html-to-pdf.md)
- [Unstructured Alternatives](/blog/unstructured-alternatives.md)
- [Using Javascript In Pdf Form Fields](/blog/using-javascript-in-pdf-form-fields.md)
- [Vector Pdf](/blog/vector-pdf.md)
- [Wcag2 Accessibility Requirements Documents](/blog/wcag2-accessibility-requirements-documents.md)
- [Web Pdf Sdk Legal Review](/blog/web-pdf-sdk-legal-review.md)
- [Web Sdk Is Now Headless](/blog/web-sdk-is-now-headless.md)
- [What Are Annotations](/blog/what-are-annotations.md)
- [What Is A Tagged Pdf](/blog/what-is-a-tagged-pdf.md)
- [What Is A Vpat](/blog/what-is-a-vpat.md)
- [What Is Bpms](/blog/what-is-bpms.md)
- [What Is Business Logic](/blog/what-is-business-logic.md)
- [What Is Document Processing](/blog/what-is-document-processing.md)
- [What Is Intelligent Document Processing](/blog/what-is-intelligent-document-processing.md)
- [What Is Ocr Invoice Processing](/blog/what-is-ocr-invoice-processing.md)
- [What Is Pdf Ua](/blog/what-is-pdf-ua.md)
- [Introducing WholeDoc Bench: A benchmark for parsing whole documents](/blog/wholedoc-bench-parsing-benchmark.md)
- [Why Pdfium Is A Trusted Platform For Pdf Rendering](/blog/why-pdfium-is-a-trusted-platform-for-pdf-rendering.md)
- [Why Your Ai Agent Hallucinates Pdf Table Data](/blog/why-your-ai-agent-hallucinates-pdf-table-data.md)
- [Workflow Analysis](/blog/workflow-analysis.md)

