NuExtract3 has crossed 1M+ downloads this month!
    Skip to content
    Resources/PDF to JSON

    Turn your PDFs into
    structured JSON.

    Define the fields you need with a JSON template. Extract document information into named fields, nested objects and lists.

    JSON templatesDocument imagesMultilingual extraction
    InvoiceSupplied example
    Invoice source document

    Explore the complete source and result below.

    YOUR DOCUMENT OUTPUT

    Define the information you need

    The JSON template describes both the information to extract and the shape of the result. NuExtract supports types such as strings, numbers, dates and booleans. Nested objects group related fields, and lists represent repeated information.

    The supplied invoice, bank statement and payslip examples show complete templates alongside their JSON results. Select the Template tab to inspect the field definitions, then return to the result to explore the extracted record.

    Learn more: Template types in the user guide.

    Explore the supplied examples

    Source documents, templates and results from the supplied NuExtract examples.

    InvoiceTemplate → JSON

    Explore the invoice source document and its supplied JSON extraction result.

    Template fields invoice number · issuer name · recipient name · currency code iso4217 · items · total discount amount · total fee amount · total tax amount · total price net · total price gross

    SOURCE DOCUMENT
    Source document for the Invoice example
    Open the source document at full size.
    {
        "invoice_number": null,
        "issuer_name": "Bigfoot Press",
        "recipient_name": "Diamond Comic Dist.",
        "currency_code_iso4217": "USD",
        "items": [
            {
                "item_name": "Pd# 51374",
                "item_quantity": 124,
                "item_price_per_unit": 2.99,
                "item_total_price": 364
            },
            {
                "item_name": "Pd# 51319",
                "item_quantity": 5,
                "item_price_per_unit": 4.9,
                "item_total_price": 24.5
            },
            {
                "item_name": "Pd# 51351",
                "item_quantity": 67,
                "item_price_per_unit": 4.9,
                "item_total_price": 328
            },
            {
                "item_name": "Pd# 51376",
                "item_quantity": 9,
                "item_price_per_unit": 4.9,
                "item_total_price": 44.1
            },
            {
                "item_name": "Pd# 51378",
                "item_quantity": 107,
                "item_price_per_unit": 4.9,
                "item_total_price": 524.3
            },
            {
                "item_name": "Pd# 52026",
                "item_quantity": 120,
                "item_price_per_unit": 3.9,
                "item_total_price": 470.4
            }
        ],
        "total_discount_amount": 0,
        "total_fee_amount": 0,
        "total_tax_amount": null,
        "total_price_net": 2117.9,
        "total_price_gross": null
    }
    Bank StatementTemplate → JSON

    Explore the bank statement source document and its supplied JSON extraction result.

    Template fields document metadata · customer information · transactions · total transactions count · total withdrawals amount · total deposits amount · net transaction amount

    SOURCE DOCUMENT
    Source document for the Bank Statement example
    Open the source document at full size.
    {
        "document_metadata": {
            "document_type": "Bank Statement",
            "document_title": "TCF AFFINITY CHECKING",
            "statement_date": "2017-08-24",
            "statement_period": {
                "start_date": "2017-07-27",
                "end_date": "2017-08-24"
            },
            "bank_address": "TCF NATIONAL BANK 1405 XENIUM LN N PLYMOUTH MN 55441"
        },
        "customer_information": {
            "customer_name": "CELINE ASARE BEDIAKO",
            "customer_address": "9171 YATES BAY CT BROOKLYN PARK MN 55443-1629"
        },
        "transactions": [
            {
                "transaction_date": "2017-07-31",
                "amount": 22,
                "description": "PAYPAL *MERCARI ME 402-935-7733 CA US",
                "transaction_type": "withdrawal",
                "merchant_name": "PAYPAL *MERCARI ME",
                "merchant_location": {
                    "city": null,
                    "state_province_code": "CA",
                    "country_code": "US"
                },
                "transaction_category": "online_purchase"
            },
            {
                "transaction_date": "2017-07-31",
                "amount": 30,
                "description": "POS T-MOBILE #2313 07106953 BROOKLYN PARMN",
                "transaction_type": "withdrawal",
                "merchant_name": "T-MOBILE",
                "merchant_location": {
                    "city": "BROOKLYN PARK",
                    "state_province_code": "MN",
                    "country_code": "US"
                },
                "transaction_category": "pos_purchase"
            },
            {
                "transaction_date": "2017-08-01",
                "amount": 3.89,
                "description": "AUTOMATED WITHDRAWAL PAYPAL ECHECK",
                "transaction_type": "withdrawal",
                "merchant_name": "PAYPAL",
                "merchant_location": {
                    "city": null,
                    "state_province_code": null,
                    "country_code": null
                },
                "transaction_category": "automated_withdrawal"
            },
            {
                "transaction_date": "2017-08-01",
                "amount": 11.67,
                "description": "POS CUB FOODS #30224 07313201 BROOKLYN PARMN",
                "transaction_type": "withdrawal",
                "merchant_name": "CUB FOODS",
                "merchant_location": {
                    "city": "BROOKLYN PARK",
                    "state_province_code": "MN",
                    "country_code": "US"
                },
                "transaction_category": "pos_purchase"
            },
            {
                "transaction_date": "2017-08-02",
                "amount": 20,
                "description": "POS PACSUN #0145 01450002",
                "transaction_type": "withdrawal",
                "merchant_name": "PACSUN",
                "merchant_location": {
                    "city": null,
                    "state_province_code": null,
                    "country_code": null
                },
                "transaction_category": "pos_purchase"
            },
            {
                "transaction_date": "2017-08-03",
                "amount": 23.47,
                "description": "AMAZON MKTPLACE PM AMZN.COM/BIL WA US",
                "transaction_type": "withdrawal",
                "merchant_name": "AMAZON MKTPLACE PM",
                "merchant_location": {
                    "city": null,
                    "state_province_code": "WA",
                    "country_code": "US"
                },
                "transaction_category": "online_purchase"
            },
            {
                "transaction_date": "2017-08-04",
                "amount": 9.5,
                "description": "POS 0473 FOREVER 21 06340326 MAPLE GROVE MN",
                "transaction_type": "withdrawal",
                "merchant_name": "FOREVER 21",
                "merchant_location": {
                    "city": "MAPLE GROVE",
                    "state_province_code": "MN",
                    "country_code": "US"
                },
                "transaction_category": "pos_purchase"
            },
            {
                "transaction_date": "2017-08-04",
                "amount": 49.95,
                "description": "POS AMERICAN EAGLE 08219036",
                "transaction_type": "withdrawal",
                "merchant_name": "AMERICAN EAGLE",
                "merchant_location": {
                    "city": null,
                    "state_province_code": null,
                    "country_code": null
                },
                "transaction_category": "pos_purchase"
            },
            {
                "transaction_date": "2017-08-04",
                "amount": 19.98,
                "description": "POS FRANCESCA'S# 32 12121 0001 MAPLE GROVE MN",
                "transaction_type": "withdrawal",
                "merchant_name": "FRANCESCA'S",
                "merchant_location": {
                    "city": "MAPLE GROVE",
                    "state_province_code": "MN",
                    "country_code": "US"
                },
                "transaction_category": "pos_purchase"
            },
            {
                "transaction_date": "2017-08-07",
                "amount": 31,
                "description": "PAYPAL *MERCARI ME 402-935-7733 CA US",
                "transaction_type": "withdrawal",
                "merchant_name": "PAYPAL *MERCARI ME",
                "merchant_location": {
                    "city": null,
                    "state_province_code": "CA",
                    "country_code": "US"
                },
                "transaction_category": "online_purchase"
            },
            {
                "transaction_date": "2017-08-07",
                "amount": 9,
                "description": "FINISH LINE 1058 EDINA MN US",
                "transaction_type": "withdrawal",
                "merchant_name": "FINISH LINE",
                "merchant_location": {
                    "city": "EDINA",
                    "state_province_code": "MN",
                    "country_code": "US"
                },
                "transaction_category": "pos_purchase"
            },
            {
                "transaction_date": "2017-08-07",
                "amount": 20.95,
                "description": "AMAZON MKTPLACE PM AMZN.COM/BIL WA US",
                "transaction_type": "withdrawal",
                "merchant_name": "AMAZON MKTPLACE PM",
                "merchant_location": {
                    "city": null,
                    "state_province_code": "WA",
                    "country_code": "US"
                },
                "transaction_category": "online_purchase"
            },
            {
                "transaction_date": "2017-08-07",
                "amount": 31.52,
                "description": "CHEESECAKE EDINA EDINA MN US",
                "transaction_type": "withdrawal",
                "merchant_name": "CHEESECAKE EDINA",
                "merchant_location": {
                    "city": "EDINA",
                    "state_province_code": "MN",
                    "country_code": "US"
                },
                "transaction_category": "pos_purchase"
            },
            {
                "transaction_date": "2017-08-07",
                "amount": 6.44,
                "description": "POS DOLLAR TR 8030 BROOKLY 84072001 BROOKLYN PARMN",
                "transaction_type": "withdrawal",
                "merchant_name": "DOLLAR TR",
                "merchant_location": {
                    "city": "BROOKLYN PARK",
                    "state_province_code": "MN",
                    "country_code": "US"
                },
                "transaction_category": "pos_purchase"
            },
            {
                "transaction_date": "2017-08-07",
                "amount": 5.35,
                "description": "Spotify USA 646-8375380 NY US",
                "transaction_type": "withdrawal",
                "merchant_name": "Spotify USA",
                "merchant_location": {
                    "city": null,
                    "state_province_code": "NY",
                    "country_code": "US"
                },
                "transaction_category": "online_purchase"
            },
            {
                "transaction_date": "2017-08-07",
                "amount": 19,
                "description": "AUTOMATED WITHDRAWA PAYPAL INST XFER",
                "transaction_type": "withdrawal",
                "merchant_name": "PAYPAL",
                "merchant_location": {
                    "city": null,
                    "state_province_code": null,
                    "country_code": null
                },
                "transaction_category": "automated_withdrawal"
            },
            {
                "transaction_date": "2017-08-08",
                "amount": 75,
                "description": "POS PARK SALON LLC 00004095 BROOKLYN PARMN",
                "transaction_type": "withdrawal",
                "merchant_name": "PARK SALON LLC",
                "merchant_location": {
                    "city": "BROOKLYN PARK",
                    "state_province_code": "MN",
                    "country_code": "US"
                },
                "transaction_category": "pos_purchase"
            },
            {
                "transaction_date": "2017-08-09",
                "amount": 49.98,
                "description": "PEARLE VISION MAPLE GROVE MN US",
                "transaction_type": "withdrawal",
                "merchant_name": "PEARLE VISION",
                "merchant_location": {
                    "city": "MAPLE GROVE",
                    "state_province_code": "MN",
                    "country_code": "US"
                },
                "transaction_category": "pos_purchase"
            },
            {
                "transaction_date": "2017-08-09",
                "amount": 21.61,
                "description": "POS HY VEE 1040 BH2ASAEH BROOKLYN PARMN",
                "transaction_type": "withdrawal",
                "merchant_name": "HY VEE",
                "merchant_location": {
                    "city": "BROOKLYN PARK",
                    "state_province_code": "MN",
                    "country_code": "US"
                },
                "transaction_category": "pos_purchase"
            },
            {
                "transaction_date": "2017-08-10",
                "amount": 4.25,
                "description": "POS SEVEN MILE FASHION II 39650009 MINNEAPOLIS MN",
                "transaction_type": "withdrawal",
                "merchant_name": "SEVEN MILE FASHION II",
                "merchant_location": {
                    "city": "MINNEAPOLIS",
                    "state_province_code": "MN",
                    "country_code": "US"
                },
                "transaction_category": "pos_purchase"
            },
            {
                "transaction_date": "2017-08-11",
                "amount": 120,
                "description": "WITHDRAWAL",
                "transaction_type": "withdrawal",
                "merchant_name": null,
                "merchant_location": {
                    "city": null,
                    "state_province_code": null,
                    "country_code": null
                },
                "transaction_category": "automated_withdrawal"
            },
            {
                "transaction_date": "2017-08-11",
                "amount": 50,
                "description": "WEB TRANSFER WITHDRAWAL",
                "transaction_type": "withdrawal",
                "merchant_name": null,
                "merchant_location": {
                    "city": null,
                    "state_province_code": null,
                    "country_code": null
                },
                "transaction_category": "web_transfer"
            },
            {
                "transaction_date": "2017-08-11",
                "amount": 59.95,
                "description": "POS AMERICAN EAGLE 08219037 MAPLE GROVE MN",
                "transaction_type": "withdrawal",
                "merchant_name": "AMERICAN EAGLE",
                "merchant_location": {
                    "city": "MAPLE GROVE",
                    "state_province_code": "MN",
                    "country_code": "US"
                },
                "transaction_category": "pos_purchase"
            },
            {
                "transaction_date": "2017-08-11",
                "amount": 4.26,
                "description": "POS WALGREENS STORE 13611 GR 99999999 MAPLE GROVE MN",
                "transaction_type": "withdrawal",
                "merchant_name": "WALGREENS STORE",
                "merchant_location": {
                    "city": "MAPLE GROVE",
                    "state_province_code": "MN",
                    "country_code": "US"
                },
                "transaction_category": "pos_purchase"
            }
        ],
        "total_transactions_count": 24,
        "total_withdrawals_amount": 682.13,
        "total_deposits_amount": 1029.04,
        "net_transaction_amount": 346.91
    }
    PayslipTemplate → JSON

    Explore the payslip source document and its supplied JSON extraction result.

    Template fields document metadata · customer had vacation? · customer had overtime hours? · company information · processing period · employee information · pay items · summary calculations

    SOURCE DOCUMENT
    Source document for the Payslip example
    Open the source document at full size.
    {
        "document_metadata": {
            "document_type": "Pay Slip",
            "document_language": "en",
            "document_date": "2024-04-12"
        },
        "customer had vacation?": true,
        "customer had overtime hours?": true,
        "company_information": {
            "company_name": "NORTHBRIDGE STAFFING",
            "company_address": {
                "city": "New York",
                "country_iso_code": "US"
            }
        },
        "processing_period": {
            "start_date": "2024-04-01",
            "end_date": "2024-04-12"
        },
        "employee_information": {
            "employee_name": "MR. MATHIEW SANDRO",
            "employee_professional_category": "Logistics Agent",
            "employee_cost_center": null,
            "employee_identification_numbers": {
                "employee_id": 20491,
                "employee_code": null
            },
            "base_remuneration": 30
        },
        "pay_items": [
            {
                "item_description": "Regular Pay",
                "period": "2024-04-12",
                "hours_days": 77,
                "rate_per_unit": 30,
                "allowances": 2310,
                "deductions": null
            },
            {
                "item_description": "Overtime Pay",
                "period": "2024-04-12",
                "hours_days": 12.25,
                "rate_per_unit": 45,
                "allowances": 551.25,
                "deductions": null
            },
            {
                "item_description": "Night Shift Differential",
                "period": "2024-04-12",
                "hours_days": 30,
                "rate_per_unit": 2.5,
                "allowances": 75,
                "deductions": null
            },
            {
                "item_description": "Holiday Pay",
                "period": "2024-04-12",
                "hours_days": 7,
                "rate_per_unit": 30,
                "allowances": 210,
                "deductions": null
            },
            {
                "item_description": "Performance Bonus",
                "period": "2024-04-12",
                "hours_days": null,
                "rate_per_unit": null,
                "allowances": 200,
                "deductions": null
            },
            {
                "item_description": "PTO Payout",
                "period": "2024-04-12",
                "hours_days": null,
                "rate_per_unit": null,
                "allowances": 150,
                "deductions": null
            },
            {
                "item_description": "Federal Income Tax",
                "period": "2024-04-12",
                "hours_days": null,
                "rate_per_unit": null,
                "allowances": null,
                "deductions": 412.3
            },
            {
                "item_description": "Social Security Tax",
                "period": "2024-04-12",
                "hours_days": null,
                "rate_per_unit": null,
                "allowances": null,
                "deductions": 216.37
            },
            {
                "item_description": "Medicare Tax",
                "period": "2024-04-12",
                "hours_days": null,
                "rate_per_unit": null,
                "allowances": null,
                "deductions": 50.61
            },
            {
                "item_description": "Texas State Income Tax",
                "period": "2024-04-12",
                "hours_days": null,
                "rate_per_unit": null,
                "allowances": null,
                "deductions": 124.35
            },
            {
                "item_description": "Health Insurance",
                "period": "2024-04-12",
                "hours_days": null,
                "rate_per_unit": null,
                "allowances": null,
                "deductions": 85
            },
            {
                "item_description": "401(k) Contribution",
                "period": "2024-04-12",
                "hours_days": null,
                "rate_per_unit": null,
                "allowances": null,
                "deductions": 139.85
            },
            {
                "item_description": "Dental Insurance",
                "period": "2024-04-12",
                "hours_days": null,
                "rate_per_unit": null,
                "allowances": null,
                "deductions": 12.5
            },
            {
                "item_description": "Vision Insurance",
                "period": "2024-04-12",
                "hours_days": null,
                "rate_per_unit": null,
                "allowances": null,
                "deductions": 6.2
            },
            {
                "item_description": "HSA Contribution",
                "period": "2024-04-12",
                "hours_days": null,
                "rate_per_unit": null,
                "allowances": null,
                "deductions": 25
            }
        ],
        "summary_calculations": {
            "total_allowances": 3496.25,
            "total_deductions": 1072.18,
            "net_pay": 2424.07
        }
    }

    From a document to your project

    1. Create a project. Set up a workspace for your extraction task.
    2. Define the template. Name the fields and choose their types. The template can include nested objects and lists.
    3. Add examples. Use document and output pairs in the project’s Example Set.
    4. Run in the Playground. Upload a document to see the extraction result.
    5. Connect your application. Find the project ID and integration details in the API tab.

    Learn more: NuExtract user guide.

    Product documentation

    Learn more: NuExtract user guide, NuExtract3 model card, NuExtract3 release.

    YOUR DOCUMENT WORKFLOW

    Bring your documents.
    Choose your output.

    Explore JSON extraction, OCR Markdown and deployment options with the NuExtract team.

    Book a NuExtract demo