Parse Hanging Rows in Invoices

  1. Go to PDF.co Document Parser
  2. Click New Template
  3. Load Source File
  4. Add Object
  5. Set Object Properties
  6. Run Template
  7. Result
  8. Save Template

In this tutorial, we’re going to show you how to parse hanging rows in invoices using PDF.co Document Parser.

We prepared a sample invoice here with a hanging row to be used for this tutorial.

Screenshot of an Invoice with a Hanging Row
Screenshot of an Invoice with a Hanging Row

To start, you need to log in to your PDF.co account.

Step 1 – Go to PDF.co Document Parser

  • On your Dashboard, click the Document Parser menu at the top of the page

Go to PDF.co Document Parser

Step 2 – Click New Template

  • Click the New Template URL to create a New Template

Click New Template

Step 3 – Load Source File

  • Load the Source File that you’re going to use for creating your template

Load Source File

Step 4 – Add Object

  • To get the Line Items, use Add TABLE field based on TEXT SEARCH object

Add table field based on text search object

Step 5 – Set Object Properties

  • Set the properties of your object to
    • {
      "start": {
      "y": 89,
      "pageIndex": 0,
      "expression": null
      },
      "end": {
      "y": 350,
      "pageIndex": 0,
      "expression": null
      },
      "columns": [
      {
      "name": "Description",
      "x": 0
      },
      {
      "name": "Qty",
      "x": 432
      },
      {
      "name": "Amount",
      "x": 510
      }
      ],
      "multipage": true,
      "rowMergingRule": "hangingRows"
      }

Set Object Properties

Step 6 – Run Template

  • Once you’re done setting up the object, you may now run the template

Run template

Step 7 – Result

  • Here’s the output using the template
Screenshot of the Output using the Template
Screenshot of the Output using the Template

Step 8 – Save Template

  • Now that the template is done, you may now save it.

Save template

You’ve learned how to parse hanging rows in invoices using PDF.co Document Parser through this tutorial. Find more tutorials about PDF invoice extraction.

Parse Hanging Rows in Invoices – Video Guide

Similar Pages